public class SerialisedReferenceMapping extends SerialisedMapping
absFieldNumber, datastoreMappings, mmd, referenceMapping, roleForMember, storeMgr, table, type| Constructor and Description |
|---|
SerialisedReferenceMapping() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet resultSet,
int[] exprIndex)
Method to extract the value of the persistable from a ResultSet.
|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet resultSet,
int[] exprIndex,
org.datanucleus.state.ObjectProvider ownerOP,
int fieldNumber)
Method to extract the value of the persistable from a ResultSet.
|
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value)
Method to populate parameter positions in a PreparedStatement with this object
|
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value,
org.datanucleus.state.ObjectProvider ownerOP,
int fieldNumber)
Method to populate parameter positions in a PreparedStatement with this object
|
getJavaType, getJavaTypeForDatastoreMappinggetBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setStringaddDatastoreMapping, equals, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getReferenceMapping, getRoleForMember, getStoreManager, getTable, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setMemberMetaData, setReferenceMapping, setRoleForMember, setTablepublic void setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value)
setObject in class SingleFieldMappingec - execution contextps - The Prepared StatementexprIndex - The parameter positions to populatevalue - The value of the PC to use in populating the parameter positionspublic void setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value,
org.datanucleus.state.ObjectProvider ownerOP,
int fieldNumber)
setObject in class JavaTypeMappingec - execution contextps - The Prepared StatementexprIndex - The parameter positions to populatevalue - The value of the PC to use in populating the parameter positionsownerOP - ObjectProvider for the owning objectfieldNumber - field number of this object in the owning objectpublic Object getObject(org.datanucleus.ExecutionContext ec, ResultSet resultSet, int[] exprIndex)
getObject in class SingleFieldMappingec - execution contextresultSet - The ResultSetexprIndex - The parameter positions in the result set to use.public Object getObject(org.datanucleus.ExecutionContext ec, ResultSet resultSet, int[] exprIndex, org.datanucleus.state.ObjectProvider ownerOP, int fieldNumber)
getObject in class JavaTypeMappingec - execution contextresultSet - The ResultSetexprIndex - The parameter positions in the result set to use.ownerOP - ObjectProvider for the owning objectfieldNumber - Absolute number of field in owner objectCopyright © 2015. All rights reserved.