jade.wrapper
Interface State

All Known Implementing Classes:
StateBase

public interface State

Defines the interface to all concrete implementations of state representation.

Author:
Kevin A. Minder, David Bell, Dick Cowan : Hewlett-Packard

Method Summary
 int getCode()
          Return the integer code assigned to the state.
 java.lang.String getName()
          Returns the name of the state.
 java.lang.String toString()
          Return string representation of state description and its code.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the state. This method will never return null.
Returns:
The descriptive name of the state.

getCode

public int getCode()
Return the integer code assigned to the state.
Returns:
The integer code assigned to the state.

toString

public java.lang.String toString()
Return string representation of state description and its code.
Overrides:
toString in class java.lang.Object
Returns:
String representation of this state.