Top Description Fields Constructors Methods
com.rometools.rome.feed.module

public Class DCModuleImpl

extends ModuleImpl
implements DCModule
Class Inheritance
All Implemented Interfaces
com.rometools.rome.feed.module.DCModule, com.rometools.rome.feed.module.Module, java.io.Serializable, com.rometools.rome.feed.CopyFrom, java.lang.Cloneable
Imports
java.util.Collections, .Date, .HashMap, .HashSet, .List, .Map, .Set, com.rometools.rome.feed.CopyFrom, com.rometools.rome.feed.impl.CloneableBean, .CopyFromHelper, .EqualsBean, .ToStringBean, com.rometools.utils.Lists

Dublin Core ModuleImpl, default implementation.

See Also
Dublin Core module

Field Summary

Modifier and TypeField and Description
private List<String>
public static final Set<String>
CONVENIENCE_PROPERTIES

Unmodifiable Set containing the convenience properties of this class.

private static final CopyFromHelper
private List<String>
private List<String>
private List<Date>
private List<String>
private List<String>
private List<String>
private static final Set<String>
IGNORE_PROPERTIES

Properties to be ignored when cloning.

private List<String>
private List<String>
private List<String>
private List<String>
private static final long
private List<String>
private List<DCSubject>
private List<String>
private List<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object

Returns:

a clone of the object.
clone
()

Overrides com.rometools.rome.feed.module.ModuleImpl.clone.

Implements com.rometools.rome.feed.module.Module.clone.

Creates a deep 'bean' clone of the object.
public final void
copyFrom(final CopyFrom
the instance to copy properties from.
obj
)

Implements com.rometools.rome.feed.CopyFrom.copyFrom.

Copies all the properties of the given bean into this one.
public final boolean

Returns:

true if 'this' object is equal to the 'other' object.
equals
(final Object
he reference object with which to compare.
other
)

Overrides com.rometools.rome.feed.module.ModuleImpl.equals.

Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
public String

Returns:

the first DublinCore module contributor, null if none.
getContributor
()

Implements com.rometools.rome.feed.module.DCModule.getContributor.

Gets the DublinCore module contributor.
public List<String>

Returns:

a list of Strings representing the DublinCore module contributor, an empty list if none.
getContributors
()

Implements com.rometools.rome.feed.module.DCModule.getContributors.

Returns the DublinCore module contributor.
public String

Returns:

the first DublinCore module coverage, null if none.
getCoverage
()

Implements com.rometools.rome.feed.module.DCModule.getCoverage.

Gets the DublinCore module coverage.
public List<String>

Returns:

a list of Strings representing the DublinCore module coverage, an empty list if none.
getCoverages
()

Implements com.rometools.rome.feed.module.DCModule.getCoverages.

Returns the DublinCore module coverage.
public String

Returns:

the first DublinCore module title, null if none.
getCreator
()

Implements com.rometools.rome.feed.module.DCModule.getCreator.

Gets the DublinCore module title.
public List<String>

Returns:

a list of Strings representing the DublinCore module creator, an empty list if none.
getCreators
()

Implements com.rometools.rome.feed.module.DCModule.getCreators.

Returns the DublinCore module creator.
public Date

Returns:

the first DublinCore module date, null if none.
getDate
()

Implements com.rometools.rome.feed.module.DCModule.getDate.

Gets the DublinCore module date.
public List<Date>

Returns:

a list of Strings representing the DublinCore module date, an empty list if none.
getDates
()

Implements com.rometools.rome.feed.module.DCModule.getDates.

Returns the DublinCore module date.
public String

Returns:

the first DublinCore module description, null if none.
getDescription
()

Implements com.rometools.rome.feed.module.DCModule.getDescription.

Gets the DublinCore module description.
public List<String>

Returns:

a list of Strings representing the DublinCore module description, an empty list if none.
getDescriptions
()

Implements com.rometools.rome.feed.module.DCModule.getDescriptions.

Returns the DublinCore module description.
public String

Returns:

the first DublinCore module format, null if none.
getFormat
()

Implements com.rometools.rome.feed.module.DCModule.getFormat.

Gets the DublinCore module format.
public List<String>

Returns:

a list of Strings representing the DublinCore module format, an empty list if none.
getFormats
()

Implements com.rometools.rome.feed.module.DCModule.getFormats.

Returns the DublinCore module format.
public String

Returns:

the first DublinCore module identifier, null if none.
getIdentifier
()

Implements com.rometools.rome.feed.module.DCModule.getIdentifier.

Gets the DublinCore module identifier.
public List<String>

Returns:

a list of Strings representing the DublinCore module identifier, an empty list if none.
getIdentifiers
()

Implements com.rometools.rome.feed.module.DCModule.getIdentifiers.

Returns the DublinCore module identifier.
public final Class<DCModule>
getInterface()

Implements com.rometools.rome.feed.CopyFrom.getInterface.

Returns the interface the copyFrom works on.
public String

Returns:

