org.geotools.metadata.iso.quality
Class ConformanceResultImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ResultImpl
                  extended by ConformanceResultImpl
All Implemented Interfaces:
Serializable, Cloneable, ConformanceResult, Result

public class ConformanceResultImpl
extends ResultImpl
implements ConformanceResult

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

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
ConformanceResultImpl()
          Constructs an initially empty conformance result.
ConformanceResultImpl(Citation specification, InternationalString explanation, boolean pass)
          Creates a conformance result initialized to the given values.
ConformanceResultImpl(ConformanceResult source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 InternationalString getExplanation()
          Explanation of the meaning of conformance for this result.
 Citation getSpecification()
          Citation of product specification or user requirement against which data is being evaluated.
 boolean pass()
          Indication of the conformance result.
 void setExplanation(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(Citation newValue)
          Set the citation of product specification or user requirement against which data is being evaluated.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConformanceResultImpl

public ConformanceResultImpl()
Constructs an initially empty conformance result.


ConformanceResultImpl

public ConformanceResultImpl(ConformanceResult source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

ConformanceResultImpl

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

Method Detail

getSpecification

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

Specified by:
getSpecification in interface ConformanceResult
Returns:
Citation of product specification or user requirement.

setSpecification

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


getExplanation

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

Specified by:
getExplanation in interface ConformanceResult
Returns:
Explanation of the meaning of conformance.

setExplanation

public void setExplanation(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 ConformanceResult
Returns:
Indication of the conformance result.

setPass

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



Copyright © 1996-2014 Geotools. All Rights Reserved.