org.hops.dm.tad.constantsdef
Class polarity

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

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

negative --> not actionlevel positive --> agree actionlevel interrogative --> ask actionlevel nop --> indeterminate

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

Field Summary
static polarity interrogative
          ask of the actionlevel
static polarity negative
          negation of the actionlevel
static polarity nop
          not known
static polarity positive
          afirmation of the actionlevel
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
 boolean equalsTo(polarity _t)
          Indicates whether a polarity is "equal to" this one.
 boolean equalsTo(java.lang.String _t)
          Indicates whether the polarity represented by the String _t is "equal to" this one.
 int hashCode()
           
static polarity toObject(java.lang.String _s)
          returns the polarity 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

negative

public static final polarity negative
negation of the actionlevel


positive

public static final polarity positive
afirmation of the actionlevel


interrogative

public static final polarity interrogative
ask of the actionlevel


nop

public static final polarity nop
not known

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


equalsTo

public boolean equalsTo(java.lang.String _t)
Indicates whether the polarity 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 polarity toObject(java.lang.String _s)
returns the polarity representation of the String _s