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, setOperationType
protected PersistentObject entity
protected boolean failed
public void recycle()
recycle
in interface Recyclable
recycle
in class DbOperation
public PersistentObject getEntity()
public void setEntity(PersistentObject persistentObject)
public void setFailed(boolean failed)
public boolean isFailed()
isFailed
in class DbOperation
Copyright © 2015. All rights reserved.