public class DatastoreIdMapping extends SingleFieldMapping
absFieldNumber, datastoreMappings, mmd, referenceMapping, roleForMember, storeMgr, table, type| Constructor and Description |
|---|
DatastoreIdMapping() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getJavaType()
Accessor for the java type being mapped.
|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet rs,
int[] param)
Accessor for the OID object from the result set
|
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] param,
Object value)
Mutator for the OID in the datastore
|
getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getJavaTypeForDatastoreMapping, getLong, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setStringaddDatastoreMapping, equals, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getObject, getReferenceMapping, getRoleForMember, getStoreManager, getTable, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember, setTablepublic void setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] param,
Object value)
setObject in class SingleFieldMappingec - ExecutionContextps - The Prepared Statementparam - Param numbers in the PreparedStatement for this objectvalue - The OID value to usepublic Object getObject(org.datanucleus.ExecutionContext ec, ResultSet rs, int[] param)
getObject in class SingleFieldMappingec - ExecutionContext managing this objectrs - The ResultSetparam - Array of param numbers for this objectpublic Class getJavaType()
JavaTypeMappinggetJavaType in class JavaTypeMappingCopyright © 2015. All rights reserved.