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 DbOperation
dependentOperation
protected DbEntity
entity
The 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 boolean
equals(java.lang.Object obj)
DbOperation
getDependentOperation()
DbEntity
getEntity()
java.util.Set<java.lang.String>
getFlushRelevantEntityReferences()
int
hashCode()
void
recycle()
void
setDependency(DbOperation owner)
void
setEntity(DbEntity dbEntity)
void
setFlushRelevantEntityReferences(java.util.Set<java.lang.String> flushRelevantEntityReferences)
java.lang.String
toString()
-
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:
recycle
in interfaceRecyclable
- Overrides:
recycle
in 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:
toString
in classjava.lang.Object
-
setDependency
public void setDependency(DbOperation owner)
-
getDependentOperation
public DbOperation getDependentOperation()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-