Class ElementImpl

All Implemented Interfaces:
Serializable, Cloneable, Element
Direct Known Subclasses:
PositionalAccuracyImpl

public class ElementImpl extends MetadataEntity implements Element
Type of test applied to the data specified by a data quality scope.
Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
  • Constructor Details

    • ElementImpl

      public ElementImpl()
      Constructs an initially empty element.
    • ElementImpl

      public ElementImpl(Element source)
      Constructs a metadata entity initialized with the values from the specified metadata.
      Since:
      2.4
    • ElementImpl

      public ElementImpl(Result result)
      Creates an element initialized to the given result.
  • Method Details

    • getNamesOfMeasure

      public Collection<InternationalString> getNamesOfMeasure()
      Returns the name of the test applied to the data.
      Specified by:
      getNamesOfMeasure in interface Element
      Returns:
      Name of the test applied to the data.
    • setNamesOfMeasure

      public void setNamesOfMeasure(Collection<? extends InternationalString> newValues)
      Set the name of the test applied to the data.
    • getMeasureIdentification

      public Identifier getMeasureIdentification()
      Returns the code identifying a registered standard procedure, or null if none.
      Specified by:
      getMeasureIdentification in interface Element
      Returns:
      Code identifying a registered standard procedure, or null.
    • setMeasureIdentification

      public void setMeasureIdentification(Identifier newValue)
      Set the code identifying a registered standard procedure.
    • getMeasureDescription

      public InternationalString getMeasureDescription()
      Returns the description of the measure being determined.
      Specified by:
      getMeasureDescription in interface Element
      Returns:
      Description of the measure being determined, or null.
    • setMeasureDescription

      public void setMeasureDescription(InternationalString newValue)
      Set the description of the measure being determined.
    • getEvaluationMethodType

      public EvaluationMethodType getEvaluationMethodType()
      Returns the type of method used to evaluate quality of the dataset, or null if unspecified.
      Specified by:
      getEvaluationMethodType in interface Element
      Returns:
      Type of method used to evaluate quality, or null.
    • setEvaluationMethodType

      public void setEvaluationMethodType(EvaluationMethodType newValue)
      Set the ype of method used to evaluate quality of the dataset.
    • getEvaluationMethodDescription

      public InternationalString getEvaluationMethodDescription()
      Returns the description of the evaluation method.
      Specified by:
      getEvaluationMethodDescription in interface Element
      Returns:
      Description of the evaluation method, or null.
    • setEvaluationMethodDescription

      public void setEvaluationMethodDescription(InternationalString newValue)
      Set the description of the evaluation method.
    • getEvaluationProcedure

      public Citation getEvaluationProcedure()
      Returns the reference to the procedure information, or null if none.
      Specified by:
      getEvaluationProcedure in interface Element
      Returns:
      Reference to the procedure information, or null.
    • setEvaluationProcedure

      public void setEvaluationProcedure(Citation newValue)
      Set the reference to the procedure information.
    • getDates

      public Collection<Date> getDates()
      Returns the date or range of dates on which a data quality measure was applied. The array length is 1 for a single date, or 2 for a range. Returns an empty list if this information is not available.
      Specified by:
      getDates in interface Element
      Returns:
      Date or range of dates on which a data quality measure was applied.
      Since:
      2.4
    • setDates

      public void setDates(Collection<Date> newValues)
      Set the date or range of dates on which a data quality measure was applied. The collection size is 1 for a single date, or 2 for a range.
      Since:
      2.4
    • getResults

      public Collection<Result> getResults()
      Returns the value (or set of values) obtained from applying a data quality measure or the out come of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.
      Specified by:
      getResults in interface Element
      Returns:
      Set of values obtained from applying a data quality measure.
      Since:
      2.4
    • setResults

      public void setResults(Collection<? extends Result> newValues)
      Set the value (or set of values) obtained from applying a data quality measure or the out come of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.
      Since:
      2.4