@TitleProperty(name="title") public class DefaultCitation extends ISOMetadata implements Citation
CI_Citation
├─title………………………
Name by which the cited resource is known.
└─date…………………………
Reference date for the cited resource.getIdentifiers()
, except at XML marshalling time (for ISO 19139 compliance).
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultCitation()
Constructs an initially empty citation.
|
DefaultCitation(CharSequence title)
Constructs a citation with the specified title.
|
DefaultCitation(Citation object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultCitation |
castOrCopy(Citation object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<InternationalString> |
getAlternateTitles()
Returns short name or other language name by which the cited information is known.
|
Collection<ResponsibleParty> |
getCitedResponsibleParties()
Returns the role, name, contact and position information for an individual or organization
that is responsible for the resource.
|
InternationalString |
getCollectiveTitle()
Deprecated.
Removed as of ISO 19115:2014.
|
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.
|
Collection<BrowseGraphic> |
getGraphics()
Returns citation graphics or logo for cited party.
|
Collection<Identifier> |
getIdentifiers()
Returns the unique identifier for the resource.
|
String |
getISBN()
Returns the International Standard Book Number.
|
String |
getISSN()
Returns the International Standard Serial Number.
|
Collection<OnlineResource> |
getOnlineResources()
Returns online references to the cited resource.
|
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.
|
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 role, name, contact and position information for an individual or organization
that is responsible for the resource.
|
void |
setCollectiveTitle(InternationalString newValue)
Deprecated.
Removed as of ISO 19115:2014.
|
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.
|
void |
setGraphics(Collection<? extends BrowseGraphic> newValues)
Sets citation graphics or logo for cited party.
|
void |
setIdentifiers(Collection<? extends Identifier> newValues)
Sets the unique identifier for the resource.
|
void |
setISBN(String newValue)
Sets the International Standard Book Number.
|
void |
setISSN(String newValue)
Sets the International Standard Serial Number.
|
void |
setOnlineResources(Collection<? extends OnlineResource> newValues)
Sets online references to the cited resource.
|
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.
|
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.
|
freeze, getIdentifierMap, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultCitation()
public DefaultCitation(CharSequence title)
title
- the title as a String
or an InternationalString
object,
or null
if none.public DefaultCitation(Citation object)
object
- the metadata to copy values from, or null
if none.castOrCopy(Citation)
public static DefaultCitation castOrCopy(Citation object)
null
, then this method returns null
.DefaultCitation
, then it is returned unchanged.DefaultCitation
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- the object to get as a SIS implementation, or null
if none.null
if the argument was null.public InternationalString getTitle()
public void setTitle(InternationalString newValue)
newValue
- the new title, or null
if none.public Collection<InternationalString> getAlternateTitles()
getAlternateTitles
in interface Citation
public void setAlternateTitles(Collection<? extends InternationalString> newValues)
newValues
- the new alternate titles, or null
if none.public Collection<CitationDate> getDates()
public void setDates(Collection<? extends CitationDate> newValues)
newValues
- the new dates, or null
if none.public InternationalString getEdition()
getEdition
in interface Citation
null
if none.public void setEdition(InternationalString newValue)
newValue
- the new edition, or null
if none.public Date getEditionDate()
getEditionDate
in interface Citation
null
if none.public void setEditionDate(Date newValue)
newValue
- the new edition date, or null
if none.public Collection<Identifier> getIdentifiers()
<gmd:identifier>
element marshalled to XML will exclude all the above cited identifiers,
for ISO 19139 compliance. Those identifiers will appear in other XML elements or attributes.getIdentifiers
in interface IdentifiedObject
getIdentifiers
in interface Citation
getIdentifiers
in class ISOMetadata
getISBN()
,
getISSN()
,
ISOMetadata.getIdentifierMap()
public void setIdentifiers(Collection<? extends Identifier> newValues)
XML identifiers (ID, UUID, etc.), ISBN and ISSN codes are not affected by this method, unless they are explicitely provided in the given collection.
newValues
- the new identifiers, or null
if none.setISBN(String)
,
setISSN(String)
public Collection<ResponsibleParty> getCitedResponsibleParties()
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change may be applied in GeoAPI 4.0.
getCitedResponsibleParties
in interface Citation
public void setCitedResponsibleParties(Collection<? extends ResponsibleParty> newValues)
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change may be applied in GeoAPI 4.0.
newValues
- the new cited responsible parties, or null
if none.public Collection<PresentationForm> getPresentationForms()
getPresentationForms
in interface Citation
public void setPresentationForms(Collection<? extends PresentationForm> newValues)
newValues
- the new presentation form, or null
if none.public Series getSeries()
getSeries
in interface Citation
null
if none.public void setSeries(Series newValue)
newValue
- the new series.public InternationalString getOtherCitationDetails()
getOtherCitationDetails
in interface Citation
null
if none.public void setOtherCitationDetails(InternationalString newValue)
newValue
- Other citations details, or null
if none.@Deprecated public InternationalString getCollectiveTitle()
getCollectiveTitle
in interface Citation
null
if none.@Deprecated public void setCollectiveTitle(InternationalString newValue)
newValue
- the new collective title, or null
if none.public String getISBN()
return getIdentifierMap().getSpecialized(Citations.ISBN);
getISBN
in interface Citation
null
if none.getIdentifiers()
,
Citations.ISBN
public void setISBN(String newValue)
getIdentifierMap().putSpecialized(Citations.ISBN, newValue);
newValue
- the new ISBN, or null
if none.setIdentifiers(Collection)
,
Citations.ISBN
public String getISSN()
return getIdentifierMap().getSpecialized(Citations.ISSN);
getISSN
in interface Citation
null
if none.getIdentifiers()
,
Citations.ISSN
public void setISSN(String newValue)
getIdentifierMap().putSpecialized(Citations.ISSN, newValue);
newValue
- the new ISSN.setIdentifiers(Collection)
,
Citations.ISSN
@UML(identifier="onlineResource", obligation=OPTIONAL, specification=ISO_19115) public Collection<OnlineResource> getOnlineResources()
public void setOnlineResources(Collection<? extends OnlineResource> newValues)
newValues
- the new online references to the cited resource.@UML(identifier="graphic", obligation=OPTIONAL, specification=ISO_19115) public Collection<BrowseGraphic> getGraphics()
public void setGraphics(Collection<? extends BrowseGraphic> newValues)
newValues
- the new citation graphics or logo for cited party.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.