org.camunda.bpm.engine.impl.cmmn.entity.repository
Class CaseDefinitionEntity

java.lang.Object
  extended by org.camunda.bpm.engine.impl.core.model.CoreModelElement
      extended by org.camunda.bpm.engine.impl.core.model.CoreActivity
          extended by org.camunda.bpm.engine.impl.cmmn.model.CmmnActivity
              extended by org.camunda.bpm.engine.impl.cmmn.model.CmmnCaseDefinition
                  extended by org.camunda.bpm.engine.impl.cmmn.entity.repository.CaseDefinitionEntity
All Implemented Interfaces:
Serializable, HasRevision, PersistentObject, CaseDefinition

public class CaseDefinitionEntity
extends CmmnCaseDefinition
implements CaseDefinition, PersistentObject, HasRevision

Author:
Roman Smirnov
See Also:
Serialized Form

Field Summary
protected  String category
           
protected  String deploymentId
           
protected  String key
           
protected  String resourceName
           
protected  int revision
           
protected  int version
           
 
Fields inherited from class org.camunda.bpm.engine.impl.cmmn.model.CmmnActivity
activities, activityBehavior, caseDefinition, cmmnElement, namedActivities, parent
 
Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity
ioMapping
 
Fields inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement
id, listeners, name, properties
 
Constructor Summary
CaseDefinitionEntity()
           
 
Method Summary
 String getCategory()
          category name which is derived from the targetNamespace attribute in the definitions element
 String getDeploymentId()
          The deployment in which this case definition is contained.
 String getKey()
          unique name for all versions this case definitions
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 String getResourceName()
          name of the resource of this case definition.
 int getRevision()
           
 int getRevisionNext()
           
 int getVersion()
          version of this case definition
protected  CmmnExecution newCaseInstance()
           
 void setCategory(String category)
           
 void setDeploymentId(String deploymentId)
           
 void setKey(String key)
           
 void setResourceName(String resourceName)
           
 void setRevision(int revision)
           
 void setVersion(int version)
           
 String toString()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmmn.model.CmmnCaseDefinition
createCaseInstance
 
Methods inherited from class org.camunda.bpm.engine.impl.cmmn.model.CmmnActivity
createActivity, findActivity, getActivities, getActivityBehavior, getCaseDefinition, getChildActivity, getCmmnElement, getParent, setActivityBehavior, setCaseDefinition, setCmmnElement, setParent
 
Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreActivity
createActivity, getIoMapping, setIoMapping
 
Methods inherited from class org.camunda.bpm.engine.impl.core.model.CoreModelElement
addListener, addListener, getId, getListeners, getListeners, getName, getProperties, getProperty, setId, setName, setProperties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.repository.CaseDefinition
getId, getName
 
Methods inherited from interface org.camunda.bpm.engine.impl.db.PersistentObject
getId, setId
 

Field Detail

revision

protected int revision

category

protected String category

key

protected String key

version

protected int version

deploymentId

protected String deploymentId

resourceName

protected String resourceName
Constructor Detail

CaseDefinitionEntity

public CaseDefinitionEntity()
Method Detail

getRevision

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

setRevision

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

getRevisionNext

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

getCategory

public String getCategory()
Description copied from interface: CaseDefinition
category name which is derived from the targetNamespace attribute in the definitions element

Specified by:
getCategory in interface CaseDefinition

setCategory

public void setCategory(String category)

getKey

public String getKey()
Description copied from interface: CaseDefinition
unique name for all versions this case definitions

Specified by:
getKey in interface CaseDefinition

setKey

public void setKey(String key)

getVersion

public int getVersion()
Description copied from interface: CaseDefinition
version of this case definition

Specified by:
getVersion in interface CaseDefinition

setVersion

public void setVersion(int version)

getDeploymentId

public String getDeploymentId()
Description copied from interface: CaseDefinition
The deployment in which this case definition is contained.

Specified by:
getDeploymentId in interface CaseDefinition

setDeploymentId

public void setDeploymentId(String deploymentId)

getResourceName

public String getResourceName()
Description copied from interface: CaseDefinition
name of the resource of this case definition.

Specified by:
getResourceName in interface CaseDefinition

setResourceName

public void setResourceName(String resourceName)

newCaseInstance

protected CmmnExecution newCaseInstance()
Overrides:
newCaseInstance in class CmmnCaseDefinition

getPersistentState

public Object getPersistentState()
Description copied from interface: PersistentObject
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 PersistentObject

toString

public String toString()
Overrides:
toString in class CoreActivity


Copyright © 2014 camunda services GmbH. All Rights Reserved.