oracle.sdoapi.util
Interface GeometryMetaData


public interface GeometryMetaData

GeometryMetaData is an interface that contains information such as geometry column envelope, spatial reference system, and dimensional information.

Since:
JDK1.2

Method Summary
 Envelope getExtent()
          Gets the extent of the whole geometry column.
 java.lang.String getGeometryColumnName()
          Gets the database column name where the geometry resides.
 java.lang.String getGeometryTableName()
          Gets the database table name where the geometry resides.
 int getNumDimensions()
          Gets the number of dimensions.
 int getSpatialReferenceID()
          Gets the spatial reference system ID of the whole geometry column.
 boolean isCompatible(GeometryMetaData metadata)
          Determines if this geometry metadata object is compatible with another metadata object.
 

Method Detail

getGeometryTableName

public java.lang.String getGeometryTableName()
Gets the database table name where the geometry resides. This name is not specified if the geometry is not from the database.
Returns:
a string with the geometry table name
Since:
JDK1.2

getGeometryColumnName

public java.lang.String getGeometryColumnName()
Gets the database column name where the geometry resides. This name is not specified if the geometry is not from the database.
Returns:
a string with the geometry column name
Since:
JDK1.2

getNumDimensions

public int getNumDimensions()
Gets the number of dimensions.
Returns:
the number of dimensions for the geometry objects
Since:
JDK1.2

getExtent

public Envelope getExtent()
Gets the extent of the whole geometry column.
Returns:
the envelope (MBR) of all geometric objects in the geometry column
Since:
JDK1.2

getSpatialReferenceID

public int getSpatialReferenceID()
Gets the spatial reference system ID of the whole geometry column.
Returns:
the spatial reference system ID of the geometry objects
Since:
JDK1.2

isCompatible

public boolean isCompatible(GeometryMetaData metadata)
Determines if this geometry metadata object is compatible with another metadata object. For now, only the dimensionalities are checked.
Parameters:
metadata - the geometry metadata to check against
Since:
JDK1.2