|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectturingmachine.CTMData
turingmachine.CTMDataTransition
Data for the transition on a link between states.
Field Summary | |
---|---|
private java.lang.String |
direction
Direction to go after match, or the replace symbol. |
(package private) static long |
serialVersionUID
Serial id, so future version will load old files |
private java.lang.String |
symbol
Symbol to match. |
Constructor Summary | |
---|---|
CTMDataTransition(CTMDocument document,
CTMDataLink dataLink)
Constructor. |
Method Summary | |
---|---|
void |
delete()
Delete this transition from its parent link. |
java.lang.String |
getDirection()
Get the direction or replace symbol. |
java.lang.String |
getMatch()
Get the match symbol. |
boolean |
setDirection(java.lang.String direction)
Get the direction, or replace symbol. |
boolean |
setSymbol(java.lang.String symbol)
Set the match symbol. |
Methods inherited from class turingmachine.CTMData |
---|
getDataParent, getDocument, getModificationCount, isDeleted, touch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final long serialVersionUID
private java.lang.String symbol
private java.lang.String direction
Constructor Detail |
---|
public CTMDataTransition(CTMDocument document, CTMDataLink dataLink)
document
- Document this data transition belongs to.dataLink
- The link this data transition belongs to.Method Detail |
---|
public boolean setSymbol(java.lang.String symbol)
symbol
- The match symbol.
public java.lang.String getMatch()
public boolean setDirection(java.lang.String direction)
direction
- The direction or replace symbol to set.
public void delete()
delete
in class CTMData
public java.lang.String getDirection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |