org.jbpm.pvm
Interface ProcessElement

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
CompositeElement, Event, Node, ObservableElement, ProcessDefinition, Transition
All Known Implementing Classes:
CompositeElementImpl, EventImpl, EventListenerReference, NodeImpl, ObjectReference, ObservableElementImpl, ProcessDefinitionImpl, ProcessElementImpl, ProcessModificationsImpl.AddedAction, ProcessModificationsImpl.AddedNode, ProcessModificationsImpl.AddedTransition, TransitionImpl

public interface ProcessElement
extends java.io.Serializable

common base interface for all process definition objects that can have exception handlers and properties.

Author:
Tom Baeyens

Method Summary
 long getDbid()
          the meaningless database primary key
 java.util.List<? extends ExceptionHandler> 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
 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.
 

Method Detail

getDbid

long getDbid()
the meaningless database primary key


getProcessDefinition

ProcessDefinition getProcessDefinition()
the process definition to which this process element belongs


getProperty

java.lang.Object getProperty(java.lang.String key)
the property value for the given key or null if no such configuration key is present. This is extra static configuration information that can be associated to a process element. Process languages can use this to store configuration properties for extensions in it. That way, these extensions can be added without changing the process model or the database schema. Examples of extensions that may use these configuration properties are simulation, predictive scheduling, graphical information,...


getPropertyKeys

java.util.Set<java.lang.String> getPropertyKeys()
the set of available property keys or an empty set in case there are no keys.


getExceptionHandlers

java.util.List<? extends ExceptionHandler> 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. Beware: the actual member is returned. No copy is made.