the first DublinCore module langauge, null if none.
getLanguage
()

Implements com.rometools.rome.feed.module.DCModule.getLanguage.

Gets the DublinCore module language.
public List<String>

Returns:

a list of Strings representing the DublinCore module language, an empty list if none.
getLanguages
()

Implements com.rometools.rome.feed.module.DCModule.getLanguages.

Returns the DublinCore module language.
public String

Returns:

the first DublinCore module title, null if none.
getPublisher
()

Implements com.rometools.rome.feed.module.DCModule.getPublisher.

Gets the DublinCore module title.
public List<String>

Returns:

a list of Strings representing the DublinCore module publisher, an empty list if none.
getPublishers
()

Implements com.rometools.rome.feed.module.DCModule.getPublishers.

Returns the DublinCore module publisher.
public String

Returns:

the first DublinCore module relation, null if none.
getRelation
()

Implements com.rometools.rome.feed.module.DCModule.getRelation.

Gets the DublinCore module relation.
public List<String>

Returns:

a list of Strings representing the DublinCore module relation, an empty list if none.
getRelations
()

Implements com.rometools.rome.feed.module.DCModule.getRelations.

Returns the DublinCore module relation.
public String

Returns:

the first DublinCore module rights, null if none.
getRights
()

Implements com.rometools.rome.feed.module.DCModule.getRights.

Gets the DublinCore module rights.
public List<String>

Returns:

a list of Strings representing the DublinCore module rights, an empty list if none.
getRightsList
()

Implements com.rometools.rome.feed.module.DCModule.getRightsList.

Returns the DublinCore module rights.
public String

Returns:

the first DublinCore module source, null if none.
getSource
()

Implements com.rometools.rome.feed.module.DCModule.getSource.

Gets the DublinCore module source.
public List<String>

Returns:

a list of Strings representing the DublinCore module source, an empty list if none.
getSources
()

Implements com.rometools.rome.feed.module.DCModule.getSources.

Returns the DublinCore module source.
public DCSubject

Returns:

the first DublinCore module subject, null if none.
getSubject
()

Implements com.rometools.rome.feed.module.DCModule.getSubject.

Gets the DublinCore module subject.
public List<DCSubject>

Returns:

a list of DCSubject elements with the DublinCore module subjects, an empty list if none.
getSubjects
()

Implements com.rometools.rome.feed.module.DCModule.getSubjects.

Returns the DublinCore module subjects.
public String

Returns:

the first DublinCore module title, null if none.
getTitle
()

Implements com.rometools.rome.feed.module.DCModule.getTitle.

Gets the DublinCore module title.
public List<String>

Returns:

a list of Strings representing the DublinCore module title, an empty list if none.
getTitles
()

Implements com.rometools.rome.feed.module.DCModule.getTitles.

Returns the DublinCore module titles.
public String

Returns:

the first DublinCore module type, null if none.
getType
()

Implements com.rometools.rome.feed.module.DCModule.getType.

Gets the DublinCore module type.
public List<String>

Returns:

a list of Strings representing the DublinCore module type, an empty list if none.
getTypes
()

Implements com.rometools.rome.feed.module.DCModule.getTypes.

Returns the DublinCore module type.
public final int

Returns:

the hashcode of the bean object.
hashCode
()

Overrides com.rometools.rome.feed.module.ModuleImpl.hashCode.

Returns a hashcode value for the object.
public void
setContributor(final String
the DublinCore module contributor to set, null if none.
contributor
)

Implements com.rometools.rome.feed.module.DCModule.setContributor.

Sets the DublinCore module contributor.
public void
setContributors(final List<String>
the list of String representing the DublinCore module contributors to set, an empty list or null if none.
contributors
)

Implements com.rometools.rome.feed.module.DCModule.setContributors.

Sets the DublinCore module contributors.
public void
setCoverage(final String
the DublinCore module coverage to set, null if none.
coverage
)

Implements com.rometools.rome.feed.module.DCModule.setCoverage.

Sets the DublinCore module coverage.
public void
setCoverages(final List<String>
the list of String representing the DublinCore module coverages to set, an empty list or null if none.
coverages
)

Implements com.rometools.rome.feed.module.DCModule.setCoverages.

Sets the DublinCore module coverages.
public void
setCreator(final String
the DublinCore module creator to set, null if none.
creator
)

Implements com.rometools.rome.feed.module.DCModule.setCreator.

Sets the DublinCore module creator.
public void
setCreators(final List<String>
the list of String representing the DublinCore module creators to set, an empty list or null if none.
creators
)

Implements com.rometools.rome.feed.module.DCModule.setCreators.

Sets the DublinCore module creators.
public void
setDate(final Date
the DublinCore module date to set, null if none.
date
)

Implements com.rometools.rome.feed.module.DCModule.setDate.

Sets the DublinCore module date.
public void
setDates(final List<Date>
the list of Date representing the DublinCore module dates to set, an empty list or null if none.
dates
)

