org.acmsl.queryj
Class NestedConditionOperator

java.lang.Object
  |
  +--org.acmsl.queryj.ConditionOperator
        |
        +--org.acmsl.queryj.NestedConditionOperator

public abstract class NestedConditionOperator
extends ConditionOperator

Represents condition operators involving nested queries SQL statements.

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

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

Constructor Detail

NestedConditionOperator

public NestedConditionOperator(java.lang.String symbol,
                               SelectQuery query)
Creates a nested operator using given information.

Parameters:
symbol - the symbol.
query - the operator query.
Method Detail

setQuery

protected void setQuery(SelectQuery query)
Specifies the operator query.

Parameters:
query - the query.

getQuery

public SelectQuery getQuery()
Retrieves the operator query.

Returns:
such query.

equals

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

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


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