|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.descriptors.CMPPolicy
org.eclipse.persistence.internal.jpa.CMP3Policy
org.eclipse.persistence.jpa.dynamic.DynamicIdentityPolicy
public class DynamicIdentityPolicy
Custom CMPPolicy to handle Object[]. The parent class supports only List and ID class for composite keys.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.persistence.descriptors.CMPPolicy |
---|
CMPPolicy.KeyElementAccessor, CMPPolicy.KeyIsElementAccessor |
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.internal.jpa.CMP3Policy |
---|
fieldToAccessorMap, keyClassFields, pkClass, pkClassName |
Fields inherited from class org.eclipse.persistence.descriptors.CMPPolicy |
---|
AFTER_EJBCREATE, AFTER_EJBPOSTCREATE, ALL_MODIFICATIONS, descriptor, forceUpdate, mappedClass, modificationDeferralLevel, nonDeferredCreateTime, NONE, pessimisticLockingPolicy, UNDEFINED, UPDATE_MODIFICATIONS, updateAllFields |
Constructor Summary | |
---|---|
DynamicIdentityPolicy()
|
Method Summary | |
---|---|
java.util.Vector |
createPkVectorFromKey(java.lang.Object key,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Use the key to create a EclipseLink primary key Vector. |
protected CMPPolicy.KeyElementAccessor[] |
initializePrimaryKeyFields(java.lang.Class keyClass,
org.eclipse.persistence.internal.sessions.AbstractSession session)
|
Methods inherited from class org.eclipse.persistence.internal.jpa.CMP3Policy |
---|
addReadOnlyMappings, addWritableMapping, convertClassNamesToClasses, createBeanUsingKey, getField, getKeyClassFields, getPKClass, getPKClassInstance, getPKClassName, getPkValueFromKeyForField, initialize, isCMP3Policy, setPKClass, setPrimaryKeyClassName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicIdentityPolicy()
Method Detail |
---|
public java.util.Vector createPkVectorFromKey(java.lang.Object key, org.eclipse.persistence.internal.sessions.AbstractSession session)
CMPPolicy
createPkVectorFromKey
in class org.eclipse.persistence.internal.jpa.CMP3Policy
key
- Object the primary key to use for creating the vector
protected CMPPolicy.KeyElementAccessor[] initializePrimaryKeyFields(java.lang.Class keyClass, org.eclipse.persistence.internal.sessions.AbstractSession session)
initializePrimaryKeyFields
in class org.eclipse.persistence.internal.jpa.CMP3Policy
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |