|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.pvm.impl.ProcessElementImpl
public class ProcessElementImpl
superclass for NodeImpl
, TransitionImpl
and ProcessDefinitionImpl
.
Field Summary | |
---|---|
protected long |
dbid
|
protected int |
dbversion
|
protected java.util.List<ExceptionHandlerImpl> |
exceptionHandlers
|
protected ProcessDefinitionImpl |
processDefinition
|
protected WireProperties |
properties
|
Constructor Summary | |
---|---|
ProcessElementImpl()
|
Method Summary | |
---|---|
void |
addExceptionHandler(ExceptionHandlerImpl exceptionHandler)
|
void |
addProperty(Descriptor descriptor)
|
ExceptionHandlerImpl |
createExceptionHandler()
|
long |
getDbid()
the database id. |
java.util.List<ExceptionHandlerImpl> |
getExceptionHandlers()
the list of exception handlers that can be tried if an exception occurs in user code that is associated to this process element or a process element inside of this process element. |
ProcessDefinition |
getProcessDefinition()
the process definition to which this process element belongs |
WireProperties |
getProperties()
|
java.lang.Object |
getProperty(java.lang.String key)
the property value for the given key or null if no such configuration key is present. |
java.util.Set<java.lang.String> |
getPropertyKeys()
the set of available property keys or an empty set in case there are no keys. |
void |
setExceptionHandlers(java.util.List<ExceptionHandlerImpl> exceptionHandlers)
|
void |
setProcessDefinition(ProcessDefinitionImpl processDefinition)
|
void |
setProperties(WireProperties properties)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected long dbid
protected int dbversion
protected ProcessDefinitionImpl processDefinition
protected java.util.List<ExceptionHandlerImpl> exceptionHandlers
protected WireProperties properties
Constructor Detail |
---|
public ProcessElementImpl()
Method Detail |
---|
public ExceptionHandlerImpl createExceptionHandler()
public void addExceptionHandler(ExceptionHandlerImpl exceptionHandler)
public void addProperty(Descriptor descriptor)
public java.lang.Object getProperty(java.lang.String key)
ProcessElement
getProperty
in interface ProcessElement
public java.util.Set<java.lang.String> getPropertyKeys()
ProcessElement
getPropertyKeys
in interface ProcessElement
public long getDbid()
getDbid
in interface ProcessElement
public ProcessDefinition getProcessDefinition()
ProcessElement
getProcessDefinition
in interface ProcessElement
public void setProcessDefinition(ProcessDefinitionImpl processDefinition)
public WireProperties getProperties()
public void setProperties(WireProperties properties)
public java.util.List<ExceptionHandlerImpl> getExceptionHandlers()
ProcessElement
getExceptionHandlers
in interface ProcessElement
public void setExceptionHandlers(java.util.List<ExceptionHandlerImpl> exceptionHandlers)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |