jade.wrapper
Interface State

All Known Implementing Classes:
AgentState, PlatformState, StateBase

public interface State

Defines the interface to all concrete implementations of state representation.
NOT available in MIDP

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

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

Returns:
The descriptive name of the state.

getCode

int getCode()
Return the integer code assigned to the state.

Returns:
The integer code assigned to the state.

toString

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.


These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions