|
||||||||||
| 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.TimestampRDBMSMapping
public class TimestampRDBMSMapping
Mapping of a TIMESTAMP 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 | |
|---|---|
|
TimestampRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
Constructor. |
protected |
TimestampRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
Constructor |
| Method Summary | |
|---|---|
DatastoreField |
getDatastoreField()
Accessor for the datastore field being used by this mapping. |
java.lang.Object |
getObject(java.lang.Object rs,
int param)
Method to access an Object from the ResultSet. |
protected java.sql.Timestamp |
getTimestamp(java.lang.Object rs,
int param)
Method to access a Timestamp from the ResultSet. |
TypeInfo |
getTypeInfo()
Accessor for the type info for this column. |
void |
setObject(java.lang.Object ps,
int param,
java.lang.Object value)
Method to set an object in a PreparedStatement for sending to the datastore. |
| 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, getDouble, getFloat, getInt, getJavaTypeMapping, getLong, getShort, getString, 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 |
|---|
protected TimestampRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
storeMgr - Store Managermapping - Java type mapping
public TimestampRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
mapping - Java type mappingstoreMgr - Store Managerfield - Field to be mapped| Method Detail |
|---|
public TypeInfo getTypeInfo()
getTypeInfo in class ColumnMappingpublic DatastoreField getDatastoreField()
getDatastoreField in interface DatastoreMappinggetDatastoreField in class ColumnMapping
public void setObject(java.lang.Object ps,
int param,
java.lang.Object value)
setObject in interface DatastoreMappingsetObject in class RDBMSMappingps - The PreparedStatementparam - The parameter position (in the statement)value - The value to set
protected java.sql.Timestamp getTimestamp(java.lang.Object rs,
int param)
rs - The ResultSetparam - The parameter position in the ResultSet row.
public java.lang.Object getObject(java.lang.Object rs,
int param)
getObject in interface DatastoreMappinggetObject in class RDBMSMappingrs - The ResultSetparam - The parameter position in the ResultSet row.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||