public class DefaultRangeElementDescription extends ISOMetadata implements RangeElementDescription
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
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.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, 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–2015 The Apache Software Foundation. All rights reserved.