Class DefaultBasicMeasure
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.DefaultBasicMeasure
- All Implemented Interfaces:
Serializable,Emptiable,LenientComparable,IdentifiedObject
@UML(identifier="DQM_BasicMeasure",
specification=UNSPECIFIED)
public class DefaultBasicMeasure
extends ISOMetadata
Data quality basic measure.
The following property is mandatory in a well-formed metadata according ISO 19157:
DQM_BasicMeasure
├─name…………………… Name of the data quality basic measure applied to the data.
├─definition…… Definition of the data quality basic measure.
├─example…………… Illustration of the use of a data quality measure.
└─valueType……… Value type for the result of the basic measure (shall be one of the data types defined in ISO/TS 19103:2005).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 classes/interfaces inherited from class org.apache.sis.metadata.ModifiableMetadata
ModifiableMetadata.State -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.opengis.util.InternationalStringDefinition of the data quality basic measure.private DefaultMeasureDescriptionIllustration of the use of a data quality measure.private org.opengis.util.InternationalStringName of the data quality basic measure applied to the data.private static final longSerial number for inter-operability with different versions.private org.opengis.util.TypeNameValue type for the result of the basic measure.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty basic measure.Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.util.InternationalStringReturns the definition of the data quality basic measure.Returns the illustration of the use of a data quality measure.org.opengis.util.InternationalStringgetName()Returns the name of the data quality basic measure.org.opengis.util.TypeNameReturns the value type for the result of the basic measure.voidsetDefinition(org.opengis.util.InternationalString newValue) Sets the definition of the data quality basic measure.voidsetExample(DefaultMeasureDescription newValues) Sets the illustration of the use of a data quality measure.voidsetName(org.opengis.util.InternationalString newValue) Sets the name of the data quality basic measure.voidsetValueType(org.opengis.util.TypeName newValue) Sets the value type for the result of the basic measure.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:
-
name
private org.opengis.util.InternationalString nameName of the data quality basic measure applied to the data. -
definition
private org.opengis.util.InternationalString definitionDefinition of the data quality basic measure. -
example
Illustration of the use of a data quality measure. -
valueType
private org.opengis.util.TypeName valueTypeValue type for the result of the basic measure.
-
-
Constructor Details
-
DefaultBasicMeasure
public DefaultBasicMeasure()Constructs an initially empty basic measure. -
DefaultBasicMeasure
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
-
getName
@UML(identifier="name", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getName()Returns the name of the data quality basic measure.- Returns:
- name of the data quality basic measure.
-
setName
public void setName(org.opengis.util.InternationalString newValue) Sets the name of the data quality basic measure.- Parameters:
newValue- the new basic measure name.
-
getDefinition
@UML(identifier="definition", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getDefinition()Returns the definition of the data quality basic measure.- Returns:
- definition of the data quality basic measure.
-
setDefinition
public void setDefinition(org.opengis.util.InternationalString newValue) Sets the definition of the data quality basic measure.- Parameters:
newValue- the new basic measure definition.
-
getExample
@UML(identifier="example", obligation=OPTIONAL, specification=UNSPECIFIED) public DefaultMeasureDescription getExample()Returns the illustration of the use of a data quality measure.- Returns:
- usage example, or
nullif none.
-
setExample
Sets the illustration of the use of a data quality measure.- Parameters:
newValues- the new basic measure example.
-
getValueType
@UML(identifier="valueType", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.TypeName getValueType()Returns the value type for the result of the basic measure.- Returns:
- value type of the result for the basic measure.
-
setValueType
public void setValueType(org.opengis.util.TypeName newValue) Sets the value type for the result of the basic measure.- Parameters:
newValue- the new basic measure value type.
-