|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.ModuleImpl
com.sun.syndication.feed.module.DCModuleImpl
public class DCModuleImpl
Dublin Core ModuleImpl, default implementation.
Field Summary | |
---|---|
static Set |
CONVENIENCE_PROPERTIES
Unmodifiable Set containing the convenience properties of this class. |
Fields inherited from interface com.sun.syndication.feed.module.DCModule |
---|
URI |
Constructor Summary | |
---|---|
DCModuleImpl()
Default constructor. |
Method Summary | |
---|---|
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 |
getContributors()
Returns the DublinCore module contributor. |
String |
getCoverage()
Gets the DublinCore module coverage. |
List |
getCoverages()
Returns the DublinCore module coverage. |
String |
getCreator()
Gets the DublinCore module title. |
List |
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 |
getDescriptions()
Returns the DublinCore module description. |
String |
getFormat()
Gets the DublinCore module format. |
List |
getFormats()
Returns the DublinCore module format. |
String |
getIdentifier()
Gets the DublinCore module identifier. |
List |
getIdentifiers()
Returns the DublinCore module identifier. |
Class<? extends CopyFrom> |
getInterface()
Returns the interface the copyFrom works on. |
String |
getLanguage()
Gets the DublinCore module language. |
List |
getLanguages()
Returns the DublinCore module language. |
String |
getPublisher()
Gets the DublinCore module title. |
List |
getPublishers()
Returns the DublinCore module publisher. |
String |
getRelation()
Gets the DublinCore module relation. |
List |
getRelations()
Returns the DublinCore module relation. |
String |
getRights()
Gets the DublinCore module rights. |
List |
getRightsList()
Returns the DublinCore module rights. |
String |
getSource()
Gets the DublinCore module source. |
List |
getSources()
Returns the DublinCore module source. |
DCSubject |
getSubject()
Gets the DublinCore module subject. |
List |
getSubjects()
Returns the DublinCore module subjects. |
String |
getTitle()
Gets the DublinCore module title. |
List |
getTitles()
Returns the DublinCore module titles. |
String |
getType()
Gets the DublinCore module type. |
List |
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 contributors)
Sets the DublinCore module contributors. |
void |
setCoverage(String coverage)
Sets the DublinCore module coverage. |
void |
setCoverages(List coverages)
Sets the DublinCore module coverages. |
void |
setCreator(String creator)
Sets the DublinCore module creator. |
void |
setCreators(List 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 descriptions)
Sets the DublinCore module descriptions. |
void |
setFormat(String format)
Sets the DublinCore module format. |
void |
setFormats(List formats)
Sets the DublinCore module formats. |
void |
setIdentifier(String identifier)
Sets the DublinCore module identifier. |
void |
setIdentifiers(List identifiers)
Sets the DublinCore module identifiers. |
void |
setLanguage(String language)
Sets the DublinCore module language. |
void |
setLanguages(List languages)
Sets the DublinCore module languages. |
void |
setPublisher(String publisher)
Sets the DublinCore module publisher. |
void |
setPublishers(List publishers)
Sets the DublinCore module publishers. |
void |
setRelation(String relation)
Sets the DublinCore module relation. |
void |
setRelations(List relations)
Sets the DublinCore module relations. |
void |
setRights(String rights)
Sets the DublinCore module rights. |
void |
setRightsList(List rights)
Sets the DublinCore module rights. |
void |
setSource(String source)
Sets the DublinCore module source. |
void |
setSources(List sources)
Sets the DublinCore module sources. |
void |
setSubject(DCSubject subject)
Sets the DCSubject element. |
void |
setSubjects(List subjects)
Sets the DublinCore module subjects. |
void |
setTitle(String title)
Sets the DublinCore module title. |
void |
setTitles(List titles)
Sets the DublinCore module titles. |
void |
setType(String type)
Sets the DublinCore module type. |
void |
setTypes(List types)
Sets the DublinCore module types. |
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 |
---|
public static final Set 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.
Constructor Detail |
---|
public DCModuleImpl()
Method Detail |
---|
public List getTitles()
getTitles
in interface DCModule
public void setTitles(List titles)
setTitles
in interface DCModule
titles
- the list of String representing the DublinCore module
titles to set, an empty list or null if none.public String getTitle()
getTitle
in interface DCModule
public void setTitle(String title)
setTitle
in interface DCModule
title
- the DublinCore module title to set, null if none.public List getCreators()
getCreators
in interface DCModule
public void setCreators(List 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 getSubjects()
getSubjects
in interface DCModule
public void setSubjects(List 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 getDescriptions()
getDescriptions
in interface DCModule
public void setDescriptions(List 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 getPublishers()
getPublishers
in interface DCModule
public void setPublishers(List 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 getContributors()
getContributors
in interface DCModule
public void setContributors(List 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 List<Date> getDates()
getDates
in interface DCModule
public void setDates(List<Date> dates)
setDates
in interface DCModule
dates
- the list of Date representing the DublinCore module dates
to set, an empty list or null if none.public Date getDate()
getDate
in interface DCModule
public void setDate(Date date)
setDate
in interface DCModule
date
- the DublinCore module date to set, null if none.public List getTypes()
getTypes
in interface DCModule
public void setTypes(List types)
setTypes
in interface DCModule
types
- the list of String representing the DublinCore module types
to set, an empty list or null if none.public String getType()
getType
in interface DCModule
public void setType(String type)
setType
in interface DCModule
type
- the DublinCore module type to set, null if none.public List getFormats()
getFormats
in interface DCModule
public void setFormats(List 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()
getFormat
in interface DCModule
public void setFormat(String format)
setFormat
in interface DCModule
format
- the DublinCore module format to set, null if none.public List getIdentifiers()
getIdentifiers
in interface DCModule
public void setIdentifiers(List 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 getSources()
getSources
in interface DCModule
public void setSources(List 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()
getSource
in interface DCModule
public void setSource(String source)
setSource
in interface DCModule
source
- the DublinCore module source to set, null if none.public List getLanguages()
getLanguages
in interface DCModule
public void setLanguages(List 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 getRelations()
getRelations
in interface DCModule
public void setRelations(List 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 getCoverages()
getCoverages
in interface DCModule
public void setCoverages(List 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 getRightsList()
getRightsList
in interface DCModule
public void setRightsList(List 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()
getRights
in interface DCModule
public void setRights(String rights)
setRights
in interface DCModule
rights
- the DublinCore module rights to set, null if none.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<? extends CopyFrom> 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.
copyFrom
in interface CopyFrom
obj
- the instance to copy properties from.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |