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
|
protected Set<String> |
flushRelevantEntityReferences |
entityType, operationType
Constructor and Description |
---|
DbEntityOperation() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DbEntity |
getEntity() |
Set<String> |
getFlushRelevantEntityReferences() |
int |
hashCode() |
boolean |
isFailed() |
void |
recycle() |
void |
setEntity(DbEntity dbEntity) |
void |
setFailed(boolean failed) |
void |
setFlushRelevantEntityReferences(Set<String> flushRelevantEntityReferences) |
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
public void setFlushRelevantEntityReferences(Set<String> flushRelevantEntityReferences)
Copyright © 2018. All rights reserved.