This package also contains information about the sources and production processes
used in producing a dataset. The {@linkplain org.opengis.metadata.lineage.Lineage lineage} entity is
optional and contains a statement about the lineage. It is an aggregate of
{@linkplain org.opengis.metadata.lineage.ProcessStep process step} and
{@linkplain org.opengis.metadata.lineage.Source source}. The
{@linkplain org.opengis.metadata.lineage.Lineage#getStatement statement} element is mandatory if
{@linkplain org.opengis.metadata.quality.DataQuality#getScope DataQuality.scope}.{@linkplain
org.opengis.metadata.quality.Scope#getLevel level}
has a value of
"{@linkplain org.opengis.metadata.maintenance.ScopeCode#DATASET dataset}" or
"{@linkplain org.opengis.metadata.maintenance.ScopeCode#SERIES series}" and the
{@linkplain org.opengis.metadata.lineage.Source source} and
{@linkplain org.opengis.metadata.lineage.ProcessStep process step} are not set.