|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.rdbms.mapping.RDBMSMapping
org.jpox.store.rdbms.mapping.ColumnMapping
org.jpox.store.rdbms.mapping.DoubleRDBMSMapping
Mapping of a DOUBLE RDBMS type.
Field Summary |
Fields inherited from class org.jpox.store.rdbms.mapping.ColumnMapping |
column |
Fields inherited from class org.jpox.store.rdbms.mapping.RDBMSMapping |
LOCALISER, LOCALISER_STORE, mapping, storeMgr |
Constructor Summary | |
|
DoubleRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
Constructor. |
protected |
DoubleRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
|
Method Summary | |
DatastoreField |
getDatastoreField()
The datastore field mapped |
double |
getDouble(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
float |
getFloat(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
int |
getInt(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
long |
getLong(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
java.lang.Object |
getObject(java.lang.Object rs,
int param)
Obtains a value from resultSet
at position specified by exprIndex . |
TypeInfo |
getTypeInfo()
Returns the TypeInfo (JDBC SQL type) for columns. |
void |
setDouble(java.lang.Object ps,
int param,
double value)
Sets a value into preparedStatement
at position specified by paramIndex . |
void |
setFloat(java.lang.Object ps,
int param,
float value)
Sets a value into preparedStatement
at position specified by paramIndex . |
void |
setInt(java.lang.Object ps,
int param,
int value)
Sets a value into preparedStatement
at position specified by paramIndex . |
void |
setLong(java.lang.Object ps,
int param,
long value)
Sets a value into preparedStatement
at position specified by paramIndex . |
void |
setObject(java.lang.Object ps,
int param,
java.lang.Object value)
Sets a value into preparedStatement
at position specified by paramIndex . |
Methods inherited from class org.jpox.store.rdbms.mapping.ColumnMapping |
equals, getColumn, getInsertionInputParameter, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, isNullable |
Methods inherited from class org.jpox.store.rdbms.mapping.RDBMSMapping |
failureMessage, getBoolean, getByte, getChar, getDatabaseAdapter, getJavaTypeMapping, getShort, getString, setBoolean, setByte, setChar, setShort, setString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DoubleRDBMSMapping(StoreManager storeMgr, JavaTypeMapping mapping)
storeMgr
- Store Managermapping
- The java type mappingpublic DoubleRDBMSMapping(JavaTypeMapping mapping, StoreManager storeMgr, DatastoreField field)
mapping
- The java type mappingstoreMgr
- Store Managerfield
- Field being mappedMethod Detail |
public TypeInfo getTypeInfo()
ColumnMapping
getTypeInfo
in class ColumnMapping
public DatastoreField getDatastoreField()
DatastoreMapping
getDatastoreField
in interface DatastoreMapping
getDatastoreField
in class ColumnMapping
public void setInt(java.lang.Object ps, int param, int value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setInt
in interface DatastoreMapping
setInt
in class RDBMSMapping
public int getInt(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getInt
in interface DatastoreMapping
getInt
in class RDBMSMapping
public void setLong(java.lang.Object ps, int param, long value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setLong
in interface DatastoreMapping
setLong
in class RDBMSMapping
public long getLong(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getLong
in interface DatastoreMapping
getLong
in class RDBMSMapping
public void setDouble(java.lang.Object ps, int param, double value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setDouble
in interface DatastoreMapping
setDouble
in class RDBMSMapping
public double getDouble(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getDouble
in interface DatastoreMapping
getDouble
in class RDBMSMapping
public float getFloat(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getFloat
in interface DatastoreMapping
getFloat
in class RDBMSMapping
public void setFloat(java.lang.Object ps, int param, float value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setFloat
in interface DatastoreMapping
setFloat
in class RDBMSMapping
public void setObject(java.lang.Object ps, int param, java.lang.Object value)
DatastoreMapping
value
into preparedStatement
at position specified by paramIndex
.
setObject
in interface DatastoreMapping
setObject
in class RDBMSMapping
public java.lang.Object getObject(java.lang.Object rs, int param)
DatastoreMapping
resultSet
at position specified by exprIndex
.
getObject
in interface DatastoreMapping
getObject
in class RDBMSMapping
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |