Class DbEntityOperation
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
-
- org.camunda.bpm.engine.impl.db.entitymanager.operation.DbEntityOperation
-
- All Implemented Interfaces:
Recyclable
public class DbEntityOperation extends DbOperation
An operation on a single DbEntity- Author:
- Daniel Meyer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
DbOperation.State
-
-
Field Summary
Fields Modifier and Type Field Description protected DbOperationdependentOperationprotected DbEntityentityThe entity the operation is performed on.protected java.util.Set<java.lang.String>flushRelevantEntityReferences-
Fields inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
entityType, failure, operationType, rowsAffected, state
-
-
Constructor Summary
Constructors Constructor Description DbEntityOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)DbOperationgetDependentOperation()DbEntitygetEntity()java.util.Set<java.lang.String>getFlushRelevantEntityReferences()inthashCode()voidrecycle()voidsetDependency(DbOperation owner)voidsetEntity(DbEntity dbEntity)voidsetFlushRelevantEntityReferences(java.util.Set<java.lang.String> flushRelevantEntityReferences)java.lang.StringtoString()-
Methods inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
getEntityType, getFailure, getOperationType, getRowsAffected, getState, isFailed, setEntityType, setFailure, setOperationType, setRowsAffected, setState
-
-
-
-
Field Detail
-
entity
protected DbEntity entity
The entity the operation is performed on.
-
flushRelevantEntityReferences
protected java.util.Set<java.lang.String> flushRelevantEntityReferences
-
dependentOperation
protected DbOperation dependentOperation
-
-
Method Detail
-
recycle
public void recycle()
- Specified by:
recyclein interfaceRecyclable- Overrides:
recyclein classDbOperation
-
getEntity
public DbEntity getEntity()
-
setEntity
public void setEntity(DbEntity dbEntity)
-
setFlushRelevantEntityReferences
public void setFlushRelevantEntityReferences(java.util.Set<java.lang.String> flushRelevantEntityReferences)
-
getFlushRelevantEntityReferences
public java.util.Set<java.lang.String> getFlushRelevantEntityReferences()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setDependency
public void setDependency(DbOperation owner)
-
getDependentOperation
public DbOperation getDependentOperation()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-