org.objectweb.kilim.model
Class RuntimeTrigger

java.lang.Object
  extended byorg.objectweb.kilim.model.RuntimeTrigger

public class RuntimeTrigger
extends java.lang.Object

Author:
horn

Field Summary
private  java.util.LinkedList actions
           
private  int eventKind
           
private  RtComponentInterface eventSource
           
 
Constructor Summary
RuntimeTrigger(int aEventKind, RtComponentInterface aSource)
          the public constructor for RuntimeTrigger.
 
Method Summary
 void addTransformer(RuntimeAction aAction)
           
 int getEventKind()
          returns the event kind associated to the trigger.
 RtComponentInterface getEventSource()
          returns the event source.
 java.util.Iterator getTransformers()
          returns as an iterator the transformers associated to the the trigger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventKind

private int eventKind

actions

private java.util.LinkedList actions

eventSource

private RtComponentInterface eventSource
Constructor Detail

RuntimeTrigger

public RuntimeTrigger(int aEventKind,
                      RtComponentInterface aSource)
the public constructor for RuntimeTrigger.

Parameters:
aEventKind - : the kind of event which should be one of Trigger.BIND or Trigger.UNBIND.
aSource - : the event source.
Method Detail

getEventKind

public int getEventKind()
returns the event kind associated to the trigger. It is one of Trigger.BIND or Trigger.UNBIND.

Returns:
int

getEventSource

public RtComponentInterface getEventSource()
returns the event source.

Returns:
ComponentInterface

addTransformer

public void addTransformer(RuntimeAction aAction)
See Also:
org.objectweb.kilim.description.Trigger#addTransformer(Transformer)

getTransformers

public java.util.Iterator getTransformers()
returns as an iterator the transformers associated to the the trigger.

Returns:
Iterator