public class AbstractElement extends ISOMetadata implements Element
Defined in the sis-metadata module
identifiers, LOGGER
Constructor and Description |
---|
AbstractElement()
Constructs an initially empty element.
|
AbstractElement(Element object)
Constructs a new instance initialized with the values from the specified metadata object.
|
AbstractElement(Result result)
Creates an element initialized to the given result.
|
Modifier and Type | Method and Description |
---|---|
static AbstractElement |
castOrCopy(Element object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
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.
|
Citation |
getEvaluationProcedure()
Returns the reference to the procedure information, or
null if none. |
InternationalString |
getMeasureDescription()
Returns the description of the measure being determined.
|
Identifier |
getMeasureIdentification()
Returns the code identifying a registered standard procedure, or
null 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<? extends Date> newValues)
Sets the date or range of dates on which a data quality measure was applied.
|
void |
setEvaluationMethodDescription(InternationalString newValue)
Sets the description of the evaluation method.
|
void |
setEvaluationMethodType(EvaluationMethodType newValue)
Sets the type of method used to evaluate quality of the dataset.
|
void |
setEvaluationProcedure(Citation newValue)
Sets the reference to the procedure information.
|
void |
setMeasureDescription(InternationalString newValue)
Sets the description of the measure being determined.
|
void |
setMeasureIdentification(Identifier newValue)
Sets the code identifying a registered standard procedure.
|
void |
setNamesOfMeasure(Collection<? extends InternationalString> newValues)
Sets the name of the test applied to the data.
|
void |
setResults(Collection<? extends Result> newValues)
Sets 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.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public AbstractElement()
public AbstractElement(Result result)
result
- The value obtained from applying a data quality measure against a specified
acceptable conformance quality level.public AbstractElement(Element object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Element)
public static AbstractElement castOrCopy(Element object)
null
, then this method returns null
.PositionalAccuracy
,
TemporalAccuracy
, ThematicAccuracy
, LogicalConsistency
,
Completeness
or Usability
, then this method delegates to the
castOrCopy(…)
method of the corresponding SIS subclass.
Note that if the given object implements more than one of the above-cited interfaces,
then the castOrCopy(…)
method to be used is unspecified.AbstractElement
, then it is returned unchanged.AbstractElement
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public Collection<InternationalString> getNamesOfMeasure()
getNamesOfMeasure
in interface Element
public void setNamesOfMeasure(Collection<? extends InternationalString> newValues)
newValues
- The new name of measures.public Identifier getMeasureIdentification()
null
if none.getMeasureIdentification
in interface Element
null
.public void setMeasureIdentification(Identifier newValue)
newValue
- The new measure identification.public InternationalString getMeasureDescription()
getMeasureDescription
in interface Element
null
.public void setMeasureDescription(InternationalString newValue)
newValue
- The new measure description.public EvaluationMethodType getEvaluationMethodType()
getEvaluationMethodType
in interface Element
null
.public void setEvaluationMethodType(EvaluationMethodType newValue)
newValue
- The new evaluation method type.public InternationalString getEvaluationMethodDescription()
getEvaluationMethodDescription
in interface Element
null
.public void setEvaluationMethodDescription(InternationalString newValue)
newValue
- The new evaluation method description.public Citation getEvaluationProcedure()
null
if none.getEvaluationProcedure
in interface Element
null
.public void setEvaluationProcedure(Citation newValue)
newValue
- The new evaluation procedure.public Collection<Date> getDates()
public void setDates(Collection<? extends Date> newValues)
newValues
- The new dates, or null
.public Collection<Result> getResults()
getResults
in interface Element
public void setResults(Collection<? extends Result> newValues)
newValues
- The new results.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.