org.geotools.metadata.iso.spatial
Class DimensionImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.spatial.DimensionImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.spatial.Dimension

public class DimensionImpl
extends MetadataEntity
implements org.opengis.metadata.spatial.Dimension

Axis properties.

Since:
2.1
Version:
$Id: DimensionImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
DimensionImpl()
          Constructs an initially empty dimension.
DimensionImpl(org.opengis.metadata.spatial.Dimension source)
          Constructs a metadata entity initialized with the values from the specified metadata.
DimensionImpl(org.opengis.metadata.spatial.DimensionNameType dimensionName, int dimensionSize)
           
 
Method Summary
 org.opengis.metadata.spatial.DimensionNameType getDimensionName()
          Name of the axis.
 java.lang.Integer getDimensionSize()
          Number of elements along the axis.
 java.lang.Double getResolution()
          Degree of detail in the grid dataset.
 void setDimensionName(org.opengis.metadata.spatial.DimensionNameType newValue)
          Set the name of the axis.
 void setDimensionSize(java.lang.Integer newValue)
          Set the number of elements along the axis.
 void setResolution(java.lang.Double newValue)
          Set the degree of detail in the grid dataset.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DimensionImpl

public DimensionImpl()
Constructs an initially empty dimension.


DimensionImpl

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

Since:
2.4

DimensionImpl

public DimensionImpl(org.opengis.metadata.spatial.DimensionNameType dimensionName,
                     int dimensionSize)
Method Detail

getDimensionName

public org.opengis.metadata.spatial.DimensionNameType getDimensionName()
Name of the axis.

Specified by:
getDimensionName in interface org.opengis.metadata.spatial.Dimension

setDimensionName

public void setDimensionName(org.opengis.metadata.spatial.DimensionNameType newValue)
Set the name of the axis.


getDimensionSize

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

Specified by:
getDimensionSize in interface org.opengis.metadata.spatial.Dimension

setDimensionSize

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


getResolution

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

Specified by:
getResolution in interface org.opengis.metadata.spatial.Dimension

setResolution

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



Copyright © 1996-2010 Geotools. All Rights Reserved.