|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.descriptors.FieldsLockingPolicy
public abstract class FieldsLockingPolicy
Purpose: An abstract superclass of some implementations of the OptimisticLockingPolicy interface. All of the subclasses of this class implement OptimisticLocking based on mapped fields in the object. These fields are only compared and not modified. Any modification (incrementing etc..) must be handled by the application.
AllFieldsLockingPolicy
,
ChangedFieldsLockingPolicy
,
SelectedFieldsLockingPolicy
,
Serialized FormConstructor Summary | |
---|---|
FieldsLockingPolicy()
Create a new field locking policy. |
Method Summary | |
---|---|
boolean |
isCascaded()
Return true if the policy uses cascade locking. |
boolean |
isStoredInCache()
Return true if the lock value is stored in the cache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldsLockingPolicy()
Method Detail |
---|
public boolean isStoredInCache()
isStoredInCache
in interface oracle.toplink.internal.descriptors.OptimisticLockingPolicy
public boolean isCascaded()
isCascaded
in interface oracle.toplink.internal.descriptors.OptimisticLockingPolicy
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |