org.geotools.data.jdbc
Class JDBCDataStore.FeatureTypeInfo

java.lang.Object
  extended byorg.geotools.data.jdbc.JDBCDataStore.FeatureTypeInfo
Enclosing class:
JDBCDataStore

public static class JDBCDataStore.FeatureTypeInfo
extends java.lang.Object

Stores information about known FeatureTypes.

Author:
Sean Geoghegan, Defence Science and Technology Organisation.

Constructor Summary
JDBCDataStore.FeatureTypeInfo(java.lang.String typeName, java.lang.String fidColumn, FeatureType schema)
           
 
Method Summary
 java.lang.String getFeatureTypeName()
          DOCUMENT ME!
 java.lang.String getFidColumnName()
          Returns the name of FidColumn if we are using one.
 FeatureType getSchema()
          DOCUMENT ME!
 int getSRID(java.lang.String geometryAttributeName)
          Get the DataStore specific SRID for a geometry column
 java.util.Map getSRIDs()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JDBCDataStore.FeatureTypeInfo

public JDBCDataStore.FeatureTypeInfo(java.lang.String typeName,
                                     java.lang.String fidColumn,
                                     FeatureType schema)
Method Detail

getFeatureTypeName

public java.lang.String getFeatureTypeName()
DOCUMENT ME!

Returns:

getFidColumnName

public java.lang.String getFidColumnName()
Returns the name of FidColumn if we are using one.

This is used when we are using a Primary Key for our Feature ID. If this value is null we are letting a sequence or OID do the work.

Returns:

getSchema

public FeatureType getSchema()
DOCUMENT ME!

Returns:

getSRID

public int getSRID(java.lang.String geometryAttributeName)
Get the DataStore specific SRID for a geometry column

Parameters:
geometryAttributeName - The name of the Geometry column to get the srid for.
Returns:
The srid of the geometry column. This will only be present if determineSRID(String) of JDBCDataStore has been overridden. If there is no SRID registered -1 will be returned.

getSRIDs

public java.util.Map getSRIDs()

toString

public java.lang.String toString()


Copyright © 1996-2003 GeoTools. All Rights Reserved.