/* * 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.quality; import java.util.Collection; import javax.measure.unit.Unit; import org.opengis.util.InternationalString; import org.opengis.util.Record; import org.opengis.util.RecordType; import org.opengis.annotation.UML; import static org.opengis.annotation.Obligation.*; import static org.opengis.annotation.Specification.*; /** * Information about the value (or set of values) obtained from applying a data quality measure. * * * @source $URL: http://svn.osgeo.org/geotools/trunk/modules/library/opengis/src/main/java/org/opengis/metadata/quality/QuantitativeResult.java $ * @version <A HREF="http://www.opengeospatial.org/standards/as#01-111">ISO 19115</A> * @author Martin Desruisseaux (IRD) * @author Cory Horner (Refractions Research) * @since GeoAPI 2.0 */ @UML(identifier="DQ_QuantitativeResult", specification=ISO_19115) public interface QuantitativeResult extends Result { /** * Quantitative value or values, content determined by the evaluation procedure used. * * @return Quantitative value or values. */ @UML(identifier="value", obligation=MANDATORY, specification=ISO_19115) Collection<? extends Record> getValues(); /** * Value type for reporting a data quality result, or {@code null} if none. * * @return Value type for reporting a data quality result, or {@code null}. */ @UML(identifier="valueType", obligation=OPTIONAL, specification=ISO_19115) RecordType getValueType(); /** * Value unit for reporting a data quality result, or {@code null} if none. * * @return Value unit for reporting a data quality result, or {@code null}. */ @UML(identifier="valueUnit", obligation=MANDATORY, specification=ISO_19115) Unit<?> getValueUnit(); /** * Statistical method used to determine the value, or {@code null} if none. * * @return Statistical method used to determine the value, or {@code null}. */ @UML(identifier="errorStatistic", obligation=OPTIONAL, specification=ISO_19115) InternationalString getErrorStatistic(); }