org.objectweb.kilim.description
Class Trigger
java.lang.Object
org.objectweb.kilim.description.TemplateElementImpl
org.objectweb.kilim.description.Trigger
- All Implemented Interfaces:
- java.lang.Cloneable, TemplateElement
- Direct Known Subclasses:
- BindTrigger, UnBindTrigger
- public abstract class Trigger
- extends TemplateElementImpl
- Author:
- horn
Field Summary |
static int |
BIND
integer constants used to identify bind events |
static java.lang.String[] |
EVENT_TYPE_NAME
strings to be used to print event idents |
private int |
kind
|
private java.lang.String |
sourceName
|
private java.util.List |
transformers
|
static int |
UNBIND
integer constants used to identify unbind events |
Constructor Summary |
protected |
Trigger(java.lang.String aName,
int aKind)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_TYPE_NAME
public static final java.lang.String[] EVENT_TYPE_NAME
- strings to be used to print event idents
BIND
public static final int BIND
- integer constants used to identify bind events
- See Also:
- Constant Field Values
UNBIND
public static final int UNBIND
- integer constants used to identify unbind events
- See Also:
- Constant Field Values
sourceName
private java.lang.String sourceName
kind
private int kind
transformers
private java.util.List transformers
Trigger
protected Trigger(java.lang.String aName,
int aKind)
getEventKind
public int getEventKind()
- returns the kind of the trigger event. It is one of TRIGGER.BIND or' TRIGGER.UNBIND.
- Returns:
- int
getSourceName
public java.lang.String getSourceName()
- See Also:
org.objectweb.kilim.description.Trigger#getName()
setSourceName
public void setSourceName(java.lang.String aName)
- See Also:
org.objectweb.kilim.description.Trigger#getName()
addTransformer
public void addTransformer(BasicElement aTransformer)
throws KilimException
- Throws:
KilimException
- See Also:
org.objectweb.kilim.description.Trigger#addTransformer(Transformer)
removeTransformer
public void removeTransformer(BasicElement aTransformer)
throws KilimException
- Throws:
KilimException
- See Also:
org.objectweb.kilim.description.Trigger#removeTransformer(String)
getTransformers
public java.util.Iterator getTransformers()
- See Also:
getTransformers()