toolkit.db.api
Class AndInfo

java.lang.Object
  extended by toolkit.db.api.AndInfo

public class AndInfo
extends java.lang.Object

Class AndInfo wraps search condition related information.


Method Summary
 boolean equals(java.lang.Object obj)
          Compares this AndInfo to the specified object.
 java.lang.String getLeftExpr()
          Gets the value of the left expression.
 java.lang.String getLogic()
          Gets the value of the logic.
 java.lang.String getOperator()
          Gets the value of the operator.
 java.lang.String getRightExpr()
          Gets the value of the right expression.
 boolean isEndOfGroup()
          Whether this is the last condition in a group.
 java.lang.String toString()
          Returns a string representing this AndInfo's values.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLeftExpr

public java.lang.String getLeftExpr()
Gets the value of the left expression.

Returns:
the left expression value.

getOperator

public java.lang.String getOperator()
Gets the value of the operator.

Returns:
the operator value.

getRightExpr

public java.lang.String getRightExpr()
Gets the value of the right expression.

Returns:
the right expression value.

getLogic

public java.lang.String getLogic()
Gets the value of the logic.

Returns:
the logic value.

isEndOfGroup

public boolean isEndOfGroup()
Whether this is the last condition in a group.

Returns:
true if this is the last condition in a group, false otherwise.

equals

public boolean equals(java.lang.Object obj)
Compares this AndInfo to the specified object.

Overrides:
equals in class java.lang.Object
Returns:
true if the AndInfo are the same, false otherwise.

toString

public java.lang.String toString()
Returns a string representing this AndInfo's values. The format is as follows:

  className@hashCode[ leftExrepssion | operator | rightExpression | 
                      logic | isEndOfGroup ]
        

Overrides:
toString in class java.lang.Object
Returns:
a string representing this AndInfo.