org.geotools.metadata.iso.lineage
Class LineageImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by LineageImpl
All Implemented Interfaces:
Serializable, Cloneable, Lineage

public class LineageImpl
extends MetadataEntity
implements 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
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
LineageImpl()
          Constructs an initially empty lineage.
LineageImpl(Lineage source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Collection<ProcessStep> getProcessSteps()
          Returns the information about an event in the creation process for the data specified by the scope.
 Collection<Source> getSources()
          Information about the source data used in creating the data specified by the scope.
 InternationalString getStatement()
          Returns the general explanation of the data producer’s knowledge about the lineage of a dataset.
 void setProcessSteps(Collection<? extends ProcessStep> newValues)
          Set information about an event in the creation process for the data specified by the scope.
 void setSources(Collection<? extends Source> newValues)
          Information about the source data used in creating the data specified by the scope.
 void setStatement(InternationalString newValue)
          Set the general explanation of the data producer’s knowledge about the lineage of a dataset.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineageImpl

public LineageImpl()
Constructs an initially empty lineage.


LineageImpl

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

Since:
2.4
Method Detail

getStatement

public 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 Lineage

setStatement

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


getProcessSteps

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

Specified by:
getProcessSteps in interface Lineage

setProcessSteps

public void setProcessSteps(Collection<? extends ProcessStep> newValues)
Set information about an event in the creation process for the data specified by the scope.


getSources

public Collection<Source> getSources()
Information about the source data used in creating the data specified by the scope.

Specified by:
getSources in interface Lineage

setSources

public void setSources(Collection<? extends Source> newValues)
Information about the source data used in creating the data specified by the scope.



Copyright © 1996-2010 Geotools. All Rights Reserved.