|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.edu.unr.fceia.bottallo.Transition
public class Transition
Represent a Statecharts transition
Field Summary | |
---|---|
static byte |
CONNECTOR
|
static byte |
RING
|
static byte |
STATE
|
Constructor Summary | |
---|---|
Transition()
Creates a new instance of Transition |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
protected boolean |
empty()
Check if a transition has empty label |
protected java.lang.String |
getAction()
Get the action part of a transition |
protected java.lang.String |
getCondition()
Get the condition part of a transition |
protected java.lang.String |
getEnd()
Get the end element(their id) of a transition |
protected byte |
getEndType()
Get the type of the end element of a transition |
protected java.lang.String |
getEvent()
Get the event part of a transition |
protected java.lang.String |
getLabel()
Return the transition's label |
protected State |
getScope()
Get the scope of the transition |
protected java.lang.String |
getStart()
Return the start element(their id) of a transition |
protected byte |
getStartType()
Get the type of the start element of a transition |
protected boolean |
isDefault()
Check if the transition is a default transition |
protected void |
setAction(java.lang.String a)
Set the action part in a transition's label |
protected void |
setCondition(java.lang.String c)
Set the condition part in a transition's label |
protected void |
setDefault(boolean b)
Set true if the transition is a default transition |
protected void |
setEnd(java.lang.String e)
Set the end element(their id) of a transition |
protected void |
setEndType(byte b)
Set the type of the end element of a transition |
protected void |
setEvent(java.lang.String e)
Set the event part in a transition's label |
protected void |
setScope(State s)
Set the scope of the transition |
protected void |
setStart(java.lang.String s)
Set the start element(their id) of a transition |
protected void |
setStartType(byte b)
Set the type of the start element of a transition |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte STATE
public static final byte CONNECTOR
public static final byte RING
Constructor Detail |
---|
public Transition()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
protected void setEvent(java.lang.String e)
protected java.lang.String getEvent()
protected void setCondition(java.lang.String c)
protected java.lang.String getCondition()
protected void setAction(java.lang.String a)
protected java.lang.String getAction()
protected boolean empty()
protected java.lang.String getLabel()
protected void setStart(java.lang.String s)
protected java.lang.String getStart()
protected void setEnd(java.lang.String e)
protected java.lang.String getEnd()
protected void setStartType(byte b)
protected byte getStartType()
protected void setEndType(byte b)
protected byte getEndType()
protected void setDefault(boolean b)
protected boolean isDefault()
protected void setScope(State s)
protected State getScope()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |