Class ConformanceResultImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- ConformanceResultImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,ConformanceResult
,Result
public class ConformanceResultImpl extends MetadataEntity implements ConformanceResult, Result
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
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceConformanceResult
- 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 interfaceConformanceResult
- 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 interfaceConformanceResult
- Returns:
- Indication of the conformance result.
-
setPass
public void setPass(boolean newValue)
Set the indication of the conformance result.
-
-