public abstract class PendingOperationAdapter<E, K> extends java.lang.Object implements PendingOperation
Base implementation of the PendingOperation interface.
E
- The native entity type (examples could be Row, Document etc.)K
- The native keyModifiers | Name | Description |
---|---|---|
protected PersistentEntity |
entity |
|
protected boolean |
executed |
|
protected E |
nativeEntry |
|
protected K |
nativeKey |
|
private java.util.List<PendingOperation<E, K>> |
pendingOperations |
|
private java.util.List<PendingOperation<E, K>> |
preOperations |
|
private boolean |
vetoed |
Constructor and description |
---|
PendingOperationAdapter
(PersistentEntity entity, K nativeKey, E nativeEntry) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
addCascadeOperation(PendingOperation<E, K> pendingOperation) |
|
public void |
addPreOperation(PendingOperation<E, K> preOperation) |
|
public java.util.List<PendingOperation<E, K>> |
getCascadeOperations() |
|
public PersistentEntity |
getEntity() |
|
public E |
getNativeEntry() |
|
public K |
getNativeKey() |
|
public java.lang.Object |
getObject() |
|
public java.util.List<PendingOperation<E, K>> |
getPreOperations() |
|
public boolean |
isVetoed() |
|
public void |
setExecuted(boolean executed) |
|
public void |
setVetoed(boolean vetoed) |
|
public boolean |
wasExecuted() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |