Class DefaultEvaluationMethod
java.lang.Object
org.apache.sis.metadata.AbstractMetadata
org.apache.sis.metadata.ModifiableMetadata
org.apache.sis.metadata.iso.ISOMetadata
org.apache.sis.metadata.iso.quality.ISOMetadata
org.apache.sis.metadata.iso.quality.DefaultEvaluationMethod
- All Implemented Interfaces:
Serializable
,Emptiable
,LenientComparable
,IdentifiedObject
- Direct Known Subclasses:
AbstractDataEvaluation
,DefaultAggregationDerivation
@UML(identifier="DQ_EvaluationMethod",
specification=UNSPECIFIED)
public class DefaultEvaluationMethod
extends ISOMetadata
Description of the evaluation method and procedure applied.
Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
Serialization support is appropriate for short term storage or RMI between applications running the
same version of Apache SIS. For long term storage, use
XML
instead.
- Since:
- 1.3
- Version:
- 1.3
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
The start and end times as a list of O, 1 or 2 elements.Nested classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DefaultEvaluationMethod.Dates
Date or range of dates on which a data quality measure was applied.private org.opengis.util.InternationalString
Description of the evaluation method.private org.opengis.metadata.quality.EvaluationMethodType
Type of method used to evaluate quality of the data.private org.opengis.metadata.citation.Citation
Reference to the procedure information.private Collection
<org.opengis.metadata.citation.Citation> Information on documents which are referenced in developing and applying a data quality evaluation method.private static final long
Serial number for inter-operability with different versions.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty evaluation method.Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptiongetDates()
Returns the date or range of dates on which a data quality measure was applied.org.opengis.util.InternationalString
Returns the description of the evaluation method.org.opengis.metadata.quality.EvaluationMethodType
Returns the type of method used to evaluate quality of the data.org.opengis.metadata.citation.Citation
Returns the reference to the procedure information.Collection
<org.opengis.metadata.citation.Citation> Returns information on documents which are referenced in developing and applying a data quality evaluation method.void
setDates
(Collection<? extends Temporal> newValues) Sets the date or range of dates on which a data quality measure was applied.void
setEvaluationMethodDescription
(org.opengis.util.InternationalString newValue) Sets the description of the evaluation method.void
setEvaluationMethodType
(org.opengis.metadata.quality.EvaluationMethodType newValue) Sets the type of method used to evaluate quality of the data.void
setEvaluationProcedure
(org.opengis.metadata.citation.Citation newValue) Sets the reference to the procedure information.void
setReferenceDocuments
(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the information on documents referenced in data quality evaluation method.private void
writeDates
(Collection<? extends Temporal> newValues) Implementation ofsetDates(Collection)
.Methods inherited from class org.apache.sis.metadata.iso.quality.ISOMetadata
getStandard
Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionTo
Methods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSet
Methods inherited from class org.apache.sis.metadata.AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
evaluationMethodType
private org.opengis.metadata.quality.EvaluationMethodType evaluationMethodTypeType of method used to evaluate quality of the data. -
evaluationMethodDescription
private org.opengis.util.InternationalString evaluationMethodDescriptionDescription of the evaluation method. -
evaluationProcedure
private org.opengis.metadata.citation.Citation evaluationProcedureReference to the procedure information. -
referenceDocuments
Information on documents which are referenced in developing and applying a data quality evaluation method. -
dates
Date or range of dates on which a data quality measure was applied.
-
-
Constructor Details
-
DefaultEvaluationMethod
public DefaultEvaluationMethod()Constructs an initially empty evaluation method. -
DefaultEvaluationMethod
Constructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
object
- the metadata to copy values from, ornull
if none.
-
-
Method Details
-
getEvaluationMethodType
@UML(identifier="evaluationMethodType", obligation=OPTIONAL, specification=UNSPECIFIED) public org.opengis.metadata.quality.EvaluationMethodType getEvaluationMethodType()Returns the type of method used to evaluate quality of the data.- Returns:
- type of method used to evaluate quality, or
null
if none.
-
setEvaluationMethodType
public void setEvaluationMethodType(org.opengis.metadata.quality.EvaluationMethodType newValue) Sets the type of method used to evaluate quality of the data.- Parameters:
newValue
- the new evaluation method type.
-
getEvaluationMethodDescription
@UML(identifier="evaluationMethodDescription", obligation=OPTIONAL, specification=UNSPECIFIED) public org.opengis.util.InternationalString getEvaluationMethodDescription()Returns the description of the evaluation method.- Returns:
- description of the evaluation method, or
null
if none.
-
setEvaluationMethodDescription
public void setEvaluationMethodDescription(org.opengis.util.InternationalString newValue) Sets the description of the evaluation method.- Parameters:
newValue
- the new evaluation method description.
-
getEvaluationProcedure
@UML(identifier="evaluationProcedure", obligation=OPTIONAL, specification=UNSPECIFIED) public org.opengis.metadata.citation.Citation getEvaluationProcedure()Returns the reference to the procedure information.- Returns:
- reference to the procedure information, or
null
if none.
-
setEvaluationProcedure
public void setEvaluationProcedure(org.opengis.metadata.citation.Citation newValue) Sets the reference to the procedure information.- Parameters:
newValue
- the new evaluation procedure.
-
getReferenceDocuments
@UML(identifier="referenceDoc", obligation=OPTIONAL, specification=UNSPECIFIED) public Collection<org.opengis.metadata.citation.Citation> getReferenceDocuments()Returns information on documents which are referenced in developing and applying a data quality evaluation method.- Returns:
- documents referenced in data quality evaluation method.
-
setReferenceDocuments
public void setReferenceDocuments(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the information on documents referenced in data quality evaluation method.- Parameters:
newValues
- the new name of measures.
-
getDates
@UML(identifier="dateTime", obligation=OPTIONAL, specification=UNSPECIFIED) public Collection<Temporal> getDates()Returns 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. Returns an empty collection if this information is not available.- Returns:
- date or range of dates on which a data quality measure was applied.
-
setDates
Sets 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.- Parameters:
newValues
- the new dates, ornull
.
-
writeDates
Implementation ofsetDates(Collection)
.
-