Class DefaultMeasureReference
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultMeasureReference
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject
@UML(identifier="DQ_MeasureReference",
     specification=UNSPECIFIED)
public class DefaultMeasureReference
extends ISOMetadata
Reference to the measure used.
 
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 measure reference.Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the description of the measure.Returns a value uniquely identifying the measure within a namespace.Returns the names of the test applied to the data.Returns the metadata standard, which is ISO 19157.voidsetMeasureDescription(InternationalString newValue) Sets the description of the measure.voidsetMeasureIdentification(Identifier newValue) Sets the identifier of the measure.voidsetNamesOfMeasure(Collection<? extends InternationalString> newValues) Sets the names of the test applied to the data.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- 
DefaultMeasureReferencepublic DefaultMeasureReference()Constructs an initially empty measure reference.
- 
DefaultMeasureReferenceConstructs 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- 
getMeasureIdentification@UML(identifier="measureIdentification", obligation=OPTIONAL, specification=UNSPECIFIED) public Identifier getMeasureIdentification()Returns a value uniquely identifying the measure within a namespace.- Returns:
- code identifying a registered measure, or nullif none.
 
- 
setMeasureIdentificationSets the identifier of the measure.- Parameters:
- newValue- the new measure identification.
 
- 
getNamesOfMeasure@UML(identifier="nameOfMeasure", obligation=CONDITIONAL, specification=UNSPECIFIED) public Collection<InternationalString> getNamesOfMeasure()Returns the names of the test applied to the data.- Returns:
- names of the test applied to the data.
 
- 
setNamesOfMeasureSets the names of the test applied to the data.- Parameters:
- newValues- the new name of measures.
 
- 
getMeasureDescription@UML(identifier="measureDescription", obligation=OPTIONAL, specification=UNSPECIFIED) public InternationalString getMeasureDescription()Returns the description of the measure.- Returns:
- description of the measure, or null.
 
- 
setMeasureDescriptionSets the description of the measure.- Parameters:
- newValue- the new measure description.
 
- 
getStandardReturns the metadata standard, which is ISO 19157.- Overrides:
- getStandardin class- ISOMetadata
- Returns:
- the metadata standard, which is ISO 19157.
 
 
-