public class DCModuleImpl extends ModuleImpl implements DCModule
Modifier and Type | Field and Description |
---|---|
static Set<String> |
CONVENIENCE_PROPERTIES
Unmodifiable Set containing the convenience properties of this class.
|
Constructor and Description |
---|
DCModuleImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a deep 'bean' clone of the object.
|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals()
method.
|
String |
getContributor()
Gets the DublinCore module contributor.
|
List<String> |
getContributors()
Returns the DublinCore module contributor.
|
String |
getCoverage()
Gets the DublinCore module coverage.
|
List<String> |
getCoverages()
Returns the DublinCore module coverage.
|
String |
getCreator()
Gets the DublinCore module title.
|
List<String> |
getCreators()
Returns the DublinCore module creator.
|
Date |
getDate()
Gets the DublinCore module date.
|
List<Date> |
getDates()
Returns the DublinCore module date.
|
String |
getDescription()
Gets the DublinCore module description.
|
List<String> |
getDescriptions()
Returns the DublinCore module description.
|
String |
getFormat()
Gets the DublinCore module format.
|
List<String> |
getFormats()
Returns the DublinCore module format.
|
String |
getIdentifier()
Gets the DublinCore module identifier.
|
List<String> |
getIdentifiers()
Returns the DublinCore module identifier.
|
Class<DCModule> |
getInterface()
Returns the interface the copyFrom works on.
|
String |
getLanguage()
Gets the DublinCore module language.
|
List<String> |
getLanguages()
Returns the DublinCore module language.
|
String |
getPublisher()
Gets the DublinCore module title.
|
List<String> |
getPublishers()
Returns the DublinCore module publisher.
|
String |
getRelation()
Gets the DublinCore module relation.
|
List<String> |
getRelations()
Returns the DublinCore module relation.
|
String |
getRights()
Gets the DublinCore module rights.
|
List<String> |
getRightsList()
Returns the DublinCore module rights.
|
String |
getSource()
Gets the DublinCore module source.
|
List<String> |
getSources()
Returns the DublinCore module source.
|
DCSubject |
getSubject()
Gets the DublinCore module subject.
|
List<DCSubject> |
getSubjects()
Returns the DublinCore module subjects.
|
String |
getTitle()
Gets the DublinCore module title.
|
List<String> |
getTitles()
Returns the DublinCore module titles.
|
String |
getType()
Gets the DublinCore module type.
|
List<String> |
getTypes()
Returns the DublinCore module type.
|
int |
hashCode()
Returns a hashcode value for the object.
|
void |
setContributor(String contributor)
Sets the DublinCore module contributor.
|
void |
setContributors(List<String> contributors)
Sets the DublinCore module contributors.
|
void |
setCoverage(String coverage)
Sets the DublinCore module coverage.
|
void |
setCoverages(List<String> coverages)
Sets the DublinCore module coverages.
|
void |
setCreator(String creator)
Sets the DublinCore module creator.
|
void |
setCreators(List<String> creators)
Sets the DublinCore module creators.
|
void |
setDate(Date date)
Sets the DublinCore module date.
|
void |
setDates(List<Date> dates)
Sets the DublinCore module dates.
|
void |
setDescription(String description)
Sets the DublinCore module description.
|
void |
setDescriptions(List<String> descriptions)
Sets the DublinCore module descriptions.
|
void |
setFormat(String format)
Sets the DublinCore module format.
|
void |
setFormats(List<String> formats)
Sets the DublinCore module formats.
|
void |
setIdentifier(String identifier)
Sets the DublinCore module identifier.
|
void |
setIdentifiers(List<String> identifiers)
Sets the DublinCore module identifiers.
|
void |
setLanguage(String language)
Sets the DublinCore module language.
|
void |
setLanguages(List<String> languages)
Sets the DublinCore module languages.
|
void |
setPublisher(String publisher)
Sets the DublinCore module publisher.
|
void |
setPublishers(List<String> publishers)
Sets the DublinCore module publishers.
|
void |
setRelation(String relation)
Sets the DublinCore module relation.
|
void |
setRelations(List<String> relations)
Sets the DublinCore module relations.
|
void |
setRights(String rights)
Sets the DublinCore module rights.
|
void |
setRightsList(List<String> rights)
Sets the DublinCore module rights.
|
void |
setSource(String source)
Sets the DublinCore module source.
|
void |
setSources(List<String> sources)
Sets the DublinCore module sources.
|
void |
setSubject(DCSubject subject)
Sets the DCSubject element.
|
void |
setSubjects(List<DCSubject> subjects)
Sets the DublinCore module subjects.
|
void |
setTitle(String title)
Sets the DublinCore module title.
|
void |
setTitles(List<String> titles)
Sets the DublinCore module titles.
|
void |
setType(String type)
Sets the DublinCore module type.
|
void |
setTypes(List<String> types)
Sets the DublinCore module types.
|
String |
toString()
Returns the String representation for the object.
|
getUri
public static final Set<String> CONVENIENCE_PROPERTIES
Convenience properties are mapped to Modules, for cloning the convenience properties can be ignored as the will be copied as part of the module cloning.
public String getTitle()
public void setTitle(String title)
public List<String> getCreators()
getCreators
in interface DCModule
public void setCreators(List<String> creators)
setCreators
in interface DCModule
creators
- the list of String representing the DublinCore module creators to set, an
empty list or null if none.public String getCreator()
getCreator
in interface DCModule
public void setCreator(String creator)
setCreator
in interface DCModule
creator
- the DublinCore module creator to set, null if none.public List<DCSubject> getSubjects()
getSubjects
in interface DCModule
public void setSubjects(List<DCSubject> subjects)
setSubjects
in interface DCModule
subjects
- the list of DCSubject elements with the DublinCore module subjects to set, an
empty list or null if none.public DCSubject getSubject()
getSubject
in interface DCModule
public void setSubject(DCSubject subject)
setSubject
in interface DCModule
subject
- the DublinCore module subject to set, null if none.public List<String> getDescriptions()
getDescriptions
in interface DCModule
public void setDescriptions(List<String> descriptions)
setDescriptions
in interface DCModule
descriptions
- the list of String representing the DublinCore module descriptions to
set, an empty list or null if none.public String getDescription()
getDescription
in interface DCModule
public void setDescription(String description)
setDescription
in interface DCModule
description
- the DublinCore module description to set, null if none.public List<String> getPublishers()
getPublishers
in interface DCModule
public void setPublishers(List<String> publishers)
setPublishers
in interface DCModule
publishers
- the list of String representing the DublinCore module publishers to set, an
empty list or null if none.public String getPublisher()
getPublisher
in interface DCModule
public void setPublisher(String publisher)
setPublisher
in interface DCModule
publisher
- the DublinCore module publisher to set, null if none.public List<String> getContributors()
getContributors
in interface DCModule
public void setContributors(List<String> contributors)
setContributors
in interface DCModule
contributors
- the list of String representing the DublinCore module contributors to
set, an empty list or null if none.public String getContributor()
getContributor
in interface DCModule
public void setContributor(String contributor)
setContributor
in interface DCModule
contributor
- the DublinCore module contributor to set, null if none.public Date getDate()
public void setDate(Date date)
public String getType()
public void setType(String type)
public List<String> getFormats()
getFormats
in interface DCModule
public void setFormats(List<String> formats)
setFormats
in interface DCModule
formats
- the list of String representing the DublinCore module formats to set, an empty
list or null if none.public String getFormat()
public void setFormat(String format)
public List<String> getIdentifiers()
getIdentifiers
in interface DCModule
public void setIdentifiers(List<String> identifiers)
setIdentifiers
in interface DCModule
identifiers
- the list of String representing the DublinCore module identifiers to set,
an empty list or null if none.public String getIdentifier()
getIdentifier
in interface DCModule
public void setIdentifier(String identifier)
setIdentifier
in interface DCModule
identifier
- the DublinCore module identifier to set, null if none.public List<String> getSources()
getSources
in interface DCModule
public void setSources(List<String> sources)
setSources
in interface DCModule
sources
- the list of String representing the DublinCore module sources to set, an empty
list or null if none.public String getSource()
public void setSource(String source)
public List<String> getLanguages()
getLanguages
in interface DCModule
public void setLanguages(List<String> languages)
setLanguages
in interface DCModule
languages
- the list of String representing the DublinCore module languages to set, an
empty list or null if none.public String getLanguage()
getLanguage
in interface DCModule
public void setLanguage(String language)
setLanguage
in interface DCModule
language
- the DublinCore module language to set, null if none.public List<String> getRelations()
getRelations
in interface DCModule
public void setRelations(List<String> relations)
setRelations
in interface DCModule
relations
- the list of String representing the DublinCore module relations to set, an
empty list or null if none.public String getRelation()
getRelation
in interface DCModule
public void setRelation(String relation)
setRelation
in interface DCModule
relation
- the DublinCore module relation to set, null if none.public List<String> getCoverages()
getCoverages
in interface DCModule
public void setCoverages(List<String> coverages)
setCoverages
in interface DCModule
coverages
- the list of String representing the DublinCore module coverages to set, an
empty list or null if none.public String getCoverage()
getCoverage
in interface DCModule
public void setCoverage(String coverage)
setCoverage
in interface DCModule
coverage
- the DublinCore module coverage to set, null if none.public List<String> getRightsList()
getRightsList
in interface DCModule
public void setRightsList(List<String> rights)
setRightsList
in interface DCModule
rights
- the list of String representing the DublinCore module rights to set, an empty
list or null if none.public String getRights()
public void setRights(String rights)
public final Object clone() throws CloneNotSupportedException
clone
in interface Module
clone
in class ModuleImpl
CloneNotSupportedException
- thrown if an element of the object cannot be cloned.public final boolean equals(Object other)
equals
in class ModuleImpl
other
- he reference object with which to compare.public final int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode
in class ModuleImpl
public final String toString()
toString
in class ModuleImpl
public final Class<DCModule> getInterface()
CopyFrom
This is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface
in interface CopyFrom
public final void copyFrom(CopyFrom obj)
CopyFrom
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
Copyright © 2018. All rights reserved.