org.geotools.metadata.iso.lineage
Class SourceImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.lineage.SourceImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, org.opengis.metadata.lineage.Source

public class SourceImpl
extends MetadataEntity
implements org.opengis.metadata.lineage.Source

Information about the source data used in creating the data specified by the scope.

Since:
2.1
Version:
$Id: SourceImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
SourceImpl()
          Creates an initially empty source.
SourceImpl(org.opengis.util.InternationalString description)
          Creates a source initialized with the given description.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this source with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.util.InternationalString getDescription()
          Returns a detailed description of the level of the source data.
 long getScaleDenominator()
          Returns the denominator of the representative fraction on a source map.
 org.opengis.metadata.citation.Citation getSourceCitation()
          Returns the recommended reference to be used for the source data.
 java.util.Collection getSourceExtents()
          Returns tiInformation about the spatial, vertical and temporal extent of the source data.
 org.opengis.referencing.ReferenceSystem getSourceReferenceSystem()
          Returns the spatial reference system used by the source data.
 java.util.Collection getSourceSteps()
          Returns information about an event in the creation process for the source data.
 int hashCode()
          Returns a hash code value for this source.
 void setDescription(org.opengis.util.InternationalString newValue)
          Set a detailed description of the level of the source data.
 void setScaleDenominator(long newValue)
          Set the denominator of the representative fraction on a source map.
 void setSourceCitation(org.opengis.metadata.citation.Citation newValue)
          Set the recommended reference to be used for the source data.
 void setSourceExtents(java.util.Collection newValues)
          Information about the spatial, vertical and temporal extent of the source data.
 void setSourceReferenceSystem(org.opengis.referencing.ReferenceSystem newValue)
          Set the spatial reference system used by the source data.
 void setSourceSteps(java.util.Collection newValues)
          Set information about an event in the creation process for the source data.
 java.lang.String toString()
          Returns a string representation of this source.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceImpl

public SourceImpl()
Creates an initially empty source.


SourceImpl

public SourceImpl(org.opengis.util.InternationalString description)
Creates a source initialized with the given description.

Method Detail

getDescription

public org.opengis.util.InternationalString getDescription()
Returns a detailed description of the level of the source data.

Specified by:
getDescription in interface org.opengis.metadata.lineage.Source

setDescription

public void setDescription(org.opengis.util.InternationalString newValue)
Set a detailed description of the level of the source data.


getScaleDenominator

public long getScaleDenominator()
Returns the denominator of the representative fraction on a source map.

Specified by:
getScaleDenominator in interface org.opengis.metadata.lineage.Source

setScaleDenominator

public void setScaleDenominator(long newValue)
Set the denominator of the representative fraction on a source map.


getSourceReferenceSystem

public org.opengis.referencing.ReferenceSystem getSourceReferenceSystem()
Returns the spatial reference system used by the source data.

Specified by:
getSourceReferenceSystem in interface org.opengis.metadata.lineage.Source

setSourceReferenceSystem

public void setSourceReferenceSystem(org.opengis.referencing.ReferenceSystem newValue)
Set the spatial reference system used by the source data.


getSourceCitation

public org.opengis.metadata.citation.Citation getSourceCitation()
Returns the recommended reference to be used for the source data.

Specified by:
getSourceCitation in interface org.opengis.metadata.lineage.Source

setSourceCitation

public void setSourceCitation(org.opengis.metadata.citation.Citation newValue)
Set the recommended reference to be used for the source data.


getSourceExtents

public java.util.Collection getSourceExtents()
Returns tiInformation about the spatial, vertical and temporal extent of the source data.

Specified by:
getSourceExtents in interface org.opengis.metadata.lineage.Source

setSourceExtents

public void setSourceExtents(java.util.Collection newValues)
Information about the spatial, vertical and temporal extent of the source data.


getSourceSteps

public java.util.Collection getSourceSteps()
Returns information about an event in the creation process for the source data.

Specified by:
getSourceSteps in interface org.opengis.metadata.lineage.Source

setSourceSteps

public void setSourceSteps(java.util.Collection newValues)
Set information about an event in the creation process for the source data.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this source with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this source.


toString

public java.lang.String toString()
Returns a string representation of this source.

To Do:
Provides a more elaborated implementation.


Copyright © GeoTools. All Rights Reserved.