org.datanucleus.store.rdbms.mapping.jts2oracle
Class GeometryRDBMSMapping

java.lang.Object
  extended by org.datanucleus.store.rdbms.mapping.RDBMSMapping
      extended by org.datanucleus.store.rdbms.mapping.jts2oracle.GeometryRDBMSMapping
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.DatastoreMapping
Direct Known Subclasses:
LinearRingRDBMSMapping

public class GeometryRDBMSMapping
extends org.datanucleus.store.rdbms.mapping.RDBMSMapping

Mapping for a JTS Geometry object to Oracle.


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
column, LOCALISER, LOCALISER_STORE, mapping, storeMgr
 
Constructor Summary
GeometryRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.DatastoreField field)
           
GeometryRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
           
 
Method Summary
 java.lang.Object getObject(java.lang.Object rs, int exprIndex)
           
 org.datanucleus.store.rdbms.schema.SQLTypeInfo getTypeInfo()
           
 void setObject(java.lang.Object preparedStatement, int exprIndex, java.lang.Object value)
           
 
Methods inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
equals, failureMessage, getBoolean, getByte, getChar, getColumn, getDatabaseAdapter, getDatastoreField, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getString, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryRDBMSMapping

public GeometryRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
                            org.datanucleus.store.mapped.MappedStoreManager storeMgr,
                            org.datanucleus.store.mapped.DatastoreField field)

GeometryRDBMSMapping

public GeometryRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
                            org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
Method Detail

getTypeInfo

public org.datanucleus.store.rdbms.schema.SQLTypeInfo getTypeInfo()
Specified by:
getTypeInfo in class org.datanucleus.store.rdbms.mapping.RDBMSMapping

getObject

public java.lang.Object getObject(java.lang.Object rs,
                                  int exprIndex)
Specified by:
getObject in interface org.datanucleus.store.mapped.mapping.DatastoreMapping
Overrides:
getObject in class org.datanucleus.store.rdbms.mapping.RDBMSMapping

setObject

public void setObject(java.lang.Object preparedStatement,
                      int exprIndex,
                      java.lang.Object value)
Specified by:
setObject in interface org.datanucleus.store.mapped.mapping.DatastoreMapping
Overrides:
setObject in class org.datanucleus.store.rdbms.mapping.RDBMSMapping


Copyright © 2009. All Rights Reserved.