public class DimensionImpl extends MetadataEntity implements Dimension
LOGGER
Constructor and Description |
---|
DimensionImpl()
Constructs an initially empty dimension.
|
DimensionImpl(Dimension source)
Constructs a metadata entity initialized with the values from the specified metadata.
|
DimensionImpl(DimensionNameType dimensionName,
int dimensionSize) |
Modifier and Type | Method and Description |
---|---|
DimensionNameType |
getDimensionName()
Name of the axis.
|
Integer |
getDimensionSize()
Number of elements along the axis.
|
Double |
getResolution()
Degree of detail in the grid dataset.
|
void |
setDimensionName(DimensionNameType newValue)
Set the name of the axis.
|
void |
setDimensionSize(Integer newValue)
Set the number of elements along the axis.
|
void |
setResolution(Double newValue)
Set the degree of detail in the grid dataset.
|
ensureNonNull, getStandard
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
asMap, asTree, equals, getInterface, hashCode, toString
public DimensionImpl()
public DimensionImpl(Dimension source)
public DimensionImpl(DimensionNameType dimensionName, int dimensionSize)
public DimensionNameType getDimensionName()
getDimensionName
in interface Dimension
public void setDimensionName(DimensionNameType newValue)
public Integer getDimensionSize()
getDimensionSize
in interface Dimension
public void setDimensionSize(Integer newValue)
public Double getResolution()
getResolution
in interface Dimension
null
.public void setResolution(Double newValue)
Copyright © 1996–2019 Geotools. All rights reserved.