|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface State
State interface defined the basic behavior of a state object describing state information in a Presence object. It is handled by the StateDivision objects to decide whether a State transition is correct or not.
Method Summary | |
---|---|
String |
getName()
Gives the unique name of the State object |
boolean |
isActive()
Tells whether the State is active in the current Presence object |
boolean |
isError()
Tells whether the role of the State is error or not |
boolean |
isExit()
Tells whether the role of the State is exit or not |
boolean |
isInit()
Tells whether the role of the State is init or not |
void |
setName(String name)
Sets the unique name of the State object |
Method Detail |
---|
boolean isInit()
boolean isExit()
boolean isError()
boolean isActive()
String getName()
void setName(String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |