org.geotools.metadata.iso.content
Class CoverageDescriptionImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.content.ContentInformationImpl
          extended byorg.geotools.metadata.iso.content.CoverageDescriptionImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.content.ContentInformation, org.opengis.metadata.content.CoverageDescription, java.io.Serializable
Direct Known Subclasses:
ImageDescriptionImpl

public class CoverageDescriptionImpl
extends ContentInformationImpl
implements org.opengis.metadata.content.CoverageDescription

Information about the content of a grid data cell.

Since:
2.1
Version:
$Id: CoverageDescriptionImpl.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
CoverageDescriptionImpl()
          Constructs an empty coverage description.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this coverage description with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.lang.Class getAttributeDescription()
          Returns the description of the attribute described by the measurement value.
 org.opengis.metadata.content.CoverageContentType getContentType()
          Returns the type of information represented by the cell value.
 org.opengis.metadata.content.RangeDimension getDimension()
          Returns the information on the dimensions of the cell measurement value.
 int hashCode()
          Returns a hash code value for this coverage description.
 void setAttributeDescription(java.lang.Class newValue)
          Set the description of the attribute described by the measurement value.
 void setContentType(org.opengis.metadata.content.CoverageContentType newValue)
          Set the type of information represented by the cell value.
 void setDimension(org.opengis.metadata.content.RangeDimension newValue)
          Set the information on the dimensions of the cell measurement value.
 java.lang.String toString()
          Returns a string representation of this coverage description.
 
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

CoverageDescriptionImpl

public CoverageDescriptionImpl()
Constructs an empty coverage description.

Method Detail

getAttributeDescription

public java.lang.Class getAttributeDescription()
Returns the description of the attribute described by the measurement value.

Specified by:
getAttributeDescription in interface org.opengis.metadata.content.CoverageDescription

setAttributeDescription

public void setAttributeDescription(java.lang.Class newValue)
Set the description of the attribute described by the measurement value.


getContentType

public org.opengis.metadata.content.CoverageContentType getContentType()
Returns the type of information represented by the cell value.

Specified by:
getContentType in interface org.opengis.metadata.content.CoverageDescription

setContentType

public void setContentType(org.opengis.metadata.content.CoverageContentType newValue)
Set the type of information represented by the cell value.


getDimension

public org.opengis.metadata.content.RangeDimension getDimension()
Returns the information on the dimensions of the cell measurement value.

Specified by:
getDimension in interface org.opengis.metadata.content.CoverageDescription

setDimension

public void setDimension(org.opengis.metadata.content.RangeDimension newValue)
Set the information on the dimensions of the cell measurement value.


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 coverage description with the specified object for equality.

Overrides:
equals in class ContentInformationImpl

hashCode

public int hashCode()
Returns a hash code value for this coverage description. 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.

Overrides:
hashCode in class ContentInformationImpl

toString

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



Copyright © GeoTools. All Rights Reserved.