|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultCitation
@ThreadSafe public class DefaultCitation
Standardized resource reference.
Unified identifiers view
The ISO 19115 model provides specific attributes for the ISBN and
ISSN codes. However the Geotk library handles those codes like any
other identifiers. Consequently the ISBN and ISSN codes are included in the collection
returned by getIdentifiers(), except at XML marshalling time (for ISO 19139 compliance).
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultCitation()
Constructs an initially empty citation. |
|
DefaultCitation(CharSequence title)
Constructs a citation with the specified title. |
|
DefaultCitation(Citation source)
Constructs a new citation initialized to the values specified by the given object. |
|
DefaultCitation(ResponsibleParty party)
Constructs a citation with the specified responsible party. |
|
| Method Summary | |
|---|---|
static DefaultCitation |
castOrCopy(Citation object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
Collection<InternationalString> |
getAlternateTitles()
Returns the short name or other language name by which the cited information is known. |
Collection<ResponsibleParty> |
getCitedResponsibleParties()
Returns the name and position information for an individual or organization that is responsible for the resource. |
InternationalString |
getCollectiveTitle()
Returns the common title with holdings note. |
Collection<CitationDate> |
getDates()
Returns the reference date for the cited resource. |
InternationalString |
getEdition()
Returns the version of the cited resource. |
Date |
getEditionDate()
Returns the date of the edition, or null if none. |
Collection<Identifier> |
getIdentifiers()
Returns the unique identifier for the resource. |
String |
getISBN()
Returns the International Standard Book Number, or null if none. |
String |
getISSN()
Returns the International Standard Serial Number, or null if none. |
InternationalString |
getOtherCitationDetails()
Returns other information required to complete the citation that is not recorded elsewhere. |
Collection<PresentationForm> |
getPresentationForms()
Returns the mode in which the resource is represented, or an empty string if none. |
Series |
getSeries()
Returns the information about the series, or aggregate dataset, of which the dataset is a part. |
InternationalString |
getTitle()
Returns the name by which the cited resource is known. |
void |
setAlternateTitles(Collection<? extends InternationalString> newValues)
Sets the short name or other language name by which the cited information is known. |
void |
setCitedResponsibleParties(Collection<? extends ResponsibleParty> newValues)
Sets the name and position information for an individual or organization that is responsible for the resource. |
void |
setCollectiveTitle(InternationalString newValue)
Sets the common title with holdings note. |
void |
setDates(Collection<? extends CitationDate> newValues)
Sets the reference date for the cited resource. |
void |
setEdition(InternationalString newValue)
Sets the version of the cited resource. |
void |
setEditionDate(Date newValue)
Sets the date of the edition, or null if none. |
void |
setIdentifiers(Collection<? extends Identifier> newValues)
Sets the unique identifier for the resource. |
void |
setISBN(String newValue)
Sets the International Standard Book Number, or null if none. |
void |
setISSN(String newValue)
Sets the International Standard Serial Number, or null if none. |
void |
setOtherCitationDetails(InternationalString newValue)
Sets other information required to complete the citation that is not recorded elsewhere. |
void |
setPresentationForms(Collection<? extends PresentationForm> newValues)
Sets the mode in which the resource is represented, or an empty string if none. |
void |
setSeries(Series newValue)
Sets the information about the series, or aggregate dataset, of which the dataset is a part. |
void |
setTitle(InternationalString newValue)
Sets the name by which the cited resource is known. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultCitation()
public DefaultCitation(Citation source)
source - The metadata to copy, or null if none.public DefaultCitation(CharSequence title)
title - The title as a String or an InternationalString object,
or null if none.public DefaultCitation(ResponsibleParty party)
party - The name and position information for an individual or organization that is
responsible for the resource, or null if none.| Method Detail |
|---|
public static DefaultCitation castOrCopy(Citation object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public InternationalString getTitle()
getTitle in interface Citationpublic void setTitle(InternationalString newValue)
newValue - The new title.public Collection<InternationalString> getAlternateTitles()
getAlternateTitles in interface Citationpublic void setAlternateTitles(Collection<? extends InternationalString> newValues)
newValues - The new alternate titles.public Collection<CitationDate> getDates()
getDates in interface Citationpublic void setDates(Collection<? extends CitationDate> newValues)
newValues - The new dates.public InternationalString getEdition()
getEdition in interface Citationpublic void setEdition(InternationalString newValue)
newValue - The new edition.public Date getEditionDate()
null if none.
getEditionDate in interface Citationpublic void setEditionDate(Date newValue)
null if none.
newValue - The new edition date.Date here.public Collection<Identifier> getIdentifiers()
Unified identifiers view
In this Geotk implementation, the collection returned by this method includes the
ISBN and ISSN codes (except at XML
marshalling time for ISO 19139 compliance).
getIdentifiers in interface IdentifiedObjectgetIdentifiers in interface CitationgetIdentifiers in class MetadataEntitygetIdentifiers(),
DefaultObjective.getIdentifiers(),
AbstractIdentifiedObject.getIdentifiers()public void setIdentifiers(Collection<? extends Identifier> newValues)
The following exceptions apply:
setISBN(String) or setISSN(String) methods, for compliance with
the ISO 19115 model.
newValues - The new identifiers.public Collection<ResponsibleParty> getCitedResponsibleParties()
getCitedResponsibleParties in interface Citationpublic void setCitedResponsibleParties(Collection<? extends ResponsibleParty> newValues)
newValues - The new cited responsible parties.public Collection<PresentationForm> getPresentationForms()
getPresentationForms in interface Citationpublic void setPresentationForms(Collection<? extends PresentationForm> newValues)
newValues - The new presentation form.public Series getSeries()
null if none.
getSeries in interface Citationpublic void setSeries(Series newValue)
null if none.
newValue - The new series.public InternationalString getOtherCitationDetails()
null if none.
getOtherCitationDetails in interface Citationpublic void setOtherCitationDetails(InternationalString newValue)
null if none.
newValue - Other citations details.public InternationalString getCollectiveTitle()
null if there is no title.
getCollectiveTitle in interface Citationpublic void setCollectiveTitle(InternationalString newValue)
null if there is no title.
newValue - The new collective title.public String getISBN()
null if none.
In this Geotk implementation, invoking this method is equivalent to:
return getIdentifierMap().getSpecialized(Citations.ISBN);
getISBN in interface CitationCitations.ISBNpublic void setISBN(String newValue)
null if none.
In this Geotk implementation, invoking this method is equivalent to:
getIdentifierMap().putSpecialized(Citations.ISBN, newValue);
newValue - The new ISBN.public String getISSN()
null if none.
In this Geotk implementation, invoking this method is equivalent to:
return getIdentifierMap().getSpecialized(Citations.ISSN);
getISSN in interface CitationCitations.ISSNpublic void setISSN(String newValue)
null if none.
In this Geotk implementation, invoking this method is equivalent to:
getIdentifierMap().putSpecialized(Citations.ISSN, newValue);
newValue - The new ISSN.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||