org.geotools.metadata.iso.quality
Class ElementImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.quality.ElementImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.quality.Element, java.io.Serializable
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 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
ElementImpl()
          Constructs an initially empty element.
ElementImpl(org.opengis.metadata.quality.Result result)
          Creates an element initialized to the given result.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this element with the specified object for equality.
protected  void freeze()
          Declares this metadata and all its attributes as unmodifiable.
 java.util.Date[] getDate()
          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 if unspecified.
 org.opengis.metadata.citation.Citation getEvaluationProcedure()
          Returns the reference to the procedure information, or 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 if none.
 java.util.Collection getNamesOfMeasure()
          Returns the name of the test applied to the data.
 org.opengis.metadata.quality.Result getResult()
          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.
 int hashCode()
          Returns a hash code value for this address.
 void setDate(java.util.Date[] newValue)
          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 newValues)
          Set the name of the test applied to the data.
 void setResult(org.opengis.metadata.quality.Result newValue)
          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.
 java.lang.String toString()
          Returns a string representation of this citation.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementImpl

public ElementImpl()
Constructs an initially empty element.


ElementImpl

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

Method Detail

getNamesOfMeasure

public java.util.Collection 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 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 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 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 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.


getDate

public java.util.Date[] getDate()
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 if this information is not available.

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

setDate

public void setDate(java.util.Date[] newValue)
Set 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.


getResult

public org.opengis.metadata.quality.Result getResult()
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:
getResult in interface org.opengis.metadata.quality.Element

setResult

public void setResult(org.opengis.metadata.quality.Result newValue)
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.


freeze

protected void freeze()
Declares this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this element with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this address. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.


toString

public java.lang.String toString()
Returns a string representation of this citation.

To Do:
localize


Copyright © GeoTools. All Rights Reserved.