org.hops.dm.tad
Class term

java.lang.Object
  extended by org.hops.dm.tad.term

public class term
extends java.lang.Object

This class is used for expressing conditions over the actions. This is a term of a conditions, composed by the base (stack name) and an prop (attribute name and value)

Version:
3.0
Author:
mgonzalez
See Also:
condition

Field Summary
 java.lang.String base
          stack that should contain the condition
 attrval prop
          attribute
 
Constructor Summary
term()
          Creates a new instance of term
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
          Indicates whether some other object is "equal to" this one.
 boolean equalsTo(term _t)
          Indicates whether a condition is "equal to" this one.
 int hashCode()
           
 boolean is_empty()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

base

public java.lang.String base
stack that should contain the condition


prop

public attrval prop
attribute

Constructor Detail

term

public term()
Creates a new instance of term

Method Detail

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

equalsTo

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


clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

is_empty

public boolean is_empty()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object