Class DefaultLineage
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultLineage
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject,- Lineage
Information about the events or source data used in constructing the data specified by
 the scope or lack of knowledge about lineage.
 The following properties are mandatory or conditional (i.e. mandatory under some circumstances)
 in a well-formed metadata according ISO 19115:
 
 At least one of statement, process steps
 and 
LI_Lineage
   ├─statement…………………………………………………………… General explanation of the data producer's knowledge about the lineage of a dataset.
   ├─processStep……………………………………………………… Information about an event in the creation process for the data specified by the scope.
   │   └─description…………………………………………… Description of the event, including related parameters or tolerances.
   └─source…………………………………………………………………… Information about the source data used in creating the data specified by the scope.
       ├─description…………………………………………… Detailed description of the level of the source data.
       └─scope…………………………………………………………… Type and / or extent of the source.
           ├─level………………………………………………… Hierarchical level of the data specified by the scope.
           └─levelDescription…………………… Detailed description about the level of the data specified by the scope.
               ├─attributeInstances…… Attribute instances to which the information applies.
               ├─attributes………………………… Attributes to which the information applies.
               ├─dataset………………………………… Dataset to which the information applies.
               ├─featureInstances………… Feature instances to which the information applies.
               ├─features……………………………… Features to which the information applies.
               └─other……………………………………… Class of information that does not fall into the other categories.sources shall be provided.
 Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 0.3
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty lineage.DefaultLineage(Lineage object) Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionstatic DefaultLineagecastOrCopy(Lineage object) Returns a SIS metadata implementation with the values of the given arbitrary implementation.Returns additional documentation.Returns the information about about events in the life of a resource specified by the scope.Returns the type of resource and / or extents to which the lineage information applies.Returns information about the source data used in creating the data specified by the scope.Returns the general explanation of the data producer's knowledge about the lineage of a dataset.voidsetAdditionalDocumentation(Collection<? extends Citation> newValues) Sets additional documentation.voidsetProcessSteps(Collection<? extends ProcessStep> newValues) Sets information about events in the life of a resource specified by the scope.voidSets the type of resource and / or extents to which the lineage information applies.voidsetSources(Collection<? extends Source> newValues) Sets information about the source data used in creating the data specified by the scope.voidsetStatement(InternationalString newValue) Sets the general explanation of the data producer's knowledge about the lineage of a dataset.Methods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultLineagepublic DefaultLineage()Constructs an initially empty lineage.
- 
DefaultLineageConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
- See Also:
 
 
- 
- 
Method Details- 
castOrCopyReturns a SIS metadata implementation with the values of the given arbitrary implementation. This method performs the first applicable action in the following choices:- If the given object is null, then this method returnsnull.
- Otherwise if the given object is already an instance of
       DefaultLineage, then it is returned unchanged.
- Otherwise a new DefaultLineageinstance is created using the copy constructor and returned. Note that this is a shallow copy operation, because the other metadata contained in the given object are not recursively copied.
 - Parameters:
- object- the object to get as a SIS implementation, or- nullif none.
- Returns:
- a SIS implementation containing the values of the given object (may be the
         given object itself), or nullif the argument was null.
 
- If the given object is 
- 
getStatementReturns the general explanation of the data producer's knowledge about the lineage of a dataset. Can be provided only if scope level isDATASETorSERIES.- Specified by:
- getStatementin interface- Lineage
- Returns:
- explanation of the data producer's knowledge about the lineage, or null.
 
- 
setStatementSets the general explanation of the data producer's knowledge about the lineage of a dataset.- Parameters:
- newValue- the new statement.
 
- 
getScopeReturns the type of resource and / or extents to which the lineage information applies.- Returns:
- type of resource and / or extents to which the lineage information applies.
- Since:
- 0.5
 
- 
setScopeSets the type of resource and / or extents to which the lineage information applies.- Parameters:
- newValue- the new type of resource.
- Since:
- 0.5
 
- 
getAdditionalDocumentation@UML(identifier="additionalDocumentation", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getAdditionalDocumentation()Returns additional documentation.- Returns:
- additional documentation.
- Since:
- 0.5
 
- 
setAdditionalDocumentationSets additional documentation.- Parameters:
- newValues- Additional documentation.
- Since:
- 0.5
 
- 
getProcessStepsReturns the information about about events in the life of a resource specified by the scope.- Specified by:
- getProcessStepsin interface- Lineage
- Returns:
- information about events in the life of a resource.
 
- 
setProcessStepsSets information about events in the life of a resource specified by the scope.- Parameters:
- newValues- the new process steps.
 
- 
getSourcesReturns information about the source data used in creating the data specified by the scope.- Specified by:
- getSourcesin interface- Lineage
- Returns:
- information about the source data.
 
- 
setSourcesSets information about the source data used in creating the data specified by the scope.- Parameters:
- newValues- the new sources.
 
 
-