Class DefaultBasicMeasure

All Implemented Interfaces:
Serializable, Emptiable, LenientComparable, IdentifiedObject

@UML(identifier="DQM_BasicMeasure", specification=UNSPECIFIED) public class DefaultBasicMeasure extends ISOMetadata
Data quality basic measure. The following property is mandatory in a well-formed metadata according ISO 19157:
DQM_BasicMeasure   ├─name…………………… Name of the data quality basic measure applied to the data.   ├─definition…… Definition of the data quality basic measure.   ├─example…………… Illustration of the use of a data quality measure.   └─valueType……… Value type for the result of the basic measure (shall be one of the data types defined in ISO/TS 19103:2005).

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 XML instead.
Since:
1.3
Version:
1.3
Author:
Alexis Gaillard (Geomatys), Martin Desruisseaux (Geomatys)
See Also:
  • Constructor Details

    • DefaultBasicMeasure

      public DefaultBasicMeasure()
      Constructs an initially empty basic measure.
    • DefaultBasicMeasure

      public DefaultBasicMeasure(DefaultBasicMeasure object)
      Constructs 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 null if none.
  • Method Details

    • getName

      @UML(identifier="name", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getName()
      Returns the name of the data quality basic measure.
      Returns:
      name of the data quality basic measure.
    • setName

      public void setName(org.opengis.util.InternationalString newValue)
      Sets the name of the data quality basic measure.
      Parameters:
      newValue - the new basic measure name.
    • getDefinition

      @UML(identifier="definition", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getDefinition()
      Returns the definition of the data quality basic measure.
      Returns:
      definition of the data quality basic measure.
    • setDefinition

      public void setDefinition(org.opengis.util.InternationalString newValue)
      Sets the definition of the data quality basic measure.
      Parameters:
      newValue - the new basic measure definition.
    • getExample

      @UML(identifier="example", obligation=OPTIONAL, specification=UNSPECIFIED) public DefaultMeasureDescription getExample()
      Returns the illustration of the use of a data quality measure.
      Returns:
      usage example, or null if none.
    • setExample

      public void setExample(DefaultMeasureDescription newValues)
      Sets the illustration of the use of a data quality measure.
      Parameters:
      newValues - the new basic measure example.
    • getValueType

      @UML(identifier="valueType", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.TypeName getValueType()
      Returns the value type for the result of the basic measure.
      Returns:
      value type of the result for the basic measure.
    • setValueType

      public void setValueType(org.opengis.util.TypeName newValue)
      Sets the value type for the result of the basic measure.
      Parameters:
      newValue - the new basic measure value type.
    • getStandard

      public MetadataStandard getStandard()
      Returns the metadata standard, which is ISO 19157.
      Overrides:
      getStandard in class ISOMetadata
      Returns:
      the metadata standard, which is ISO 19157.