@TitleProperty(name="name") public class DefaultRangeElementDescription extends ISOMetadata implements RangeElementDescription
MI_RangeElementDescription
├─name………………………………………………
Designation associated with a set of range elements.
├─definition………………………………
Description of a set of specific range elements.
└─rangeElement…………………………
Specific range elements, i.e. range elements associated with a name and their definition.Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultRangeElementDescription()
Constructs an initially empty range element description.
|
DefaultRangeElementDescription(RangeElementDescription object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultRangeElementDescription |
castOrCopy(RangeElementDescription object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getDefinition()
Returns the description of a set of specific range elements.
|
InternationalString |
getName()
Returns the designation associated with a set of range elements.
|
Collection<Record> |
getRangeElements()
Returns the specific range elements, i.e. range elements associated with a name
and their definition.
|
void |
setDefinition(InternationalString newValue)
Sets the description of a set of specific range elements.
|
void |
setName(InternationalString newValue)
Sets the designation associated with a set of range elements.
|
void |
setRangeElements(Collection<? extends Record> newValues)
Sets the specific range elements, i.e. range elements associated with a name and their definition.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultRangeElementDescription()
public DefaultRangeElementDescription(RangeElementDescription object)
object
- the metadata to copy values from, or null
if none.castOrCopy(RangeElementDescription)
public static DefaultRangeElementDescription castOrCopy(RangeElementDescription object)
null
, then this method returns null
.DefaultRangeElementDescription
, then it is returned unchanged.DefaultRangeElementDescription
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- the object to get as a SIS implementation, or null
if none.null
if the argument was null.public InternationalString getName()
getName
in interface RangeElementDescription
null
.public void setName(InternationalString newValue)
newValue
- the new name value.public InternationalString getDefinition()
getDefinition
in interface RangeElementDescription
null
.public void setDefinition(InternationalString newValue)
newValue
- the new definition value.public Collection<Record> getRangeElements()
getRangeElements
in interface RangeElementDescription
Record
in order to use the annotation.public void setRangeElements(Collection<? extends Record> newValues)
newValues
- the new range element values.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.