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.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
- Author:
- Alexis Gaillard (Geomatys), Martin Desruisseaux (Geomatys)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State -
Field Summary
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.Returns the metadata standard, which is ISO 19157.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.Methods 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
-
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.
-
getStandard
Returns the metadata standard, which is ISO 19157.- Overrides:
getStandardin classISOMetadata- Returns:
- the metadata standard, which is ISO 19157.
-