org.jbpm.pvm.impl
Class EventImpl

java.lang.Object
  extended by org.jbpm.pvm.impl.ProcessElementImpl
      extended by org.jbpm.pvm.impl.EventImpl
All Implemented Interfaces:
java.io.Serializable, Event, ProcessElement

public class EventImpl
extends ProcessElementImpl
implements java.io.Serializable, Event

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.util.List<EventListenerReference> listenerReferences
           
protected  java.lang.String name
           
 
Fields inherited from class org.jbpm.pvm.impl.ProcessElementImpl
dbid, dbversion, exceptionHandlers, processDefinition, properties
 
Constructor Summary
EventImpl()
           
 
Method Summary
 EventListenerReference createListenerReference()
           
 EventListenerReference createListenerReference(Activity activity)
           
 EventListenerReference createListenerReference(Descriptor descriptor)
           
 EventListenerReference createListenerReference(java.lang.String expression)
           
 long getDbid()
          the database id.
 java.util.List<EventListenerReference> getListenerReferences()
           
 java.lang.String getName()
          name of the event
 void setListenerReferences(java.util.List<EventListenerReference> eventListenerReferences)
           
 void setName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jbpm.pvm.impl.ProcessElementImpl
addExceptionHandler, addProperty, createExceptionHandler, getExceptionHandlers, getProcessDefinition, getProperties, getProperty, getPropertyKeys, setExceptionHandlers, setProcessDefinition, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.pvm.ProcessElement
getExceptionHandlers, getProcessDefinition, getProperty, getPropertyKeys
 

Field Detail

name

protected java.lang.String name

listenerReferences

protected java.util.List<EventListenerReference> listenerReferences
Constructor Detail

EventImpl

public EventImpl()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createListenerReference

public EventListenerReference createListenerReference()

createListenerReference

public EventListenerReference createListenerReference(Descriptor descriptor)

createListenerReference

public EventListenerReference createListenerReference(Activity activity)

createListenerReference

public EventListenerReference createListenerReference(java.lang.String expression)

getDbid

public long getDbid()
Description copied from class: ProcessElementImpl
the database id.

Specified by:
getDbid in interface ProcessElement
Overrides:
getDbid in class ProcessElementImpl

getName

public java.lang.String getName()
Description copied from interface: Event
name of the event

Specified by:
getName in interface Event

setName

public void setName(java.lang.String name)

getListenerReferences

public java.util.List<EventListenerReference> getListenerReferences()

setListenerReferences

public void setListenerReferences(java.util.List<EventListenerReference> eventListenerReferences)