org.geotools.metadata.iso.spatial
Class VectorSpatialRepresentationImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.spatial.SpatialRepresentationImpl
          extended byorg.geotools.metadata.iso.spatial.VectorSpatialRepresentationImpl
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, org.opengis.metadata.spatial.SpatialRepresentation, org.opengis.metadata.spatial.VectorSpatialRepresentation

public class VectorSpatialRepresentationImpl
extends SpatialRepresentationImpl
implements org.opengis.metadata.spatial.VectorSpatialRepresentation

Information about the vector spatial objects in the dataset.

Since:
2.1
Version:
$Id: VectorSpatialRepresentationImpl.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
VectorSpatialRepresentationImpl()
          Constructs an initially empty vector spatial representation.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this vector spatial representation with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.Collection getGeometricObjects()
          Information about the geometric objects used in the dataset.
 org.opengis.metadata.spatial.TopologyLevel getTopologyLevel()
          Code which identifies the degree of complexity of the spatial relationships.
 int hashCode()
          Returns a hash code value for this representation.
 void setGeometricObjects(java.util.Collection newValues)
          Set information about the geometric objects used in the dataset.
 void setTopologyLevel(org.opengis.metadata.spatial.TopologyLevel newValue)
          Set the code which identifies the degree of complexity of the spatial relationships.
 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

VectorSpatialRepresentationImpl

public VectorSpatialRepresentationImpl()
Constructs an initially empty vector spatial representation.

Method Detail

getTopologyLevel

public org.opengis.metadata.spatial.TopologyLevel getTopologyLevel()
Code which identifies the degree of complexity of the spatial relationships.

Specified by:
getTopologyLevel in interface org.opengis.metadata.spatial.VectorSpatialRepresentation

setTopologyLevel

public void setTopologyLevel(org.opengis.metadata.spatial.TopologyLevel newValue)
Set the code which identifies the degree of complexity of the spatial relationships.


getGeometricObjects

public java.util.Collection getGeometricObjects()
Information about the geometric objects used in the dataset.

Specified by:
getGeometricObjects in interface org.opengis.metadata.spatial.VectorSpatialRepresentation

setGeometricObjects

public void setGeometricObjects(java.util.Collection newValues)
Set information about the geometric objects used in the dataset.


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 vector 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.