org.datanucleus.store.rdbms.mapping.pg2postgis
Class PGbox3dRDBMSMapping

java.lang.Object
  extended by org.datanucleus.store.rdbms.mapping.RDBMSMapping
      extended by org.datanucleus.store.rdbms.mapping.pg2postgis.PGbox3dRDBMSMapping
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.DatastoreMapping

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

Mapping for a PostGIS-JDBC PGbox3d object to PostGIS.


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
column, LOCALISER, LOCALISER_STORE, mapping, storeMgr
 
Constructor Summary
PGbox3dRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.DatastoreField field)
           
PGbox3dRDBMSMapping(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 ps, 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

PGbox3dRDBMSMapping

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

PGbox3dRDBMSMapping

public PGbox3dRDBMSMapping(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 ps,
                      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.