org.geotools.metadata.iso.lineage
Class LineageImpl

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

public class LineageImpl
extends MetadataEntity
implements org.opengis.metadata.lineage.Lineage

Information about the events or source data used in constructing the data specified by the scope or lack of knowledge about lineage. Only one of statement, process steps and sources should be provided.

Since:
2.1
Version:
$Id: LineageImpl.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
LineageImpl()
          Constructs an initially empty lineage.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this Lineage with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.Collection getProcessSteps()
          Returns the information about an event in the creation process for the data specified by the scope.
 java.util.Collection getSources()
          Information about the source data used in creating the data specified by the scope.
 org.opengis.util.InternationalString getStatement()
          Returns the general explanation of the data producer?s knowledge about the lineage of a dataset.
 int hashCode()
          Returns a hash code value for this series.
 void setProcessSteps(java.util.Collection newValues)
          Set information about an event in the creation process for the data specified by the scope.
 void setSources(java.util.Collection newValues)
          Information about the source data used in creating the data specified by the scope.
 void setStatement(org.opengis.util.InternationalString newValue)
          Set the general explanation of the data producer?s knowledge about the lineage of a dataset.
 java.lang.String toString()
          Returns a string representation of this lineage.
 
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

LineageImpl

public LineageImpl()
Constructs an initially empty lineage.

Method Detail

getStatement

public org.opengis.util.InternationalString getStatement()
Returns the general explanation of the data producer?s knowledge about the lineage of a dataset. Should be provided only if scope level is dataset or series.

Specified by:
getStatement in interface org.opengis.metadata.lineage.Lineage

setStatement

public void setStatement(org.opengis.util.InternationalString newValue)
Set the general explanation of the data producer?s knowledge about the lineage of a dataset.


getProcessSteps

public java.util.Collection getProcessSteps()
Returns the information about an event in the creation process for the data specified by the scope.

Specified by:
getProcessSteps in interface org.opengis.metadata.lineage.Lineage

setProcessSteps

public void setProcessSteps(java.util.Collection newValues)
Set information about an event in the creation process for the data specified by the scope.


getSources

public java.util.Collection getSources()
Information about the source data used in creating the data specified by the scope.

Specified by:
getSources in interface org.opengis.metadata.lineage.Lineage

setSources

public void setSources(java.util.Collection newValues)
Information about the source data used in creating the data specified by the scope.


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 Lineage with the specified object for equality.


hashCode

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


toString

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

To Do:
Provides a more elaborated implementation.


Copyright © GeoTools. All Rights Reserved.