|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.mapped.mapping.AbstractDatastoreMapping
org.datanucleus.store.rdbms.mapping.RDBMSMapping
org.datanucleus.store.rdbms.mapping.CharRDBMSMapping
org.datanucleus.store.rdbms.mapping.NCharRDBMSMapping
public class NCharRDBMSMapping
Mapping of a NCHAR RDBMS type. Copied from CharRDBMSMapping but uses setNString/getNString instead of setString/getString.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping |
|---|
column, LOCALISER_RDBMS, storeMgr |
| Fields inherited from class org.datanucleus.store.mapped.mapping.AbstractDatastoreMapping |
|---|
LOCALISER, mapping |
| Constructor Summary | |
|---|---|
NCharRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.DatastoreField field)
|
|
NCharRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
|
|
| Method Summary | |
|---|---|
boolean |
getBoolean(Object rs,
int param)
Method to extract a boolean from the ResultSet at the specified position |
char |
getChar(Object rs,
int param)
Method to extract a character from the ResultSet at the specified position |
Object |
getObject(Object rs,
int param)
Method to extract an object from the ResultSet at the specified position |
String |
getString(Object rs,
int param)
Method to extract a String from the ResultSet at the specified position |
SQLTypeInfo |
getTypeInfo()
Accessor for the (SQL) type info for this datastore type. |
void |
setBoolean(Object ps,
int param,
boolean value)
Method to set a boolean at the specified position in the JDBC PreparedStatement. |
void |
setChar(Object ps,
int param,
char value)
Method to set a character at the specified position in the JDBC PreparedStatement. |
void |
setObject(Object ps,
int param,
Object value)
Method to set an object at the specified position in the JDBC PreparedStatement. |
void |
setString(Object ps,
int param,
String value)
Method to set a String at the specified position in the JDBC PreparedStatement. |
| Methods inherited from class org.datanucleus.store.rdbms.mapping.CharRDBMSMapping |
|---|
getJavaUtilDateFormat, initialize, isStringBased |
| Methods inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping |
|---|
equals, failureMessage, failureMessage, getDatabaseAdapter, getDatastoreField, getInsertionInputParameter, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isNullable |
| Methods inherited from class org.datanucleus.store.mapped.mapping.AbstractDatastoreMapping |
|---|
failureMessage, getByte, getDouble, getFloat, getInt, getJavaTypeMapping, getLong, getShort, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, setByte, setDouble, setFloat, setInt, setLong, setShort |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NCharRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
storeMgr - mapping -
public NCharRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.DatastoreField field)
mapping - storeMgr - field - | Method Detail |
|---|
public SQLTypeInfo getTypeInfo()
RDBMSMapping
getTypeInfo in class CharRDBMSMapping
public void setChar(Object ps,
int param,
char value)
setChar in interface org.datanucleus.store.mapped.mapping.DatastoreMappingsetChar in class CharRDBMSMappingps - The PreparedStatementparam - Parameter positionvalue - The value to set
public char getChar(Object rs,
int param)
getChar in interface org.datanucleus.store.mapped.mapping.DatastoreMappinggetChar in class CharRDBMSMappingrs - The Result Setparam - The parameter position
public void setString(Object ps,
int param,
String value)
setString in interface org.datanucleus.store.mapped.mapping.DatastoreMappingsetString in class CharRDBMSMappingps - The PreparedStatementparam - Parameter positionvalue - The value to set
public String getString(Object rs,
int param)
getString in interface org.datanucleus.store.mapped.mapping.DatastoreMappinggetString in class CharRDBMSMappingrs - The Result Setparam - The parameter position
public void setBoolean(Object ps,
int param,
boolean value)
setBoolean in interface org.datanucleus.store.mapped.mapping.DatastoreMappingsetBoolean in class CharRDBMSMappingps - The PreparedStatementparam - Parameter positionvalue - The value to set
public boolean getBoolean(Object rs,
int param)
getBoolean in interface org.datanucleus.store.mapped.mapping.DatastoreMappinggetBoolean in class CharRDBMSMappingrs - The Result Setparam - The parameter position
public void setObject(Object ps,
int param,
Object value)
setObject in interface org.datanucleus.store.mapped.mapping.DatastoreMappingsetObject in class CharRDBMSMappingps - The PreparedStatementparam - Parameter positionvalue - The value to set
public Object getObject(Object rs,
int param)
getObject in interface org.datanucleus.store.mapped.mapping.DatastoreMappinggetObject in class CharRDBMSMappingrs - The Result Setparam - The parameter position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||