org.jbpm.pvm.internal.model
Class EventImpl

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

public class EventImpl
extends ProcessElementImpl
implements Event

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  Continuation continuation
           
protected  java.util.List<EventListenerReference> listenerReferences
           
protected  java.lang.String name
           
protected  ObservableElementImpl observableElement
           
 
Fields inherited from class org.jbpm.pvm.internal.model.ProcessElementImpl
dbid, dbversion, exceptionHandlers, processDefinition, properties
 
Fields inherited from interface org.jbpm.api.model.Event
ASSIGN, END, REMIND, START, TAKE
 
Constructor Summary
EventImpl()
           
 
Method Summary
 EventListenerReference createEventListenerReference()
           
 EventListenerReference createEventListenerReference(Descriptor descriptor)
           
 EventListenerReference createEventListenerReference(EventListener eventListener)
           
 Continuation getContinuation()
           
 long getDbid()
          the database id.
 java.util.List<EventListenerReference> getListenerReferences()
           
 java.lang.String getName()
           
 ObservableElementImpl getObservableElement()
           
 boolean isAsync()
           
 void setContinuation(Continuation continuation)
           
 void setListenerReferences(java.util.List<EventListenerReference> eventListenerReferences)
           
 void setName(java.lang.String name)
           
 void setObservableElement(ObservableElementImpl observableElement)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jbpm.pvm.internal.model.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
 

Field Detail

name

protected java.lang.String name

observableElement

protected ObservableElementImpl observableElement

listenerReferences

protected java.util.List<EventListenerReference> listenerReferences

continuation

protected Continuation continuation
Constructor Detail

EventImpl

public EventImpl()
Method Detail

toString

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

createEventListenerReference

public EventListenerReference createEventListenerReference()

createEventListenerReference

public EventListenerReference createEventListenerReference(Descriptor descriptor)

createEventListenerReference

public EventListenerReference createEventListenerReference(EventListener eventListener)

isAsync

public boolean isAsync()

getDbid

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

Overrides:
getDbid in class ProcessElementImpl

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getListenerReferences

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

setListenerReferences

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

getContinuation

public Continuation getContinuation()

setContinuation

public void setContinuation(Continuation continuation)

getObservableElement

public ObservableElementImpl getObservableElement()

setObservableElement

public void setObservableElement(ObservableElementImpl observableElement)


Copyright © 2010 JBoss Community. All Rights Reserved.