Class DefaultBasicMeasure
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
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
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty basic measure.Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the definition of the data quality basic measure.Returns the illustration of the use of a data quality measure.getName()Returns the name of the data quality basic measure.Returns the metadata standard, which is ISO 19157.Returns the value type for the result of the basic measure.voidsetDefinition(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(InternationalString newValue) Sets the name of the data quality basic measure.voidsetValueType(TypeName newValue) Sets the value type for the result of the basic measure.Methods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultBasicMeasurepublic DefaultBasicMeasure()Constructs an initially empty basic measure.
- 
DefaultBasicMeasureConstructs 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, or- nullif none.
 
 
- 
- 
Method Details- 
getName@UML(identifier="name", obligation=MANDATORY, specification=UNSPECIFIED) public InternationalString getName()Returns the name of the data quality basic measure.- Returns:
- name of the data quality basic measure.
 
- 
setNameSets the name of the data quality basic measure.- Parameters:
- newValue- the new basic measure name.
 
- 
getDefinition@UML(identifier="definition", obligation=MANDATORY, specification=UNSPECIFIED) public InternationalString getDefinition()Returns the definition of the data quality basic measure.- Returns:
- definition of the data quality basic measure.
 
- 
setDefinitionSets 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.
 
- 
setExampleSets 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 TypeName getValueType()Returns the value type for the result of the basic measure.- Returns:
- value type of the result for the basic measure.
 
- 
setValueTypeSets the value type for the result of the basic measure.- Parameters:
- newValue- the new basic measure value type.
 
- 
getStandardReturns the metadata standard, which is ISO 19157.- Overrides:
- getStandardin class- ISOMetadata
- Returns:
- the metadata standard, which is ISO 19157.
 
 
-