Class ElementImpl
- Object
-
- AbstractMetadata
-
- ModifiableMetadata
-
- MetadataEntity
-
- ElementImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Element
- Direct Known Subclasses:
PositionalAccuracyImpl
public class ElementImpl extends MetadataEntity implements Element
Type of test applied to the data specified by a data quality scope.- 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 ElementImpl()
Constructs 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Date>
getDates()
Returns the date or range of dates on which a data quality measure was applied.InternationalString
getEvaluationMethodDescription()
Returns the description of the evaluation method.EvaluationMethodType
getEvaluationMethodType()
Returns the type of method used to evaluate quality of the dataset, ornull
if unspecified.Citation
getEvaluationProcedure()
Returns the reference to the procedure information, ornull
if none.InternationalString
getMeasureDescription()
Returns the description of the measure being determined.Identifier
getMeasureIdentification()
Returns the code identifying a registered standard procedure, ornull
if none.Collection<InternationalString>
getNamesOfMeasure()
Returns the name of the test applied to the data.Collection<Result>
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.void
setDates(Collection<Date> newValues)
Set the date or range of dates on which a data quality measure was applied.void
setEvaluationMethodDescription(InternationalString newValue)
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 Detail
-
ElementImpl
public ElementImpl()
Constructs an initially empty element.
-
ElementImpl
public ElementImpl(Element source)
Constructs a metadata entity initialized with the values from the specified metadata.- Since:
- 2.4
-
ElementImpl
public ElementImpl(Result result)
Creates an element initialized to the given result.
-
-
Method Detail
-
getNamesOfMeasure
public Collection<InternationalString> 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
public void setNamesOfMeasure(Collection<? extends InternationalString> newValues)
Set the name of the test applied to the data.
-
getMeasureIdentification
public Identifier 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
public void setMeasureIdentification(Identifier newValue)
Set the code identifying a registered standard procedure.
-
getMeasureDescription
public InternationalString getMeasureDescription()
Returns the description of the measure being determined.- Specified by:
getMeasureDescription
in interfaceElement
- Returns:
- Description of the measure being determined, or
null
.
-
setMeasureDescription
public void setMeasureDescription(InternationalString newValue)
Set the description of the measure being determined.
-
getEvaluationMethodType
public EvaluationMethodType 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
public void setEvaluationMethodType(EvaluationMethodType newValue)
Set the ype of method used to evaluate quality of the dataset.
-
getEvaluationMethodDescription
public InternationalString getEvaluationMethodDescription()
Returns the description of the evaluation method.- Specified by:
getEvaluationMethodDescription
in interfaceElement
- Returns:
- Description of the evaluation method, or
null
.
-
setEvaluationMethodDescription
public void setEvaluationMethodDescription(InternationalString newValue)
Set the description of the evaluation method.
-
getEvaluationProcedure
public Citation 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
public void setEvaluationProcedure(Citation newValue)
Set the reference to the procedure information.
-
getDates
public Collection<Date> 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
public void setDates(Collection<Date> newValues)
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
public Collection<Result> 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
public 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.- Since:
- 2.4
-
-