|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.automaton.TransitionDescriptor
@ATTR(value={"id#String#REQUIRED","propagateEvent#Boolean#IMPLIED","ignoreEntryActions#Boolean#IMPLIED"}) public class TransitionDescriptor
A transitionDescriptor describes the flow that potentially could be produced in response to an event fired while in a state. The result may be a move to a new state, but could also be the transition to another action within the same state. (as a result of one of the actions).
Field Summary | |
---|---|
protected Vector |
actionsTags
|
protected boolean |
ignoreEntryActions
|
protected boolean |
ignoreExitActions
|
protected java.lang.String |
name
|
protected boolean |
propagateEvent
|
protected java.lang.String |
targetStateName
|
Constructor Summary | |
---|---|
TransitionDescriptor()
Creates an instance of type TransitionDescriptor. |
Method Summary | |
---|---|
Externalizer |
externalizer()
This method gets the externalizer instance used to build. |
Vector |
getActionsTags()
Returns a vector of actions Tags. |
java.lang.String |
getName()
Returns the value of the name property (the name of the event that triggers this transition). |
java.util.Hashtable |
getParms()
Returns the java.util.Hashtable value of the parms property. |
boolean |
getPropagateEvent()
Returns the boolean value of the propagateEvent property. |
java.lang.String |
getTargetStateName()
Returns the value of the targetStateName property. |
java.lang.Object |
initializeFrom(Tag aTag)
Initializes a TransitionDescriptor from its Tag with its id, targetState, and propogateEvent attributes. |
boolean |
isIgnoreEntryActions()
Returns the value of the ignoreEntryActions flag. |
boolean |
isIgnoreExitActions()
Returns the value of the ignoreExitActions flag. |
void |
readExternal()
This method will find the tag that corresponds to the name of THIS entity. |
void |
readExternal(java.io.ObjectInput in)
Invokes the object creation from an ObjectInput. |
void |
removeExternal()
Removes the Externalizer. |
void |
setActionsTags(Vector newActions)
Sets the value of the actions property. |
void |
setIgnoreEntryActions(boolean newIgnoreEntryActions)
Sets the value of the ignoreEntryActions flag. |
void |
setIgnoreExitActions(boolean newIgnoreExitActions)
Sets the value of the ignoreExitActions flag. |
void |
setName(java.lang.String newName)
Sets the value of the name property (the name of the event that triggers this transition). |
void |
setPropagateEvent(boolean newpropagateEventValue)
Sets the value of the propagateEvent property. |
void |
setTargetStateName(java.lang.String newTargetStateName)
Returns the value of the targetStateName property. |
java.lang.String |
toString()
Returns a String representing the transition descriptor. |
Vector |
toStrings()
Returns a Vector with the String representation of the object. |
Vector |
toTags()
Returns a Vector with the object represented as a Tag. |
void |
writeExternal()
Writes this instance (converted into tags) to a file. |
void |
writeExternal(java.io.ObjectOutput out)
Provides concrete serialization handling for TransitionDescriptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Vector actionsTags
protected java.lang.String targetStateName
protected java.lang.String name
protected boolean propagateEvent
protected boolean ignoreEntryActions
protected boolean ignoreExitActions
Constructor Detail |
---|
public TransitionDescriptor()
Method Detail |
---|
public Externalizer externalizer() throws java.io.IOException
java.lang.IOException
java.io.IOException
public Vector getActionsTags()
public java.lang.String getName()
public boolean getPropagateEvent()
public java.lang.String getTargetStateName()
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException, DSEException
aTag
- com.ibm.btt.base.Tag Contains the name and attributes of the
object to be created.
java.io.IOException
- The object can not be created.
DSEException
public boolean isIgnoreEntryActions()
public boolean isIgnoreExitActions()
public void readExternal() throws java.io.IOException
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- java.io.ObjectInput
java.io.IOException
java.lang.ClassNotFoundException
public void removeExternal() throws java.io.IOException
java.lang.IOException
java.io.IOException
public void setActionsTags(Vector newActions)
newActions
- com.ibm.btt.base.Vectorpublic void setIgnoreEntryActions(boolean newIgnoreEntryActions)
newIgnoreEntryActions
- booleanpublic void setIgnoreExitActions(boolean newIgnoreExitActions)
newIgnoreEntryActions
- booleanpublic void setName(java.lang.String newName)
newName
- java.lang.Stringpublic void setPropagateEvent(boolean newpropagateEventValue)
newpropagateEventValue
- booleanpublic void setTargetStateName(java.lang.String newTargetStateName)
newNextStateName
- java.lang.Stringpublic java.lang.String toString()
toString
in class java.lang.Object
public Vector toStrings()
public Vector toTags() throws java.io.IOException
java.io.IOException
public void writeExternal() throws java.io.IOException
java.io.IOException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- java.io.ObjectOutput
java.io.IOException
public java.util.Hashtable getParms()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |