Class ElementImpl
Object
AbstractMetadata
ModifiableMetadata
MetadataEntity
ElementImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Element
- Direct Known Subclasses:
PositionalAccuracyImpl
Type of test applied to the data specified by a data quality scope.
- 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 element.ElementImpl
(Element source) Constructs a metadata entity initialized with the values from the specified metadata.ElementImpl
(Result result) Creates an element initialized to the given result. -
Method Summary
Modifier and TypeMethodDescriptiongetDates()
Returns the date or range of dates on which a data quality measure was applied.Returns the description of the evaluation method.Returns the type of method used to evaluate quality of the dataset, ornull
if unspecified.Returns the reference to the procedure information, ornull
if none.Returns the description of the measure being determined.Returns the code identifying a registered standard procedure, ornull
if none.Returns the name of the test applied to the data.Returns the value (or set of values) obtained from applying a data quality measure or the out come of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.void
setDates
(Collection<Date> newValues) Set the date or range of dates on which a data quality measure was applied.void
Set the description of the evaluation method.void
setEvaluationMethodType
(EvaluationMethodType newValue) Set the ype of method used to evaluate quality of the dataset.void
setEvaluationProcedure
(Citation newValue) Set the reference to the procedure information.void
setMeasureDescription
(InternationalString newValue) Set the description of the measure being determined.void
setMeasureIdentification
(Identifier newValue) Set the code identifying a registered standard procedure.void
setNamesOfMeasure
(Collection<? extends InternationalString> newValues) Set the name of the test applied to the data.void
setResults
(Collection<? extends Result> newValues) Set the value (or set of values) obtained from applying a data quality measure or the out come of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.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
-
ElementImpl
public ElementImpl()Constructs an initially empty element. -
ElementImpl
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
ElementImpl
Creates an element initialized to the given result.
-
-
Method Details
-
getNamesOfMeasure
Returns the name of the test applied to the data.- Specified by:
getNamesOfMeasure
in interfaceElement
- Returns:
- Name of the test applied to the data.
-
setNamesOfMeasure
Set the name of the test applied to the data. -
getMeasureIdentification
Returns the code identifying a registered standard procedure, ornull
if none.- Specified by:
getMeasureIdentification
in interfaceElement
- Returns:
- Code identifying a registered standard procedure, or
null
.
-
setMeasureIdentification
Set the code identifying a registered standard procedure. -
getMeasureDescription
Returns the description of the measure being determined.- Specified by:
getMeasureDescription
in interfaceElement
- Returns:
- Description of the measure being determined, or
null
.
-
setMeasureDescription
Set the description of the measure being determined. -
getEvaluationMethodType
Returns the type of method used to evaluate quality of the dataset, ornull
if unspecified.- Specified by:
getEvaluationMethodType
in interfaceElement
- Returns:
- Type of method used to evaluate quality, or
null
.
-
setEvaluationMethodType
Set the ype of method used to evaluate quality of the dataset. -
getEvaluationMethodDescription
Returns the description of the evaluation method.- Specified by:
getEvaluationMethodDescription
in interfaceElement
- Returns:
- Description of the evaluation method, or
null
.
-
setEvaluationMethodDescription
Set the description of the evaluation method. -
getEvaluationProcedure
Returns the reference to the procedure information, ornull
if none.- Specified by:
getEvaluationProcedure
in interfaceElement
- Returns:
- Reference to the procedure information, or
null
.
-
setEvaluationProcedure
Set the reference to the procedure information. -
getDates
Returns the date or range of dates on which a data quality measure was applied. The array length is 1 for a single date, or 2 for a range. Returns an empty list if this information is not available. -
setDates
Set the date or range of dates on which a data quality measure was applied. The collection size is 1 for a single date, or 2 for a range.- Since:
- 2.4
-
getResults
Returns the value (or set of values) obtained from applying a data quality measure or the out come of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.- Specified by:
getResults
in interfaceElement
- Returns:
- Set of values obtained from applying a data quality measure.
- Since:
- 2.4
-
setResults
Set the value (or set of values) obtained from applying a data quality measure or the out come of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level.- Since:
- 2.4
-