public class PersistableIdMapping extends PersistableMapping
cmdjavaTypeMappings, numberOfDatastoreMappingsabsFieldNumber, datastoreMappings, mmd, referenceMapping, roleForMember, storeMgr, table, type| Constructor and Description |
|---|
PersistableIdMapping(PersistableMapping pcMapping)
Constructor used to generate a PCMapping representing only the identity of the object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet rs,
int[] param)
Returns an identity for a persistable class.
|
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] param,
Object value)
Method to set the object based on an input identity.
|
getJavaType, getValueForDatastoreMapping, initialize, insertPostProcessing, postFetch, postInsert, postUpdate, preDelete, prepareDatastoreMapping, setObjectaddJavaTypeMapping, getDatastoreMapping, getDatastoreMappings, getJavaTypeMapping, getNumberOfDatastoreMappingsaddDatastoreMapping, equals, failureMessage, getAbsoluteFieldNumber, getBoolean, getByte, getChar, getColumnMetaDataForMember, getDouble, getFloat, getInt, getJavaTypeForDatastoreMapping, getLong, getMemberMetaData, getObject, getReferenceMapping, getRoleForMember, getShort, getStoreManager, getString, getTable, getType, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setMemberMetaData, setReferenceMapping, setRoleForMember, setShort, setString, setTablepublic PersistableIdMapping(PersistableMapping pcMapping)
pcMapping - The mapping to base it onpublic Object getObject(org.datanucleus.ExecutionContext ec, ResultSet rs, int[] param)
getObject in class PersistableMappingec - The ExecutionContextrs - The ResultSetparam - Array of parameter ids in the ResultSet to retrievepublic void setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] param,
Object value)
setObject in class PersistableMappingec - ExecutionContextps - PreparedStatementparam - Parameter positions to populate when setting the valuevalue - The identityCopyright © 2019. All rights reserved.