public class DefaultLineage extends ISOMetadata implements Lineage
sources
should be provided.Defined in the sis-metadata module
identifiers, LOGGER
Constructor and Description |
---|
DefaultLineage()
Constructs an initially empty lineage.
|
DefaultLineage(Lineage object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultLineage |
castOrCopy(Lineage object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<ProcessStep> |
getProcessSteps()
Returns the information about an event in the creation process for the data specified by the scope.
|
Collection<Source> |
getSources()
Returns 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)
Sets information about an event in the creation process for the data specified by the scope.
|
void |
setSources(Collection<? extends Source> newValues)
Sets information about the source data used in creating the data specified by the scope.
|
void |
setStatement(InternationalString newValue)
Sets the general explanation of the data producers knowledge about the lineage of a dataset.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultLineage()
public DefaultLineage(Lineage object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Lineage)
public static DefaultLineage castOrCopy(Lineage object)
null
, then this method returns null
.DefaultLineage
, then it is returned unchanged.DefaultLineage
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public InternationalString getStatement()
DATASET
or SERIES
.getStatement
in interface Lineage
null
.public void setStatement(InternationalString newValue)
newValue
- The new statement.public Collection<ProcessStep> getProcessSteps()
getProcessSteps
in interface Lineage
public void setProcessSteps(Collection<? extends ProcessStep> newValues)
newValues
- The new process steps.public Collection<Source> getSources()
getSources
in interface Lineage
public void setSources(Collection<? extends Source> newValues)
newValues
- The new sources.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.