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.InternationalStringgetEvaluationMethodDescription()Returns the description of the evaluation method.EvaluationMethodTypegetEvaluationMethodType()Returns the type of method used to evaluate quality of the dataset, ornullif unspecified.CitationgetEvaluationProcedure()Returns the reference to the procedure information, ornullif none.InternationalStringgetMeasureDescription()Returns the description of the measure being determined.IdentifiergetMeasureIdentification()Returns the code identifying a registered standard procedure, ornullif 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.voidsetDates(Collection<Date> newValues)Set the date or range of dates on which a data quality measure was applied.voidsetEvaluationMethodDescription(InternationalString newValue)Set the description of the evaluation method.voidsetEvaluationMethodType(EvaluationMethodType newValue)Set the ype of method used to evaluate quality of the dataset.voidsetEvaluationProcedure(Citation newValue)Set the reference to the procedure information.voidsetMeasureDescription(InternationalString newValue)Set the description of the measure being determined.voidsetMeasureIdentification(Identifier newValue)Set the code identifying a registered standard procedure.voidsetNamesOfMeasure(Collection<? extends InternationalString> newValues)Set the name of the test applied to the data.voidsetResults(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:
getNamesOfMeasurein 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, ornullif none.- Specified by:
getMeasureIdentificationin 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:
getMeasureDescriptionin 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, ornullif unspecified.- Specified by:
getEvaluationMethodTypein 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:
getEvaluationMethodDescriptionin 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, ornullif none.- Specified by:
getEvaluationProcedurein 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:
getResultsin 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
-
-