org.geotools.metadata.iso.quality
Class ConformanceResultImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.quality.ResultImpl
          extended byorg.geotools.metadata.iso.quality.ConformanceResultImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.quality.ConformanceResult, org.opengis.metadata.quality.Result, java.io.Serializable

public class ConformanceResultImpl
extends ResultImpl
implements org.opengis.metadata.quality.ConformanceResult

Information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.

Since:
2.1
Version:
$Id: ConformanceResultImpl.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
ConformanceResultImpl()
          Constructs an initially empty conformance result.
ConformanceResultImpl(org.opengis.metadata.citation.Citation specification, org.opengis.util.InternationalString explanation, boolean pass)
          Creates a conformance result initialized to the given values.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this conformance result with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.util.InternationalString getExplanation()
          Explanation of the meaning of conformance for this result.
 org.opengis.metadata.citation.Citation getSpecification()
          Citation of product specification or user requirement against which data is being evaluated.
 int hashCode()
          Returns a hash code value for this series.
 boolean pass()
          Indication of the conformance result.
 void setExplanation(org.opengis.util.InternationalString newValue)
          Set the explanation of the meaning of conformance for this result.
 void setPass(boolean newValue)
          Set the indication of the conformance result.
 void setSpecification(org.opengis.metadata.citation.Citation newValue)
          Set the citation of product specification or user requirement against which data is being evaluated.
 java.lang.String toString()
          Returns a string representation of this result.
 
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

ConformanceResultImpl

public ConformanceResultImpl()
Constructs an initially empty conformance result.


ConformanceResultImpl

public ConformanceResultImpl(org.opengis.metadata.citation.Citation specification,
                             org.opengis.util.InternationalString explanation,
                             boolean pass)
Creates a conformance result initialized to the given values.

Method Detail

getSpecification

public org.opengis.metadata.citation.Citation getSpecification()
Citation of product specification or user requirement against which data is being evaluated.

Specified by:
getSpecification in interface org.opengis.metadata.quality.ConformanceResult

setSpecification

public void setSpecification(org.opengis.metadata.citation.Citation newValue)
Set the citation of product specification or user requirement against which data is being evaluated.


getExplanation

public org.opengis.util.InternationalString getExplanation()
Explanation of the meaning of conformance for this result.

Specified by:
getExplanation in interface org.opengis.metadata.quality.ConformanceResult

setExplanation

public void setExplanation(org.opengis.util.InternationalString newValue)
Set the explanation of the meaning of conformance for this result.


pass

public boolean pass()
Indication of the conformance result.

Specified by:
pass in interface org.opengis.metadata.quality.ConformanceResult

setPass

public void setPass(boolean newValue)
Set the indication of the conformance result.


freeze

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

Overrides:
freeze in class MetadataEntity

equals

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


hashCode

public int hashCode()
Returns a hash code value for this series.


toString

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

To Do:
localize


Copyright © GeoTools. All Rights Reserved.