org.camunda.bpm.engine.impl.db.entitymanager.operation
Class DbEntityOperation

java.lang.Object
  extended by org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
      extended by 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

Field Summary
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
           
 
Fields inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
entityType, operationType
 
Constructor Summary
DbEntityOperation()
           
 
Method Summary
 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()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.db.entitymanager.operation.DbOperation
getEntityType, getOperationType, setEntityType, setOperationType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

entity

protected DbEntity entity
The entity the operation is performed on.


flushRelevantEntityReferences

protected Set<String> flushRelevantEntityReferences

failed

protected boolean failed
Indicates whether the operation failed to execute due to OptimisticLocking

Constructor Detail

DbEntityOperation

public DbEntityOperation()
Method Detail

recycle

public void recycle()
Specified by:
recycle in interface Recyclable
Overrides:
recycle in class DbOperation

getEntity

public DbEntity getEntity()

setEntity

public void setEntity(DbEntity dbEntity)

setFailed

public void setFailed(boolean failed)

isFailed

public boolean isFailed()
Specified by:
isFailed in class DbOperation

setFlushRelevantEntityReferences

public void setFlushRelevantEntityReferences(Set<String> flushRelevantEntityReferences)

getFlushRelevantEntityReferences

public Set<String> getFlushRelevantEntityReferences()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016 camunda services GmbH. All rights reserved.