org.hops.util
Class answer_result

java.lang.Object
  extended by org.hops.util.answer_result
All Implemented Interfaces:
java.io.Serializable

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

user_answer constants

See Also:
Serialized Form

Field Summary
static answer_result complete
          afirmation of the actionlevel
static answer_result partial
          negation of the actionlevel
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
 boolean equalsTo(answer_result _t)
          Indicates whether a user_answer is "equal to" this one.
 boolean equalsTo(java.lang.String _t)
          Indicates whether the user_answer represented by the String _t is "equal to" this one.
static answer_result toObject(java.lang.String _s)
          returns the user_answer 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, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partial

public static final answer_result partial
negation of the actionlevel


complete

public static final answer_result complete
afirmation of the actionlevel

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


equalsTo

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


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 answer_result toObject(java.lang.String _s)
returns the user_answer representation of the String _s