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
XMLinstead.
- Since:
- 1.3
- Version:
- 1.3
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classThe 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.DatesDate or range of dates on which a data quality measure was applied.private org.opengis.util.InternationalStringDescription of the evaluation method.private org.opengis.metadata.quality.EvaluationMethodTypeType of method used to evaluate quality of the data.private org.opengis.metadata.citation.CitationReference 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 longSerial 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.InternationalStringReturns the description of the evaluation method.org.opengis.metadata.quality.EvaluationMethodTypeReturns the type of method used to evaluate quality of the data.org.opengis.metadata.citation.CitationReturns 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.voidsetDates(Collection<? extends Temporal> newValues) Sets the date or range of dates on which a data quality measure was applied.voidsetEvaluationMethodDescription(org.opengis.util.InternationalString newValue) Sets the description of the evaluation method.voidsetEvaluationMethodType(org.opengis.metadata.quality.EvaluationMethodType newValue) Sets the type of method used to evaluate quality of the data.voidsetEvaluationProcedure(org.opengis.metadata.citation.Citation newValue) Sets the reference to the procedure information.voidsetReferenceDocuments(Collection<? extends org.opengis.metadata.citation.Citation> newValues) Sets the information on documents referenced in data quality evaluation method.private voidwriteDates(Collection<? extends Temporal> newValues) Implementation ofsetDates(Collection).Methods inherited from class org.apache.sis.metadata.iso.quality.ISOMetadata
getStandardMethods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionToMethods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods 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, ornullif 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
nullif 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
nullif 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
nullif 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).
-