org.geotools.metadata.iso.citation
Class CitationImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.citation.CitationImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.citation.Citation

public class CitationImpl
extends MetadataEntity
implements org.opengis.metadata.citation.Citation

Standardized resource reference.

Since:
2.1
Version:
$Id: CitationImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Jody Garnett
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
CitationImpl()
          Constructs an initially empty citation.
CitationImpl(java.lang.CharSequence title)
          Constructs a citation with the specified title.
CitationImpl(org.opengis.metadata.citation.Citation source)
          Constructs a new citation initialized to the values specified by the given object.
CitationImpl(org.opengis.metadata.citation.ResponsibleParty party)
          Constructs a citation with the specified responsible party.
 
Method Summary
 java.util.Collection<org.opengis.util.InternationalString> getAlternateTitles()
          Returns the short name or other language name by which the cited information is known.
 java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getCitedResponsibleParties()
          Returns the name and position information for an individual or organization that is responsible for the resource.
 org.opengis.util.InternationalString getCollectiveTitle()
          Returns the common title with holdings note.
 java.util.Collection<org.opengis.metadata.citation.CitationDate> getDates()
          Returns the reference date for the cited resource.
 org.opengis.util.InternationalString getEdition()
          Returns the version of the cited resource.
 java.util.Date getEditionDate()
          Returns the date of the edition, or null if none.
 java.util.Collection<org.opengis.metadata.Identifier> getIdentifiers()
          Returns the unique identifier for the resource.
 java.lang.String getISBN()
          Returns the International Standard Book Number, or null if none.
 java.lang.String getISSN()
          Returns the International Standard Serial Number, or null if none.
 org.opengis.util.InternationalString getOtherCitationDetails()
          Returns other information required to complete the citation that is not recorded elsewhere.
 java.util.Collection<org.opengis.metadata.citation.PresentationForm> getPresentationForm()
          Returns the mode in which the resource is represented, or an empty string if none.
 org.opengis.metadata.citation.Series getSeries()
          Returns the information about the series, or aggregate dataset, of which the dataset is a part.
 org.opengis.util.InternationalString getTitle()
          Returns the name by which the cited resource is known.
 void setAlternateTitles(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
          Set the short name or other language name by which the cited information is known.
 void setCitedResponsibleParties(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
          Set the name and position information for an individual or organization that is responsible for the resource.
 void setCollectiveTitle(org.opengis.util.InternationalString newValue)
          Set the common title with holdings note.
 void setDates(java.util.Collection<? extends org.opengis.metadata.citation.CitationDate> newValues)
          Set the reference date for the cited resource.
 void setEdition(org.opengis.util.InternationalString newValue)
          Set the version of the cited resource.
 void setEditionDate(java.util.Date newValue)
          Set the date of the edition, or null if none.
 void setIdentifiers(java.util.Collection<? extends org.opengis.metadata.Identifier> newValues)
          Set the unique identifier for the resource.
 void setISBN(java.lang.String newValue)
          Set the International Standard Book Number, or null if none.
 void setISSN(java.lang.String newValue)
          Set the International Standard Serial Number, or null if none.
 void setOtherCitationDetails(org.opengis.util.InternationalString newValue)
          Set other information required to complete the citation that is not recorded elsewhere.
 void setPresentationForm(java.util.Collection<? extends org.opengis.metadata.citation.PresentationForm> newValues)
          Set the mode in which the resource is represented, or an empty string if none.
 void setSeries(org.opengis.metadata.citation.Series newValue)
          Set the information about the series, or aggregate dataset, of which the dataset is a part.
 void setTitle(org.opengis.util.InternationalString newValue)
          Set the name by which the cited resource is known.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CitationImpl

public CitationImpl()
Constructs an initially empty citation.


CitationImpl

public CitationImpl(org.opengis.metadata.citation.Citation source)
Constructs a new citation initialized to the values specified by the given object. This constructor performs a shallow copy (i.e. each source attributes are reused without copying them).


CitationImpl

public CitationImpl(java.lang.CharSequence title)
Constructs a citation with the specified title.

Parameters:
title - The title, as a String or an InternationalString object.

CitationImpl

public CitationImpl(org.opengis.metadata.citation.ResponsibleParty party)
Constructs a citation with the specified responsible party. This convenience constructor initialize the citation title to the first non-null of the following properties: organisation name, position name or individual name.

Since:
2.2
Method Detail

getTitle

public org.opengis.util.InternationalString getTitle()
Returns the name by which the cited resource is known.

Specified by:
getTitle in interface org.opengis.metadata.citation.Citation

setTitle

public void setTitle(org.opengis.util.InternationalString newValue)
Set the name by which the cited resource is known.


getAlternateTitles

public java.util.Collection<org.opengis.util.InternationalString> getAlternateTitles()
Returns the short name or other language name by which the cited information is known. Example: "DCW" as an alternative title for "Digital Chart of the World".

Specified by:
getAlternateTitles in interface org.opengis.metadata.citation.Citation

setAlternateTitles

public void setAlternateTitles(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
Set the short name or other language name by which the cited information is known.


getDates

public java.util.Collection<org.opengis.metadata.citation.CitationDate> getDates()
Returns the reference date for the cited resource.

Specified by:
getDates in interface org.opengis.metadata.citation.Citation

setDates

public void setDates(java.util.Collection<? extends org.opengis.metadata.citation.CitationDate> newValues)
Set the reference date for the cited resource.


getEdition

public org.opengis.util.InternationalString getEdition()
Returns the version of the cited resource.

Specified by:
getEdition in interface org.opengis.metadata.citation.Citation

setEdition

public void setEdition(org.opengis.util.InternationalString newValue)
Set the version of the cited resource.


getEditionDate

public java.util.Date getEditionDate()
Returns the date of the edition, or null if none.

Specified by:
getEditionDate in interface org.opengis.metadata.citation.Citation

setEditionDate

public void setEditionDate(java.util.Date newValue)
Set the date of the edition, or null if none.


getIdentifiers

public java.util.Collection<org.opengis.metadata.Identifier> getIdentifiers()
Returns the unique identifier for the resource. Example: Universal Product Code (UPC), National Stock Number (NSN).

Specified by:
getIdentifiers in interface org.opengis.metadata.citation.Citation

setIdentifiers

public void setIdentifiers(java.util.Collection<? extends org.opengis.metadata.Identifier> newValues)
Set the unique identifier for the resource. Example: Universal Product Code (UPC), National Stock Number (NSN).


getCitedResponsibleParties

public java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getCitedResponsibleParties()
Returns the name and position information for an individual or organization that is responsible for the resource. Returns an empty string if there is none.

Specified by:
getCitedResponsibleParties in interface org.opengis.metadata.citation.Citation

setCitedResponsibleParties

public void setCitedResponsibleParties(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
Set the name and position information for an individual or organization that is responsible for the resource. Returns an empty string if there is none.


getPresentationForm

public java.util.Collection<org.opengis.metadata.citation.PresentationForm> getPresentationForm()
Returns the mode in which the resource is represented, or an empty string if none.

Specified by:
getPresentationForm in interface org.opengis.metadata.citation.Citation

setPresentationForm

public void setPresentationForm(java.util.Collection<? extends org.opengis.metadata.citation.PresentationForm> newValues)
Set the mode in which the resource is represented, or an empty string if none.


getSeries

public org.opengis.metadata.citation.Series getSeries()
Returns the information about the series, or aggregate dataset, of which the dataset is a part. Returns null if none.

Specified by:
getSeries in interface org.opengis.metadata.citation.Citation

setSeries

public void setSeries(org.opengis.metadata.citation.Series newValue)
Set the information about the series, or aggregate dataset, of which the dataset is a part. Set to null if none.


getOtherCitationDetails

public org.opengis.util.InternationalString getOtherCitationDetails()
Returns other information required to complete the citation that is not recorded elsewhere. Returns null if none.

Specified by:
getOtherCitationDetails in interface org.opengis.metadata.citation.Citation

setOtherCitationDetails

public void setOtherCitationDetails(org.opengis.util.InternationalString newValue)
Set other information required to complete the citation that is not recorded elsewhere. Set to null if none.


getCollectiveTitle

public org.opengis.util.InternationalString getCollectiveTitle()
Returns the common title with holdings note. Note: title identifies elements of a series collectively, combined with information about what volumes are available at the source cited. Returns null if there is no title.

Specified by:
getCollectiveTitle in interface org.opengis.metadata.citation.Citation

setCollectiveTitle

public void setCollectiveTitle(org.opengis.util.InternationalString newValue)
Set the common title with holdings note. Note: title identifies elements of a series collectively, combined with information about what volumes are available at the source cited. Set to null if there is no title.


getISBN

public java.lang.String getISBN()
Returns the International Standard Book Number, or null if none.

Specified by:
getISBN in interface org.opengis.metadata.citation.Citation

setISBN

public void setISBN(java.lang.String newValue)
Set the International Standard Book Number, or null if none.


getISSN

public java.lang.String getISSN()
Returns the International Standard Serial Number, or null if none.

Specified by:
getISSN in interface org.opengis.metadata.citation.Citation

setISSN

public void setISSN(java.lang.String newValue)
Set the International Standard Serial Number, or null if none.



Copyright © 1996-2010 Geotools. All Rights Reserved.