Class DefaultMeasureDescription
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.DefaultMeasureDescription
- All Implemented Interfaces:
Serializable
,Emptiable
,LenientComparable
,IdentifiedObject
@UML(identifier="DQM_Description",
specification=UNSPECIFIED)
public class DefaultMeasureDescription
extends ISOMetadata
Data quality measure description.
The following property is mandatory in a well-formed metadata according ISO 19157:
DQM_Description
└─textDescription……………
Text description.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
XML
instead.
- 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.metadata.identification.BrowseGraphic
Illustration.private static final long
Serial number for inter-operability with different versions.private org.opengis.util.InternationalString
Text description.Fields inherited from class org.apache.sis.metadata.iso.ISOMetadata
identifiers
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty description.Constructs a description initialized with the given text.Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.metadata.identification.BrowseGraphic
Returns the illustration.org.opengis.util.InternationalString
Returns the text description.void
setExtendedDescription
(org.opengis.metadata.identification.BrowseGraphic newValue) Sets the illustration.void
setTextDescription
(org.opengis.util.InternationalString newValue) Sets the text description.Methods inherited from class org.apache.sis.metadata.iso.quality.ISOMetadata
getStandard
Methods inherited from class org.apache.sis.metadata.iso.ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, setIdentifier, transitionTo
Methods inherited from class org.apache.sis.metadata.ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSet
Methods 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:
-
textDescription
private org.opengis.util.InternationalString textDescriptionText description. -
extendedDescription
private org.opengis.metadata.identification.BrowseGraphic extendedDescriptionIllustration.
-
-
Constructor Details
-
DefaultMeasureDescription
public DefaultMeasureDescription()Constructs an initially empty description. -
DefaultMeasureDescription
Constructs a description initialized with the given text.- Parameters:
text
- text description, ornull
if none.
-
DefaultMeasureDescription
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, ornull
if none.
-
-
Method Details
-
getTextDescription
@UML(identifier="textDescription", obligation=MANDATORY, specification=UNSPECIFIED) public org.opengis.util.InternationalString getTextDescription()Returns the text description.- Returns:
- text description.
-
setTextDescription
public void setTextDescription(org.opengis.util.InternationalString newValue) Sets the text description.- Parameters:
newValue
- the new description text.
-
getExtendedDescription
@UML(identifier="extendedDescription", obligation=OPTIONAL, specification=UNSPECIFIED) public org.opengis.metadata.identification.BrowseGraphic getExtendedDescription()Returns the illustration.- Returns:
- description illustration, or
null
if none.
-
setExtendedDescription
public void setExtendedDescription(org.opengis.metadata.identification.BrowseGraphic newValue) Sets the illustration.- Parameters:
newValue
- the new description illustration.
-