org.geotools.metadata.iso.lineage
Class LineageImpl

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.lineage.LineageImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.lineage.Lineage

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 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
LineageImpl()
          Constructs an initially empty lineage.
LineageImpl(org.opengis.metadata.lineage.Lineage source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 java.util.Collection<org.opengis.metadata.lineage.ProcessStep> getProcessSteps()
          Returns the information about an event in the creation process for the data specified by the scope.
 java.util.Collection<org.opengis.metadata.lineage.Source> 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.
 void setProcessSteps(java.util.Collection<? extends org.opengis.metadata.lineage.ProcessStep> newValues)
          Set information about an event in the creation process for the data specified by the scope.
 void setSources(java.util.Collection<? extends org.opengis.metadata.lineage.Source> 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.
 
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

LineageImpl

public LineageImpl()
Constructs an initially empty lineage.


LineageImpl

public LineageImpl(org.opengis.metadata.lineage.Lineage source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
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<org.opengis.metadata.lineage.ProcessStep> 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<? extends org.opengis.metadata.lineage.ProcessStep> newValues)
Set information about an event in the creation process for the data specified by the scope.


getSources

public java.util.Collection<org.opengis.metadata.lineage.Source> 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<? extends org.opengis.metadata.lineage.Source> newValues)
Information about the source data used in creating the data specified by the scope.



Copyright © 1996-2010 Geotools. All Rights Reserved.