|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
AbstractResult
DefaultConformanceResult
@ThreadSafe public class DefaultConformanceResult
Information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultConformanceResult()
Constructs an initially empty conformance result. |
|
DefaultConformanceResult(Citation specification,
InternationalString explanation,
boolean pass)
Creates a conformance result initialized to the given values. |
|
DefaultConformanceResult(ConformanceResult source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultConformanceResult |
castOrCopy(ConformanceResult object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
InternationalString |
getExplanation()
Returns the explanation of the meaning of conformance for this result. |
Citation |
getSpecification()
Returns the citation of product specification or user requirement against which data is being evaluated. |
Boolean |
pass()
Returns an indication of the conformance result. |
void |
setExplanation(InternationalString newValue)
Sets the explanation of the meaning of conformance for this result. |
void |
setPass(Boolean newValue)
Sets the indication of the conformance result. |
void |
setSpecification(Citation newValue)
Sets the citation of product specification or user requirement against which data is being evaluated. |
| Methods inherited from class AbstractResult |
|---|
castOrCopy |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultConformanceResult()
public DefaultConformanceResult(ConformanceResult source)
source - The metadata to copy, or null if none.
public DefaultConformanceResult(Citation specification,
InternationalString explanation,
boolean pass)
specification - Specification or requirement against which data is being evaluated.explanation - The meaning of conformance for this result.pass - Indication of the conformance result.| Method Detail |
|---|
public static DefaultConformanceResult castOrCopy(ConformanceResult object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public Citation getSpecification()
getSpecification in interface ConformanceResultpublic void setSpecification(Citation newValue)
newValue - The new specification.public InternationalString getExplanation()
getExplanation in interface ConformanceResultpublic void setExplanation(InternationalString newValue)
newValue - The new explanation.public Boolean pass()
pass in interface ConformanceResultpublic void setPass(Boolean newValue)
newValue - true if the test pass.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||