org.geotools.metadata.iso.spatial
Class GeometricObjectsImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by GeometricObjectsImpl
All Implemented Interfaces:
Serializable, Cloneable, GeometricObjects

public class GeometricObjectsImpl
extends MetadataEntity
implements GeometricObjects

Number of objects, listed by geometric object type, used in the dataset.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
GeometricObjectsImpl()
          Constructs an initially empty geometric objects.
GeometricObjectsImpl(GeometricObjects source)
          Constructs a metadata entity initialized with the values from the specified metadata.
GeometricObjectsImpl(GeometricObjectType geometricObjectType)
          Creates a geometric object initialized to the given type.
 
Method Summary
 Integer getGeometricObjectCount()
          Total number of the point or vector object type occurring in the dataset.
 GeometricObjectType getGeometricObjectType()
          Total number of the point or vector object type occurring in the dataset.
 void setGeometricObjectCount(Integer newValue)
          Set the total number of the point or vector object type occurring in the dataset.
 void setGeometricObjectType(GeometricObjectType newValue)
          Set the total number of the point or vector object type occurring in the 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

GeometricObjectsImpl

public GeometricObjectsImpl()
Constructs an initially empty geometric objects.


GeometricObjectsImpl

public GeometricObjectsImpl(GeometricObjects source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

GeometricObjectsImpl

public GeometricObjectsImpl(GeometricObjectType geometricObjectType)
Creates a geometric object initialized to the given type.

Method Detail

getGeometricObjectType

public GeometricObjectType getGeometricObjectType()
Total number of the point or vector object type occurring in the dataset.

Specified by:
getGeometricObjectType in interface GeometricObjects

setGeometricObjectType

public void setGeometricObjectType(GeometricObjectType newValue)
Set the total number of the point or vector object type occurring in the dataset.


getGeometricObjectCount

public Integer getGeometricObjectCount()
Total number of the point or vector object type occurring in the dataset.

Specified by:
getGeometricObjectCount in interface GeometricObjects

setGeometricObjectCount

public void setGeometricObjectCount(Integer newValue)
Set the total number of the point or vector object type occurring in the dataset.



Copyright © 1996-2009 Geotools. All Rights Reserved.