public class DbEntityOperation extends DbOperation
| Modifier and Type | Field and Description |
|---|---|
protected PersistentObject |
entity
The entity the operation is performed on.
|
protected boolean |
failed
Indicates whether the operation failed to execute due to OptimisticLocking
|
entityType, operationType| Constructor and Description |
|---|
DbEntityOperation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PersistentObject |
getEntity() |
int |
hashCode() |
boolean |
isFailed() |
void |
recycle() |
void |
setEntity(PersistentObject persistentObject) |
void |
setFailed(boolean failed) |
String |
toString() |
getEntityType, getOperationType, setEntityType, setOperationTypeprotected PersistentObject entity
protected boolean failed
public void recycle()
recycle in interface Recyclablerecycle in class DbOperationpublic PersistentObject getEntity()
public void setEntity(PersistentObject persistentObject)
public void setFailed(boolean failed)
public boolean isFailed()
isFailed in class DbOperationCopyright © 2015. All rights reserved.