|
|||||||||
Home >> All >> com >> sun >> syndication >> feed >> [ module overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
com.sun.syndication.feed.module
Class DCModuleImpl

java.lang.Objectcom.sun.syndication.feed.module.ModuleImpl
com.sun.syndication.feed.module.DCModuleImpl
- All Implemented Interfaces:
- java.lang.Cloneable, com.sun.syndication.feed.CopyFrom, DCModule, Module, java.io.Serializable
- public class DCModuleImpl
- extends ModuleImpl
- implements DCModule
- extends ModuleImpl
Dublin Core ModuleImpl, default implementation.
Field Summary | |
private java.util.List |
_contributors
|
private java.util.List |
_coverage
|
private java.util.List |
_creator
|
private java.util.List |
_date
|
private java.util.List |
_description
|
private java.util.List |
_format
|
private java.util.List |
_identifier
|
private java.util.List |
_language
|
private com.sun.syndication.feed.impl.ObjectBean |
_objBean
|
private java.util.List |
_publisher
|
private java.util.List |
_relation
|
private java.util.List |
_rights
|
private java.util.List |
_source
|
private java.util.List |
_subject
|
private java.util.List |
_title
|
private java.util.List |
_type
|
static java.util.Set |
CONVENIENCE_PROPERTIES
Unmodifiable Set containing the convenience properties of this class. |
private static com.sun.syndication.feed.impl.CopyFromHelper |
COPY_FROM_HELPER
|
private static java.util.Set |
IGNORE_PROPERTIES
Properties to be ignored when cloning. |
Fields inherited from class com.sun.syndication.feed.module.ModuleImpl |
|
Fields inherited from interface com.sun.syndication.feed.module.DCModule |
URI |
Constructor Summary | |
DCModuleImpl()
Default constructor. |
Method Summary | |
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object. |
void |
copyFrom(java.lang.Object obj)
Copies all the properties of the given bean into this one. |
boolean |
equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method. |
java.lang.String |
getContributor()
Gets the DublinCore module contributor. |
java.util.List |
getContributors()
Returns the DublinCore module contributor. |
java.lang.String |
getCoverage()
Gets the DublinCore module coverage. |
java.util.List |
getCoverages()
Returns the DublinCore module coverage. |
java.lang.String |
getCreator()
Gets the DublinCore module title. |
java.util.List |
getCreators()
Returns the DublinCore module creator. |
java.util.Date |
getDate()
Gets the DublinCore module date. |
java.util.List |
getDates()
Returns the DublinCore module date. |
java.lang.String |
getDescription()
Gets the DublinCore module description. |
java.util.List |
getDescriptions()
Returns the DublinCore module description. |
java.lang.String |
getFormat()
Gets the DublinCore module format. |
java.util.List |
getFormats()
Returns the DublinCore module format. |
java.lang.String |
getIdentifier()
Gets the DublinCore module identifier. |
java.util.List |
getIdentifiers()
Returns the DublinCore module identifier. |
java.lang.Class |
getInterface()
Returns the interface the copyFrom works on. |
java.lang.String |
getLanguage()
Gets the DublinCore module language. |
java.util.List |
getLanguages()
Returns the DublinCore module language. |
java.lang.String |
getPublisher()
Gets the DublinCore module title. |
java.util.List |
getPublishers()
Returns the DublinCore module publisher. |
java.lang.String |
getRelation()
Gets the DublinCore module relation. |
java.util.List |
getRelations()
Returns the DublinCore module relation. |
java.lang.String |
getRights()
Gets the DublinCore module rights. |
java.util.List |
getRightsList()
Returns the DublinCore module rights. |
java.lang.String |
getSource()
Gets the DublinCore module source. |
java.util.List |
getSources()
Returns the DublinCore module source. |
DCSubject |
getSubject()
Gets the DublinCore module subject. |
java.util.List |
getSubjects()
Returns the DublinCore module subjects. |
java.lang.String |
getTitle()
Gets the DublinCore module title. |
java.util.List |
getTitles()
Returns the DublinCore module titles. |
java.lang.String |
getType()
Gets the DublinCore module type. |
java.util.List |
getTypes()
Returns the DublinCore module type. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setContributor(java.lang.String contributor)
Sets the DublinCore module contributor. |
void |
setContributors(java.util.List contributors)
Sets the DublinCore module contributors. |
void |
setCoverage(java.lang.String coverage)
Sets the DublinCore module coverage. |
void |
setCoverages(java.util.List coverages)
Sets the DublinCore module coverages. |
void |
setCreator(java.lang.String creator)
Sets the DublinCore module creator. |
void |
setCreators(java.util.List creators)
Sets the DublinCore module creators. |
void |
setDate(java.util.Date date)
Sets the DublinCore module date. |
void |
setDates(java.util.List dates)
Sets the DublinCore module dates. |
void |
setDescription(java.lang.String description)
Sets the DublinCore module description. |
void |
setDescriptions(java.util.List descriptions)
Sets the DublinCore module descriptions. |
void |
setFormat(java.lang.String format)
Sets the DublinCore module format. |
void |
setFormats(java.util.List formats)
Sets the DublinCore module formats. |
void |
setIdentifier(java.lang.String identifier)
Sets the DublinCore module identifier. |
void |
setIdentifiers(java.util.List identifiers)
Sets the DublinCore module identifiers. |
void |
setLanguage(java.lang.String language)
Sets the DublinCore module language. |
void |
setLanguages(java.util.List languages)
Sets the DublinCore module languages. |
void |
setPublisher(java.lang.String publisher)
Sets the DublinCore module publisher. |
void |
setPublishers(java.util.List publishers)
Sets the DublinCore module publishers. |
void |
setRelation(java.lang.String relation)
Sets the DublinCore module relation. |
void |
setRelations(java.util.List relations)
Sets the DublinCore module relations. |
void |
setRights(java.lang.String rights)
Sets the DublinCore module rights. |
void |
setRightsList(java.util.List rights)
Sets the DublinCore module rights. |
void |
setSource(java.lang.String source)
Sets the DublinCore module source. |
void |
setSources(java.util.List sources)
Sets the DublinCore module sources. |
void |
setSubject(DCSubject subject)
Sets the DCSubject element. |
void |
setSubjects(java.util.List subjects)
Sets the DublinCore module subjects. |
void |
setTitle(java.lang.String title)
Sets the DublinCore module title. |
void |
setTitles(java.util.List titles)
Sets the DublinCore module titles. |
void |
setType(java.lang.String type)
Sets the DublinCore module type. |
void |
setTypes(java.util.List types)
Sets the DublinCore module types. |
java.lang.String |
toString()
Returns the String representation for the object. |
Methods inherited from class com.sun.syndication.feed.module.ModuleImpl |
getUri |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.syndication.feed.module.Module |
getUri |
Field Detail |
_objBean
private com.sun.syndication.feed.impl.ObjectBean _objBean
_title
private java.util.List _title
_creator
private java.util.List _creator
_subject
private java.util.List _subject
_description
private java.util.List _description
_publisher
private java.util.List _publisher
_contributors
private java.util.List _contributors
_date
private java.util.List _date
_type
private java.util.List _type
_format
private java.util.List _format
_identifier
private java.util.List _identifier
_source
private java.util.List _source
_language
private java.util.List _language
_relation
private java.util.List _relation
_coverage
private java.util.List _coverage
_rights
private java.util.List _rights
IGNORE_PROPERTIES
private static final java.util.Set IGNORE_PROPERTIES
- Properties to be ignored when cloning.
CONVENIENCE_PROPERTIES
public static final java.util.Set CONVENIENCE_PROPERTIES
- Unmodifiable Set containing the convenience properties of this class.
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.
COPY_FROM_HELPER
private static final com.sun.syndication.feed.impl.CopyFromHelper COPY_FROM_HELPER
Constructor Detail |
DCModuleImpl
public DCModuleImpl()
- Default constructor. All properties are set to null.
Method Detail |
getTitles
public java.util.List getTitles()
setTitles
public void setTitles(java.util.List titles)
getTitle
public java.lang.String getTitle()
- Gets the DublinCore module title. Convenience method that can be used to
obtain the first item, null if none.
setTitle
public void setTitle(java.lang.String title)
- Sets the DublinCore module title. Convenience method that can be used
when there is only one title to set.
getCreators
public java.util.List getCreators()
- Returns the DublinCore module creator.
- Specified by:
getCreators
in interfaceDCModule
setCreators
public void setCreators(java.util.List creators)
- Sets the DublinCore module creators.
- Specified by:
setCreators
in interfaceDCModule
getCreator
public java.lang.String getCreator()
- Gets the DublinCore module title. Convenience method that can be used
to obtain the first item, null if none.
- Specified by:
getCreator
in interfaceDCModule
setCreator
public void setCreator(java.lang.String creator)
- Sets the DublinCore module creator. Convenience method that can be used
when there is only one creator to set.
- Specified by:
setCreator
in interfaceDCModule
getSubjects
public java.util.List getSubjects()
- Returns the DublinCore module subjects.
- Specified by:
getSubjects
in interfaceDCModule
setSubjects
public void setSubjects(java.util.List subjects)
- Sets the DublinCore module subjects.
- Specified by:
setSubjects
in interfaceDCModule
getSubject
public DCSubject getSubject()
- Gets the DublinCore module subject. Convenience method that can be used
to obtain the first item, null if none.
- Specified by:
getSubject
in interfaceDCModule
setSubject
public void setSubject(DCSubject subject)
- Sets the DCSubject element. Convenience method that can be used when
there is only one subject to set.
- Specified by:
setSubject
in interfaceDCModule
getDescriptions
public java.util.List getDescriptions()
- Returns the DublinCore module description.
- Specified by:
getDescriptions
in interfaceDCModule
setDescriptions
public void setDescriptions(java.util.List descriptions)
- Sets the DublinCore module descriptions.
- Specified by:
setDescriptions
in interfaceDCModule
getDescription
public java.lang.String getDescription()
- Gets the DublinCore module description. Convenience method that can be
used to obtain the first item, null if none.
- Specified by:
getDescription
in interfaceDCModule
setDescription
public void setDescription(java.lang.String description)
- Sets the DublinCore module description. Convenience method that can be
used when there is only one description to set.
- Specified by:
setDescription
in interfaceDCModule
getPublishers
public java.util.List getPublishers()
- Returns the DublinCore module publisher.
- Specified by:
getPublishers
in interfaceDCModule
setPublishers
public void setPublishers(java.util.List publishers)
- Sets the DublinCore module publishers.
- Specified by:
setPublishers
in interfaceDCModule
getPublisher
public java.lang.String getPublisher()
- Gets the DublinCore module title. Convenience method that can be used to
obtain the first item, null if none.
- Specified by:
getPublisher
in interfaceDCModule
setPublisher
public void setPublisher(java.lang.String publisher)
- Sets the DublinCore module publisher. Convenience method that can be
used when there is only one publisher to set.
- Specified by:
setPublisher
in interfaceDCModule
getContributors
public java.util.List getContributors()
- Returns the DublinCore module contributor.
- Specified by:
getContributors
in interfaceDCModule
setContributors
public void setContributors(java.util.List contributors)
- Sets the DublinCore module contributors.
- Specified by:
setContributors
in interfaceDCModule
getContributor
public java.lang.String getContributor()
- Gets the DublinCore module contributor. Convenience method that can be
used to obtain the first item, null if none.
- Specified by:
getContributor
in interfaceDCModule
setContributor
public void setContributor(java.lang.String contributor)
- Sets the DublinCore module contributor. Convenience method that can be
used when there is only one contributor to set.
- Specified by:
setContributor
in interfaceDCModule
getDates
public java.util.List getDates()
setDates
public void setDates(java.util.List dates)
getDate
public java.util.Date getDate()
- Gets the DublinCore module date. Convenience method that can be used to
obtain the first item, null if none.
setDate
public void setDate(java.util.Date date)
- Sets the DublinCore module date. Convenience method that can be used
when there is only one date to set.
getTypes
public java.util.List getTypes()
setTypes
public void setTypes(java.util.List types)
getType
public java.lang.String getType()
- Gets the DublinCore module type. Convenience method that can be used to
obtain the first item, null if none.
setType
public void setType(java.lang.String type)
- Sets the DublinCore module type. Convenience method that can be used
when there is only one type to set.
getFormats
public java.util.List getFormats()
- Returns the DublinCore module format.
- Specified by:
getFormats
in interfaceDCModule
setFormats
public void setFormats(java.util.List formats)
- Sets the DublinCore module formats.
- Specified by:
setFormats
in interfaceDCModule
getFormat
public java.lang.String getFormat()
- Gets the DublinCore module format. Convenience method that can be used
to obtain the first item, null if none.
setFormat
public void setFormat(java.lang.String format)
- Sets the DublinCore module format. Convenience method that can be used
when there is only one format to set.
getIdentifiers
public java.util.List getIdentifiers()
- Returns the DublinCore module identifier.
- Specified by:
getIdentifiers
in interfaceDCModule
setIdentifiers
public void setIdentifiers(java.util.List identifiers)
- Sets the DublinCore module identifiers.
- Specified by:
setIdentifiers
in interfaceDCModule
getIdentifier
public java.lang.String getIdentifier()
- Gets the DublinCore module identifier. Convenience method that can be
used to obtain the first item, null if none.
- Specified by:
getIdentifier
in interfaceDCModule
setIdentifier
public void setIdentifier(java.lang.String identifier)
- Sets the DublinCore module identifier. Convenience method that can be
used when there is only one identifier to set.
- Specified by:
setIdentifier
in interfaceDCModule
getSources
public java.util.List getSources()
- Returns the DublinCore module source.
- Specified by:
getSources
in interfaceDCModule
setSources
public void setSources(java.util.List sources)
- Sets the DublinCore module sources.
- Specified by:
setSources
in interfaceDCModule
getSource
public java.lang.String getSource()
- Gets the DublinCore module source. Convenience method that can be used
to obtain the first item, null if none.
setSource
public void setSource(java.lang.String source)
- Sets the DublinCore module source. Convenience method that can be used
when there is only one source to set.
getLanguages
public java.util.List getLanguages()
- Returns the DublinCore module language.
- Specified by:
getLanguages
in interfaceDCModule
setLanguages
public void setLanguages(java.util.List languages)
- Sets the DublinCore module languages.
- Specified by:
setLanguages
in interfaceDCModule
getLanguage
public java.lang.String getLanguage()
- Gets the DublinCore module language. Convenience method that can be
used to obtain the first item, null if none.
- Specified by:
getLanguage
in interfaceDCModule
setLanguage
public void setLanguage(java.lang.String language)
- Sets the DublinCore module language. Convenience method that can be used
when there is only one language to set.
- Specified by:
setLanguage
in interfaceDCModule
getRelations
public java.util.List getRelations()
- Returns the DublinCore module relation.
- Specified by:
getRelations
in interfaceDCModule
setRelations
public void setRelations(java.util.List relations)
- Sets the DublinCore module relations.
- Specified by:
setRelations
in interfaceDCModule
getRelation
public java.lang.String getRelation()
- Gets the DublinCore module relation. Convenience method that can be used
to obtain the first item, null if none.
- Specified by:
getRelation
in interfaceDCModule
setRelation
public void setRelation(java.lang.String relation)
- Sets the DublinCore module relation. Convenience method that can be used
when there is only one relation to set.
- Specified by:
setRelation
in interfaceDCModule
getCoverages
public java.util.List getCoverages()
- Returns the DublinCore module coverage.
- Specified by:
getCoverages
in interfaceDCModule
setCoverages
public void setCoverages(java.util.List coverages)
- Sets the DublinCore module coverages.
- Specified by:
setCoverages
in interfaceDCModule
getCoverage
public java.lang.String getCoverage()
- Gets the DublinCore module coverage. Convenience method that can be used
to obtain the first item, null if none.
- Specified by:
getCoverage
in interfaceDCModule
setCoverage
public void setCoverage(java.lang.String coverage)
- Sets the DublinCore module coverage. Convenience method that can be used
when there is only one coverage to set.
- Specified by:
setCoverage
in interfaceDCModule
getRightsList
public java.util.List getRightsList()
- Returns the DublinCore module rights.
- Specified by:
getRightsList
in interfaceDCModule
setRightsList
public void setRightsList(java.util.List rights)
- Sets the DublinCore module rights.
- Specified by:
setRightsList
in interfaceDCModule
getRights
public java.lang.String getRights()
- Gets the DublinCore module rights. Convenience method that can be used
to obtain the first item, null if none.
setRights
public void setRights(java.lang.String rights)
- Sets the DublinCore module rights. Convenience method that can be used
when there is only one rights to set.
clone
public final java.lang.Object clone() throws java.lang.CloneNotSupportedException
- Creates a deep 'bean' clone of the object.
- Specified by:
clone
in interfaceModule
- Overrides:
clone
in classModuleImpl
equals
public final boolean equals(java.lang.Object other)
- Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
- Overrides:
equals
in classModuleImpl
hashCode
public final int hashCode()
- Returns a hashcode value for the object.
It follows the contract defined by the Object hashCode() method.
- Overrides:
hashCode
in classModuleImpl
toString
public final java.lang.String toString()
- Returns the String representation for the object.
- Overrides:
toString
in classModuleImpl
getInterface
public final java.lang.Class getInterface()
- Description copied from interface:
com.sun.syndication.feed.CopyFrom
- Returns the interface the copyFrom works on.
This is useful when dealing with properties that may have multiple implementations. For example, Module.
- Specified by:
getInterface
in interfacecom.sun.syndication.feed.CopyFrom
copyFrom
public final void copyFrom(java.lang.Object obj)
- Description copied from interface:
com.sun.syndication.feed.CopyFrom
- Copies all the properties of the given bean into this one.
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.
- Specified by:
copyFrom
in interfacecom.sun.syndication.feed.CopyFrom
|
|||||||||
Home >> All >> com >> sun >> syndication >> feed >> [ module overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |