org.geotools.metadata.iso.quality
Class ElementImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.quality.ElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.quality.Element
Direct Known Subclasses:
CompletenessImpl, LogicalConsistencyImpl, PositionalAccuracyImpl, TemporalAccuracyImpl, ThematicAccuracyImpl

public class ElementImpl
extends MetadataEntity
implements org.opengis.metadata.quality.Element

Type of test applied to the data specified by a data quality scope.

Since:
2.1
Version:
$Id: ElementImpl.java 30967 2008-07-09 13:46:57Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
ElementImpl()
          Constructs an initially empty element.
ElementImpl(org.opengis.metadata.quality.Element source)
          Constructs a metadata entity initialized with the values from the specified metadata.
ElementImpl(org.opengis.metadata.quality.Result result)
          Creates an element initialized to the given result.
 
Method Summary
 java.util.Collection<java.util.Date> getDates()
          Returns the date or range of dates on which a data quality measure was applied.
 org.opengis.util.InternationalString getEvaluationMethodDescription()
          Returns the description of the evaluation method.
 org.opengis.metadata.quality.EvaluationMethodType getEvaluationMethodType()
          Returns the type of method used to evaluate quality of the dataset, or null if unspecified.
 org.opengis.metadata.citation.Citation getEvaluationProcedure()
          Returns the reference to the procedure information, or null if none.
 org.opengis.util.InternationalString getMeasureDescription()
          Returns the description of the measure being determined.
 org.opengis.metadata.Identifier getMeasureIdentification()
          Returns the code identifying a registered standard procedure, or null if none.
 java.util.Collection<org.opengis.util.InternationalString> getNamesOfMeasure()
          Returns the name of the test applied to the data.
 java.util.Collection<org.opengis.metadata.quality.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.
 void setDates(java.util.Collection<java.util.Date> newValues)
          Set the date or range of dates on which a data quality measure was applied.
 void setEvaluationMethodDescription(org.opengis.util.InternationalString newValue)
          Set the description of the evaluation method.
 void setEvaluationMethodType(org.opengis.metadata.quality.EvaluationMethodType newValue)
          Set the ype of method used to evaluate quality of the dataset.
 void setEvaluationProcedure(org.opengis.metadata.citation.Citation newValue)
          Set the reference to the procedure information.
 void setMeasureDescription(org.opengis.util.InternationalString newValue)
          Set the description of the measure being determined.
 void setMeasureIdentification(org.opengis.metadata.Identifier newValue)
          Set the code identifying a registered standard procedure.
 void setNamesOfMeasure(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
          Set the name of the test applied to the data.
 void setResults(java.util.Collection<? extends org.opengis.metadata.quality.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.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementImpl

public ElementImpl()
Constructs an initially empty element.


ElementImpl

public ElementImpl(org.opengis.metadata.quality.Element source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

ElementImpl

public ElementImpl(org.opengis.metadata.quality.Result result)
Creates an element initialized to the given result.

Method Detail

getNamesOfMeasure

public java.util.Collection<org.opengis.util.InternationalString> getNamesOfMeasure()
Returns the name of the test applied to the data.

Specified by:
getNamesOfMeasure in interface org.opengis.metadata.quality.Element

setNamesOfMeasure

public void setNamesOfMeasure(java.util.Collection<? extends org.opengis.util.InternationalString> newValues)
Set the name of the test applied to the data.


getMeasureIdentification

public org.opengis.metadata.Identifier getMeasureIdentification()
Returns the code identifying a registered standard procedure, or null if none.

Specified by:
getMeasureIdentification in interface org.opengis.metadata.quality.Element

setMeasureIdentification

public void setMeasureIdentification(org.opengis.metadata.Identifier newValue)
Set the code identifying a registered standard procedure.


getMeasureDescription

public org.opengis.util.InternationalString getMeasureDescription()
Returns the description of the measure being determined.

Specified by:
getMeasureDescription in interface org.opengis.metadata.quality.Element

setMeasureDescription

public void setMeasureDescription(org.opengis.util.InternationalString newValue)
Set the description of the measure being determined.


getEvaluationMethodType

public org.opengis.metadata.quality.EvaluationMethodType getEvaluationMethodType()
Returns the type of method used to evaluate quality of the dataset, or null if unspecified.

Specified by:
getEvaluationMethodType in interface org.opengis.metadata.quality.Element

setEvaluationMethodType

public void setEvaluationMethodType(org.opengis.metadata.quality.EvaluationMethodType newValue)
Set the ype of method used to evaluate quality of the dataset.


getEvaluationMethodDescription

public org.opengis.util.InternationalString getEvaluationMethodDescription()
Returns the description of the evaluation method.

Specified by:
getEvaluationMethodDescription in interface org.opengis.metadata.quality.Element

setEvaluationMethodDescription

public void setEvaluationMethodDescription(org.opengis.util.InternationalString newValue)
Set the description of the evaluation method.


getEvaluationProcedure

public org.opengis.metadata.citation.Citation getEvaluationProcedure()
Returns the reference to the procedure information, or null if none.

Specified by:
getEvaluationProcedure in interface org.opengis.metadata.quality.Element

setEvaluationProcedure

public void setEvaluationProcedure(org.opengis.metadata.citation.Citation newValue)
Set the reference to the procedure information.


getDates

public java.util.Collection<java.util.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 org.opengis.metadata.quality.Element
Since:
2.4

setDates

public void setDates(java.util.Collection<java.util.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 java.util.Collection<org.opengis.metadata.quality.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 org.opengis.metadata.quality.Element
Since:
2.4

setResults

public void setResults(java.util.Collection<? extends org.opengis.metadata.quality.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


Copyright © 1996-2010 Geotools. All Rights Reserved.