public class DbEntityOperation extends DbOperation
Modifier and Type | Field and Description |
---|---|
protected DbEntity |
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) |
DbEntity |
getEntity() |
int |
hashCode() |
boolean |
isFailed() |
void |
recycle() |
void |
setEntity(DbEntity dbEntity) |
void |
setFailed(boolean failed) |
String |
toString() |
getEntityType, getOperationType, setEntityType, setOperationType
protected DbEntity entity
protected boolean failed
public void recycle()
recycle
in interface Recyclable
recycle
in class DbOperation
public DbEntity getEntity()
public void setEntity(DbEntity dbEntity)
public void setFailed(boolean failed)
public boolean isFailed()
isFailed
in class DbOperation
Copyright © 2018. All rights reserved.