org.hops.dm.tad.constantsdef
Class turn

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

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

Turn system, user, none

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

Field Summary
static turn non
          not initialized turn
static turn sys
          system turn
static turn user
          user turn
 
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 turn represented by the String _t is "equal to" this one.
 boolean equalsTo(turn _t)
          Indicates whether a turn is "equal to" this one.
 int hashCode()
           
static turn toObject(java.lang.String _s)
          returns the turn 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

sys

public static final turn sys
system turn


user

public static final turn user
user turn


non

public static final turn non
not initialized turn

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(turn _t)
Indicates whether a turn is "equal to" this one.


equalsTo

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


hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
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 turn toObject(java.lang.String _s)
returns the turn representation of the String _s