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, setString
addDatastoreMapping, 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, setTable
public void setObject(org.datanucleus.ExecutionContext ec, PreparedStatement ps, int[] param, Object value)
setObject
in class SingleFieldMapping
ec
- 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 SingleFieldMapping
ec
- ExecutionContext managing this objectrs
- The ResultSetparam
- Array of param numbers for this objectpublic Class getJavaType()
JavaTypeMapping
getJavaType
in class JavaTypeMapping
Copyright © 2017. All rights reserved.