org.acmsl.queryj
Class ConditionOperator

java.lang.Object
  |
  +--org.acmsl.queryj.ConditionOperator
Direct Known Subclasses:
NestedConditionOperator

public abstract class ConditionOperator
extends java.lang.Object

Represents operators used inside conditions.

Version:
$Revision: 1.1 $
Author:
Jose San Leandro

Constructor Summary
ConditionOperator(java.lang.String symbol)
          Creates a operator using given information.
 
Method Summary
 boolean equals(java.lang.Object candidate)
          Checks if given object is logically equal to this one.
 java.lang.String getSymbol()
          Retrieves the operator symbol.
protected  void setSymbol(java.lang.String symbol)
          Specifies the operator symbol.
 java.lang.String toString()
          Retrieves a text version of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConditionOperator

public ConditionOperator(java.lang.String symbol)
Creates a operator using given information.

Parameters:
symbol - the operator symbol.
Method Detail

setSymbol

protected void setSymbol(java.lang.String symbol)
Specifies the operator symbol.

Parameters:
symbol - the symbol.

getSymbol

public java.lang.String getSymbol()
Retrieves the operator symbol.

Returns:
such symbol.

toString

public java.lang.String toString()
Retrieves a text version of the object.

Overrides:
toString in class java.lang.Object
Returns:
such representation.

equals

public boolean equals(java.lang.Object candidate)
Checks if given object is logically equal to this one.

Overrides:
equals in class java.lang.Object
Parameters:
candidate - the object to check.
Returns:
true if both objects are logically equal.


Copyright © 2003 ACM S.L.. All Rights Reserved.