org.opengis.metadata.lineage.Lineage Maven / Gradle / Ivy
Show all versions of gt-opengis Show documentation
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2004-2005, Open Geospatial Consortium Inc.
*
* All Rights Reserved. http://www.opengis.org/legal/
*/
package org.opengis.metadata.lineage;
import static org.opengis.annotation.ComplianceLevel.*;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import java.util.Collection;
import org.opengis.annotation.Profile;
import org.opengis.annotation.UML;
import org.opengis.util.InternationalString;
/**
* 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 {@linkplain #getStatement statement}, {@linkplain #getProcessSteps process steps}
* and {@linkplain #getSources sources} should be provided.
*
* @version ISO 19115
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 2.0
*/
@Profile(level = CORE)
@UML(identifier = "LI_Lineage", specification = ISO_19115)
public interface Lineage {
/**
* General explanation of the data producer's knowledge about the lineage of a dataset. Should
* be provided only if {@linkplain org.opengis.metadata.quality.Scope#getLevel scope level} is
* {@linkplain org.opengis.metadata.maintenance.ScopeCode#DATASET dataset} or {@linkplain
* org.opengis.metadata.maintenance.ScopeCode#SERIES series}.
*
* @return Explanation of the data producer's knowledge about the lineage, or {@code null}.
*/
@Profile(level = CORE)
@UML(identifier = "statement", obligation = CONDITIONAL, specification = ISO_19115)
InternationalString getStatement();
/**
* Information about an event in the creation process for the data specified by the scope.
*
* @return Information about an event in the creation process.
*/
@UML(identifier = "processStep", obligation = CONDITIONAL, specification = ISO_19115)
Collection extends ProcessStep> getProcessSteps();
/**
* Information about the source data used in creating the data specified by the scope.
*
* @return Information about the source data.
*/
@UML(identifier = "source", obligation = CONDITIONAL, specification = ISO_19115)
Collection extends Source> getSources();
}