org.geotools.metadata.iso.spatial
Class DimensionImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DimensionImpl
All Implemented Interfaces:
Serializable, Cloneable, Dimension

public class DimensionImpl
extends MetadataEntity
implements Dimension

Axis properties.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
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)
           
 
Method Summary
 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.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimensionImpl

public DimensionImpl()
Constructs an initially empty dimension.


DimensionImpl

public DimensionImpl(Dimension source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

DimensionImpl

public DimensionImpl(DimensionNameType dimensionName,
                     int dimensionSize)
Method Detail

getDimensionName

public DimensionNameType getDimensionName()
Name of the axis.

Specified by:
getDimensionName in interface Dimension

setDimensionName

public void setDimensionName(DimensionNameType newValue)
Set the name of the axis.


getDimensionSize

public Integer getDimensionSize()
Number of elements along the axis.

Specified by:
getDimensionSize in interface Dimension

setDimensionSize

public void setDimensionSize(Integer newValue)
Set the number of elements along the axis.


getResolution

public Double getResolution()
Degree of detail in the grid dataset.

Specified by:
getResolution in interface Dimension

setResolution

public void setResolution(Double newValue)
Set the degree of detail in the grid dataset.



Copyright © 1996-2009 Geotools. All Rights Reserved.