org.geotools.data.jdbc
Class FeatureTypeInfo

java.lang.Object
  extended byorg.geotools.data.jdbc.FeatureTypeInfo

public class FeatureTypeInfo
extends java.lang.Object

Stores information about known FeatureTypes.

Author:
Sean Geoghegan, Defence Science and Technology Organisation.

Constructor Summary
FeatureTypeInfo(java.lang.String typeName, FeatureType schema, FIDMapper mapper)
           
 
Method Summary
 java.lang.String getFeatureTypeName()
          DOCUMENT ME!
 FIDMapper getFIDMapper()
           
 FeatureType getSchema()
          DOCUMENT ME!
 int getSRID(java.lang.String geometryAttributeName)
          Get the DataStore specific SRID for a geometry column
 java.util.Map getSRIDs()
           
 void setFIDMapper(FIDMapper mapper)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureTypeInfo

public FeatureTypeInfo(java.lang.String typeName,
                       FeatureType schema,
                       FIDMapper mapper)
Method Detail

getFeatureTypeName

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

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()

getFIDMapper

public FIDMapper getFIDMapper()
Returns:

setFIDMapper

public void setFIDMapper(FIDMapper mapper)
Parameters:
mapper -


Copyright © GeoTools. All Rights Reserved.