org.camunda.bpm.engine.impl.cmmn.entity.runtime
Class CaseSentryPartEntity

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
      extended by org.camunda.bpm.engine.impl.cmmn.entity.runtime.CaseSentryPartEntity
All Implemented Interfaces:
Serializable, DbEntity, HasDbRevision

public class CaseSentryPartEntity
extends CmmnSentryPart
implements DbEntity, HasDbRevision

Author:
Roman Smirnov
See Also:
Serialized Form

Field Summary
protected  CaseExecutionEntity caseExecution
           
protected  String caseExecutionId
           
protected  CaseExecutionEntity caseInstance
           
protected  String caseInstanceId
           
protected  String id
           
protected  int revision
           
protected  CaseExecutionEntity sourceCaseExecution
           
protected  String sourceCaseExecutionId
           
protected  String tenantId
           
 
Fields inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
satisfied, sentryId, source, standardEvent, type
 
Constructor Summary
CaseSentryPartEntity()
           
 
Method Summary
protected  void ensureCaseExecutionInitialized()
           
protected  void ensureCaseInstanceInitialized()
           
protected  void ensureSourceCaseExecutionInitialized()
           
protected  CaseExecutionEntity findCaseExecutionById(String caseExecutionId)
           
 void forceUpdate()
           
 CaseExecutionEntity getCaseExecution()
           
 String getCaseExecutionId()
           
 CaseExecutionEntity getCaseInstance()
           
 String getCaseInstanceId()
           
 String getId()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 int getRevision()
           
 int getRevisionNext()
           
 CmmnExecution getSourceCaseExecution()
           
 String getSourceCaseExecutionId()
           
 String getTenantId()
           
 void setCaseExecution(CmmnExecution caseExecution)
           
 void setCaseInstance(CmmnExecution caseInstance)
           
 void setId(String id)
           
 void setRevision(int revision)
           
 void setSourceCaseExecution(CmmnExecution sourceCaseExecution)
           
 void setTenantId(String tenantId)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmmn.execution.CmmnSentryPart
getSentryId, getSource, getStandardEvent, getType, isSatisfied, setSatisfied, setSentryId, setSource, setStandardEvent, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

caseInstance

protected CaseExecutionEntity caseInstance

caseExecution

protected CaseExecutionEntity caseExecution

sourceCaseExecution

protected CaseExecutionEntity sourceCaseExecution

id

protected String id

revision

protected int revision

caseInstanceId

protected String caseInstanceId

caseExecutionId

protected String caseExecutionId

sourceCaseExecutionId

protected String sourceCaseExecutionId

tenantId

protected String tenantId
Constructor Detail

CaseSentryPartEntity

public CaseSentryPartEntity()
Method Detail

getId

public String getId()
Specified by:
getId in interface DbEntity

setId

public void setId(String id)
Specified by:
setId in interface DbEntity

getCaseInstanceId

public String getCaseInstanceId()

getCaseInstance

public CaseExecutionEntity getCaseInstance()
Specified by:
getCaseInstance in class CmmnSentryPart

ensureCaseInstanceInitialized

protected void ensureCaseInstanceInitialized()

setCaseInstance

public void setCaseInstance(CmmnExecution caseInstance)
Specified by:
setCaseInstance in class CmmnSentryPart

getCaseExecutionId

public String getCaseExecutionId()

getCaseExecution

public CaseExecutionEntity getCaseExecution()
Specified by:
getCaseExecution in class CmmnSentryPart

ensureCaseExecutionInitialized

protected void ensureCaseExecutionInitialized()

setCaseExecution

public void setCaseExecution(CmmnExecution caseExecution)
Specified by:
setCaseExecution in class CmmnSentryPart

getSourceCaseExecutionId

public String getSourceCaseExecutionId()
Specified by:
getSourceCaseExecutionId in class CmmnSentryPart

getSourceCaseExecution

public CmmnExecution getSourceCaseExecution()
Specified by:
getSourceCaseExecution in class CmmnSentryPart

ensureSourceCaseExecutionInitialized

protected void ensureSourceCaseExecutionInitialized()

setSourceCaseExecution

public void setSourceCaseExecution(CmmnExecution sourceCaseExecution)
Specified by:
setSourceCaseExecution in class CmmnSentryPart

getRevision

public int getRevision()
Specified by:
getRevision in interface HasDbRevision

setRevision

public void setRevision(int revision)
Specified by:
setRevision in interface HasDbRevision

getRevisionNext

public int getRevisionNext()
Specified by:
getRevisionNext in interface HasDbRevision

getTenantId

public String getTenantId()

setTenantId

public void setTenantId(String tenantId)

forceUpdate

public void forceUpdate()

getPersistentState

public Object getPersistentState()
Description copied from interface: DbEntity
Returns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.

Specified by:
getPersistentState in interface DbEntity

findCaseExecutionById

protected CaseExecutionEntity findCaseExecutionById(String caseExecutionId)


Copyright © 2016 camunda services GmbH. All rights reserved.