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()
Default constructor.
|
| 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.
|
getUripublic 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 DCModuleImpl()
public String getTitle()
public void setTitle(String title)
public List<String> getCreators()
getCreators in interface DCModulepublic void setCreators(List<String> creators)
setCreators in interface DCModulecreators - the list of String representing the DublinCore module creators to set, an
empty list or null if none.public String getCreator()
getCreator in interface DCModulepublic void setCreator(String creator)
setCreator in interface DCModulecreator - the DublinCore module creator to set, null if none.public List<DCSubject> getSubjects()
getSubjects in interface DCModulepublic void setSubjects(List<DCSubject> subjects)
setSubjects in interface DCModulesubjects - 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 DCModulepublic void setSubject(DCSubject subject)
setSubject in interface DCModulesubject - the DublinCore module subject to set, null if none.public List<String> getDescriptions()
getDescriptions in interface DCModulepublic void setDescriptions(List<String> descriptions)
setDescriptions in interface DCModuledescriptions - the list of String representing the DublinCore module descriptions to
set, an empty list or null if none.public String getDescription()
getDescription in interface DCModulepublic void setDescription(String description)
setDescription in interface DCModuledescription - the DublinCore module description to set, null if none.public List<String> getPublishers()
getPublishers in interface DCModulepublic void setPublishers(List<String> publishers)
setPublishers in interface DCModulepublishers - the list of String representing the DublinCore module publishers to set, an
empty list or null if none.public String getPublisher()
getPublisher in interface DCModulepublic void setPublisher(String publisher)
setPublisher in interface DCModulepublisher - the DublinCore module publisher to set, null if none.public List<String> getContributors()
getContributors in interface DCModulepublic void setContributors(List<String> contributors)
setContributors in interface DCModulecontributors - the list of String representing the DublinCore module contributors to
set, an empty list or null if none.public String getContributor()
getContributor in interface DCModulepublic void setContributor(String contributor)
setContributor in interface DCModulecontributor - 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 DCModulepublic void setFormats(List<String> formats)
setFormats in interface DCModuleformats - 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 DCModulepublic void setIdentifiers(List<String> identifiers)
setIdentifiers in interface DCModuleidentifiers - the list of String representing the DublinCore module identifiers to set,
an empty list or null if none.public String getIdentifier()
getIdentifier in interface DCModulepublic void setIdentifier(String identifier)
setIdentifier in interface DCModuleidentifier - the DublinCore module identifier to set, null if none.public List<String> getSources()
getSources in interface DCModulepublic void setSources(List<String> sources)
setSources in interface DCModulesources - 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 DCModulepublic void setLanguages(List<String> languages)
setLanguages in interface DCModulelanguages - the list of String representing the DublinCore module languages to set, an
empty list or null if none.public String getLanguage()
getLanguage in interface DCModulepublic void setLanguage(String language)
setLanguage in interface DCModulelanguage - the DublinCore module language to set, null if none.public List<String> getRelations()
getRelations in interface DCModulepublic void setRelations(List<String> relations)
setRelations in interface DCModulerelations - the list of String representing the DublinCore module relations to set, an
empty list or null if none.public String getRelation()
getRelation in interface DCModulepublic void setRelation(String relation)
setRelation in interface DCModulerelation - the DublinCore module relation to set, null if none.public List<String> getCoverages()
getCoverages in interface DCModulepublic void setCoverages(List<String> coverages)
setCoverages in interface DCModulecoverages - the list of String representing the DublinCore module coverages to set, an
empty list or null if none.public String getCoverage()
getCoverage in interface DCModulepublic void setCoverage(String coverage)
setCoverage in interface DCModulecoverage - the DublinCore module coverage to set, null if none.public List<String> getRightsList()
getRightsList in interface DCModulepublic void setRightsList(List<String> rights)
setRightsList in interface DCModulerights - 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 Moduleclone in class ModuleImplCloneNotSupportedException - thrown if an element of the object cannot be cloned.public final boolean equals(Object other)
equals in class ModuleImplother - he reference object with which to compare.public final int hashCode()
It follows the contract defined by the Object hashCode() method.
hashCode in class ModuleImplpublic final String toString()
toString in class ModuleImplpublic final Class<DCModule> getInterface()
CopyFromThis is useful when dealing with properties that may have multiple implementations. For example, Module.
getInterface in interface CopyFrompublic final void copyFrom(CopyFrom obj)
CopyFromAny 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 © 2015. All Rights Reserved.