Class 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
    • 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
        Returns:
        Explanation of the data producer's knowledge about the lineage, or null.
      • 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
        Returns:
        Information about an event in the creation process.
      • 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
        Returns:
        Information about the source data.
      • setSources

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