|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.hkust.afchecker.model.State
public class State
Author: Andrew
File history: Created on July 16, 2011. Last update on Sept. 26, 2012.
Description: The class for representing a unique state in a finite state machine.
Constructor Summary | |
---|---|
State(short stateNo,
java.lang.String stateName)
constructor |
Method Summary | |
---|---|
java.lang.String |
getName()
|
short |
getNo()
|
void |
setName(java.lang.String stateName)
set the state name to stateName |
void |
setNo(short stateNo)
set the state id to stateNo |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public State(short stateNo, java.lang.String stateName)
stateNo
- stateName
- Method Detail |
---|
public short getNo()
public void setNo(short stateNo)
stateNo
- public java.lang.String getName()
public void setName(java.lang.String stateName)
stateName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |