|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.sql.lang.Criteria com.metamatrix.query.sql.lang.PredicateCriteria com.metamatrix.query.sql.lang.AbstractSetCriteria
public abstract class AbstractSetCriteria
This is an abstract class to define some common functionality in the two varieties of
IN criteria: SetCriteria
(where values are specified) and SubquerySetCriteria
(where a subquery is defined and will supply the values for the IN set).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.metamatrix.query.sql.lang.PredicateCriteria |
---|
PredicateCriteria.Negatable |
Constructor Summary | |
---|---|
protected |
AbstractSetCriteria()
Constructor for AbstractSetCriteria. |
Method Summary | |
---|---|
abstract java.lang.Object |
clone()
Deep copy of object |
Expression |
getExpression()
Gets the membership expression to be compared. |
boolean |
isNegated()
Returns whether this criteria is negated. |
void |
negate()
|
void |
setExpression(Expression expression)
Sets the membership expression |
void |
setNegated(boolean negationFlag)
Sets the negation flag for this criteria. |
Methods inherited from class com.metamatrix.query.sql.lang.Criteria |
---|
combineCriteria, combineCriteria, combineCriteria, separateCriteriaByAnd, toConjunctiveNormalForm, toDisjunctiveNormalForm, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.metamatrix.query.sql.LanguageObject |
---|
acceptVisitor |
Constructor Detail |
---|
protected AbstractSetCriteria()
Method Detail |
---|
public Expression getExpression()
public void setExpression(Expression expression)
expression
- The membership expressionpublic boolean isNegated()
public void setNegated(boolean negationFlag)
negationFlag
- true if this criteria contains a NOT; false otherwisepublic void negate()
negate
in interface PredicateCriteria.Negatable
public abstract java.lang.Object clone()
clone
in interface LanguageObject
clone
in class PredicateCriteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |