org.geotools.metadata.iso.spatial
Class GridSpatialRepresentationImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.spatial.SpatialRepresentationImpl
          extended byorg.geotools.metadata.iso.spatial.GridSpatialRepresentationImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.spatial.GridSpatialRepresentation, java.io.Serializable, org.opengis.metadata.spatial.SpatialRepresentation
Direct Known Subclasses:
GeorectifiedImpl, GeoreferenceableImpl

public class GridSpatialRepresentationImpl
extends SpatialRepresentationImpl
implements org.opengis.metadata.spatial.GridSpatialRepresentation

Basic information required to uniquely identify a resource or resources.

Since:
2.1
Version:
$Id: GridSpatialRepresentationImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
GridSpatialRepresentationImpl()
          Constructs an initially empty grid spatial representation.
GridSpatialRepresentationImpl(int numberOfDimensions, java.util.List axisDimensionsProperties, org.opengis.metadata.spatial.CellGeometry cellGeometry, boolean transformationParameterAvailable)
          Creates a grid spatial representation initialized to the given values.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this grid spatial representation with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.List getAxisDimensionsProperties()
          Information about spatial-temporal axis properties.
 org.opengis.metadata.spatial.CellGeometry getCellGeometry()
          Identification of grid data as point or cell.
 int getNumberOfDimensions()
          Number of independent spatial-temporal axes.
 int hashCode()
          Returns a hash code value for this representation.
 boolean isTransformationParameterAvailable()
          Indication of whether or not parameters for transformation exists.
 void setAxisDimensionsProperties(java.util.List newValues)
          Set information about spatial-temporal axis properties.
 void setCellGeometry(org.opengis.metadata.spatial.CellGeometry newValue)
          Set identification of grid data as point or cell.
 void setNumberOfDimensions(int newValue)
          Set the number of independent spatial-temporal axes.
 void setTransformationParameterAvailable(boolean newValue)
          Set indication of whether or not parameters for transformation exists.
 java.lang.String toString()
          Returns a string representation of this representation.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridSpatialRepresentationImpl

public GridSpatialRepresentationImpl()
Constructs an initially empty grid spatial representation.


GridSpatialRepresentationImpl

public GridSpatialRepresentationImpl(int numberOfDimensions,
                                     java.util.List axisDimensionsProperties,
                                     org.opengis.metadata.spatial.CellGeometry cellGeometry,
                                     boolean transformationParameterAvailable)
Creates a grid spatial representation initialized to the given values.

Method Detail

getNumberOfDimensions

public int getNumberOfDimensions()
Number of independent spatial-temporal axes.

Specified by:
getNumberOfDimensions in interface org.opengis.metadata.spatial.GridSpatialRepresentation

setNumberOfDimensions

public void setNumberOfDimensions(int newValue)
Set the number of independent spatial-temporal axes.


getAxisDimensionsProperties

public java.util.List getAxisDimensionsProperties()
Information about spatial-temporal axis properties.

Specified by:
getAxisDimensionsProperties in interface org.opengis.metadata.spatial.GridSpatialRepresentation

setAxisDimensionsProperties

public void setAxisDimensionsProperties(java.util.List newValues)
Set information about spatial-temporal axis properties.


getCellGeometry

public org.opengis.metadata.spatial.CellGeometry getCellGeometry()
Identification of grid data as point or cell.

Specified by:
getCellGeometry in interface org.opengis.metadata.spatial.GridSpatialRepresentation

setCellGeometry

public void setCellGeometry(org.opengis.metadata.spatial.CellGeometry newValue)
Set identification of grid data as point or cell.


isTransformationParameterAvailable

public boolean isTransformationParameterAvailable()
Indication of whether or not parameters for transformation exists.

Specified by:
isTransformationParameterAvailable in interface org.opengis.metadata.spatial.GridSpatialRepresentation

setTransformationParameterAvailable

public void setTransformationParameterAvailable(boolean newValue)
Set indication of whether or not parameters for transformation exists.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this grid spatial representation with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this representation. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.


toString

public java.lang.String toString()
Returns a string representation of this representation.



Copyright © GeoTools. All Rights Reserved.