org.hops.dm.tad.constantsdef
Class sys_state

java.lang.Object
  extended by org.hops.dm.tad.constantsdef.sys_state
All Implemented Interfaces:
java.io.Serializable

public class sys_state
extends java.lang.Object
implements java.io.Serializable

stop --> after quit or before greet running --> after greet init --> greet

Version:
3.0
Author:
Meritxell Gonzalez
See Also:
Serialized Form

Field Summary
static sys_state init
          system initiated
static sys_state running
          system running
static sys_state stop
          system stopped
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
 boolean equalsTo(java.lang.String _t)
          Indicates whether the sys_state represented by the String _t is "equal to" this one.
 boolean equalsTo(sys_state _t)
          Indicates whether a sys_state is "equal to" this one.
 int hashCode()
           
static sys_state toObject(java.lang.String _s)
          returns the sys_state representation of the String _s
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

stop

public static final sys_state stop
system stopped


running

public static final sys_state running
system running


init

public static final sys_state init
system initiated

Method Detail

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object

equalsTo

public boolean equalsTo(sys_state _t)
Indicates whether a sys_state is "equal to" this one.


equalsTo

public boolean equalsTo(java.lang.String _t)
Indicates whether the sys_state represented by the String _t is "equal to" this one.


hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.

Overrides:
equals in class java.lang.Object

toObject

public static sys_state toObject(java.lang.String _s)
returns the sys_state representation of the String _s