Class ConformanceResultImpl
Object
AbstractMetadata
ModifiableMetadata
MetadataEntity
ConformanceResultImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,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:
-
Field Summary
Fields inherited from class AbstractMetadata
LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty conformance result.ConformanceResultImpl
(Citation specification, InternationalString explanation, boolean pass) Creates a conformance result initialized to the given values.Constructs a metadata entity initialized with the values from the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionExplanation of the meaning of conformance for this result.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 Details
-
ConformanceResultImpl
public ConformanceResultImpl()Constructs an initially empty conformance result. -
ConformanceResultImpl
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
ConformanceResultImpl
Creates a conformance result initialized to the given values.
-
-
Method Details
-
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
Set the citation of product specification or user requirement against which data is being evaluated. -
getExplanation
Explanation of the meaning of conformance for this result.- Specified by:
getExplanation
in interfaceConformanceResult
- Returns:
- Explanation of the meaning of conformance.
-
setExplanation
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.
-