org.camunda.bpm.engine.impl.pvm.process
Class ProcessElementImpl

java.lang.Object
  extended by org.camunda.bpm.engine.impl.pvm.process.ProcessElementImpl
All Implemented Interfaces:
Serializable, PvmProcessElement
Direct Known Subclasses:
ScopeImpl, TransitionImpl

public class ProcessElementImpl
extends Object
implements PvmProcessElement

common properties for process definition, activity and transition including event listeners.

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  String id
           
protected  ProcessDefinitionImpl processDefinition
           
protected  Map<String,Object> properties
           
 
Constructor Summary
ProcessElementImpl(String id, ProcessDefinitionImpl processDefinition)
           
 
Method Summary
 String getId()
           
 ProcessDefinitionImpl getProcessDefinition()
           
 Map<String,Object> getProperties()
           
 Object getProperty(String name)
           
 void setProperties(Map<String,Object> properties)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

processDefinition

protected ProcessDefinitionImpl processDefinition

properties

protected Map<String,Object> properties
Constructor Detail

ProcessElementImpl

public ProcessElementImpl(String id,
                          ProcessDefinitionImpl processDefinition)
Method Detail

setProperty

public void setProperty(String name,
                        Object value)

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface PvmProcessElement

getProperties

public Map<String,Object> getProperties()

getId

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

setProperties

public void setProperties(Map<String,Object> properties)

getProcessDefinition

public ProcessDefinitionImpl getProcessDefinition()
Specified by:
getProcessDefinition in interface PvmProcessElement


Copyright © 2014 camunda services GmbH. All Rights Reserved.