com.vii.brillien.kernel.axiom.component
Interface State


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

isInit

boolean isInit()
Tells whether the role of the State is init or not


isExit

boolean isExit()
Tells whether the role of the State is exit or not


isError

boolean isError()
Tells whether the role of the State is error or not


isActive

boolean isActive()
Tells whether the State is active in the current Presence object

Returns:
boolean value of the report about its activity

getName

String getName()
Gives the unique name of the State object

Returns:
unique name

setName

void setName(String name)
Sets the unique name of the State object



Copyright © 2012. All Rights Reserved.