bexee.event
Class Event

java.lang.Object
  extended bybexee.event.Event

public class Event
extends java.lang.Object

In bexee, all BPEL process instances are represented with a ProcessContext. The instances of ProcessContext s contain Event s which are used for the representation of actually Activities.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:22 $
Author:
Patric Fornasier, Pawel Kowalski

Field Summary
static int DONE
           
static int WAITING
           
 
Constructor Summary
Event(Activity activity)
          Create a new Event instance with a given Activity.
 
Method Summary
 Activity getActivity()
          Get the Activity associated with this Event.
 int getState()
          Get the current state of this Event.
 java.lang.Object getValue(Variable variable)
          Get a variable value from this Event.
 void putValue(Variable variable, java.lang.Object value)
          Add a variable value to this Event.
 void setState(int state)
          Set the state of this Event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WAITING

public static final int WAITING
See Also:
Constant Field Values

DONE

public static final int DONE
See Also:
Constant Field Values
Constructor Detail

Event

public Event(Activity activity)
Create a new Event instance with a given Activity. The given Activity is an immutable property of an Event.

Parameters:
activity - The Activity associated with this Event
Method Detail

setState

public void setState(int state)
Set the state of this Event.

Parameters:
state -

getState

public int getState()
Get the current state of this Event.

Returns:
the current state.

putValue

public void putValue(Variable variable,
                     java.lang.Object value)
Add a variable value to this Event.

Parameters:
variable - a Variable instance used as a variable identifier.
value - the variable value.

getValue

public java.lang.Object getValue(Variable variable)
Get a variable value from this Event.

Parameters:
variable - the variable identifier.
Returns:
the variable value.

getActivity

public Activity getActivity()
Get the Activity associated with this Event.

Returns:
the Activity associated with this Event.


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.