@TitleProperty(name="dimensionName") public class DefaultDimension extends ISOMetadata implements Dimension
MD_Dimension
├─dimensionName…… Name of the axis.
└─dimensionSize…… Number of elements along the axis.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultDimension()
Constructs an initially empty dimension.
|
DefaultDimension(Dimension object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultDimension(DimensionNameType dimensionName,
int dimensionSize)
Creates a dimension initialized to the given type and size.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultDimension |
castOrCopy(Dimension object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getDimensionDescription()
Return the axis dimension description.
|
DimensionNameType |
getDimensionName()
Returns the name of the axis.
|
Integer |
getDimensionSize()
Returns the number of elements along the axis.
|
InternationalString |
getDimensionTitle()
Returns the enhancement / modifier of the dimension name.
|
Double |
getResolution()
Returns the degree of detail in the grid dataset.
|
void |
setDimensionDescription(InternationalString newValue)
Sets the axis dimension description.
|
void |
setDimensionName(DimensionNameType newValue)
Sets the name of the axis.
|
void |
setDimensionSize(Integer newValue)
Sets the number of elements along the axis.
|
void |
setDimensionTitle(InternationalString newValue)
Sets the enhancement / modifier of the dimension name.
|
void |
setResolution(Double newValue)
Sets the degree of detail in the grid dataset.
|
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultDimension()
public DefaultDimension(DimensionNameType dimensionName, int dimensionSize)
dimensionName - the name of the axis, or null if none, or null if none.dimensionSize - the number of elements along the axis, or null if none.IllegalArgumentException - if dimensionSize is negative.public DefaultDimension(Dimension object)
object - the metadata to copy values from, or null if none.castOrCopy(Dimension)public static DefaultDimension castOrCopy(Dimension object)
null, then this method returns null.DefaultDimension, then it is returned unchanged.DefaultDimension 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 DimensionNameType getDimensionName()
getDimensionName in interface Dimensionnull.public void setDimensionName(DimensionNameType newValue)
newValue - the new dimension name.@ValueRange(minimum=0.0) public Integer getDimensionSize()
getDimensionSize in interface Dimensionnull.public void setDimensionSize(Integer newValue)
newValue - the new dimension size, or null.IllegalArgumentException - if the given value is negative.@ValueRange(minimum=0.0, isMinIncluded=false) public Double getResolution()
getResolution in interface Dimensionnull.public void setResolution(Double newValue)
newValue - the new resolution, or null.IllegalArgumentException - if the given value is NaN, zero or negative.@UML(identifier="dimensionTitle", obligation=OPTIONAL, specification=ISO_19115) public InternationalString getDimensionTitle()
public void setDimensionTitle(InternationalString newValue)
newValue - the new enhancement / modifier of the dimension name.@UML(identifier="dimensionDescription", obligation=OPTIONAL, specification=ISO_19115) public InternationalString getDimensionDescription()
public void setDimensionDescription(InternationalString newValue)
newValue - the new axis dimension description.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.