Implements com.rometools.rome.feed.module.DCModule.setDates.

Sets the DublinCore module dates.
public void
setDescription(final String
the DublinCore module description to set, null if none.
description
)

Implements com.rometools.rome.feed.module.DCModule.setDescription.

Sets the DublinCore module description.
public void
setDescriptions(final List<String>
the list of String representing the DublinCore module descriptions to set, an empty list or null if none.
descriptions
)

Implements com.rometools.rome.feed.module.DCModule.setDescriptions.

Sets the DublinCore module descriptions.
public void
setFormat(final String
the DublinCore module format to set, null if none.
format
)

Implements com.rometools.rome.feed.module.DCModule.setFormat.

Sets the DublinCore module format.
public void
setFormats(final List<String>
the list of String representing the DublinCore module formats to set, an empty list or null if none.
formats
)

Implements com.rometools.rome.feed.module.DCModule.setFormats.

Sets the DublinCore module formats.
public void
setIdentifier(final String
the DublinCore module identifier to set, null if none.
identifier
)

Implements com.rometools.rome.feed.module.DCModule.setIdentifier.

Sets the DublinCore module identifier.
public void
setIdentifiers(final List<String>
the list of String representing the DublinCore module identifiers to set, an empty list or null if none.
identifiers
)

Implements com.rometools.rome.feed.module.DCModule.setIdentifiers.

Sets the DublinCore module identifiers.
public void
setLanguage(final String
the DublinCore module language to set, null if none.
language
)

Implements com.rometools.rome.feed.module.DCModule.setLanguage.

Sets the DublinCore module language.
public void
setLanguages(final List<String>
the list of String representing the DublinCore module languages to set, an empty list or null if none.
languages
)

Implements com.rometools.rome.feed.module.DCModule.setLanguages.

Sets the DublinCore module languages.
public void
setPublisher(final String
the DublinCore module publisher to set, null if none.
publisher
)

Implements com.rometools.rome.feed.module.DCModule.setPublisher.

Sets the DublinCore module publisher.
public void
setPublishers(final List<String>
the list of String representing the DublinCore module publishers to set, an empty list or null if none.
publishers
)

Implements com.rometools.rome.feed.module.DCModule.setPublishers.

Sets the DublinCore module publishers.
public void
setRelation(final String
the DublinCore module relation to set, null if none.
relation
)

Implements com.rometools.rome.feed.module.DCModule.setRelation.

Sets the DublinCore module relation.
public void
setRelations(final List<String>
the list of String representing the DublinCore module relations to set, an empty list or null if none.
relations
)

Implements com.rometools.rome.feed.module.DCModule.setRelations.

Sets the DublinCore module relations.
public void
setRights(final String
the DublinCore module rights to set, null if none.
rights
)

Implements com.rometools.rome.feed.module.DCModule.setRights.

Sets the DublinCore module rights.
public void
setRightsList(final List<String>
the list of String representing the DublinCore module rights to set, an empty list or null if none.
rights
)

Implements com.rometools.rome.feed.module.DCModule.setRightsList.

Sets the DublinCore module rights.
public void
setSource(final String
the DublinCore module source to set, null if none.
source
)

Implements com.rometools.rome.feed.module.DCModule.setSource.

Sets the DublinCore module source.
public void
setSources(final List<String>
the list of String representing the DublinCore module sources to set, an empty list or null if none.
sources
)

Implements com.rometools.rome.feed.module.DCModule.setSources.

Sets the DublinCore module sources.
public void
setSubject(final DCSubject
the DublinCore module subject to set, null if none.
subject
)

Implements com.rometools.rome.feed.module.DCModule.setSubject.

Sets the DCSubject element.
public void
setSubjects(final List<DCSubject>
the list of DCSubject elements with the DublinCore module subjects to set, an empty list or null if none.
subjects
)

Implements com.rometools.rome.feed.module.DCModule.setSubjects.

Sets the DublinCore module subjects.
public void
setTitle(final String
the DublinCore module title to set, null if none.
title
)

Implements com.rometools.rome.feed.module.DCModule.setTitle.

Sets the DublinCore module title.
public void
setTitles(final List<String>
the list of String representing the DublinCore module titles to set, an empty list or null if none.
titles
)

Implements com.rometools.rome.feed.module.DCModule.setTitles.

Sets the DublinCore module titles.
public void
setType(final String
the DublinCore module type to set, null if none.
type
)

Implements com.rometools.rome.feed.module.DCModule.setType.

Sets the DublinCore module type.
public void
setTypes(final List<String>
the list of String representing the DublinCore module types to set, an empty list or null if none.
types
)

Implements com.rometools.rome.feed.module.DCModule.setTypes.

Sets the DublinCore module types.
public final String

Returns:

String representation for the object.
toString
()

Overrides com.rometools.rome.feed.module.ModuleImpl.toString.

Returns the String representation for the object.
Inherited from com.rometools.rome.feed.module.ModuleImpl:
getUri