|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.sql.lang.Criteria
com.metamatrix.query.sql.lang.LogicalCriteria
com.metamatrix.query.sql.lang.AtomicCriteria
com.metamatrix.query.sql.lang.NotCriteria
public class NotCriteria
A logical criteria that takes the logical NOT of the contained criteria. That is, if the contained criteria returns true, this criteria returns false. For example: "NOT (element = 5)"
Constructor Summary | |
---|---|
NotCriteria()
Constructs a default instance of this class. |
|
NotCriteria(Criteria crit)
Constructs an instance of this class with sub-criteria. |
Method Summary | |
---|---|
void |
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor. |
java.lang.Object |
clone()
Deep copy of object |
boolean |
equals(java.lang.Object obj)
Compare equality of two AtomicCriteria. |
int |
hashCode()
Get hash code |
Methods inherited from class com.metamatrix.query.sql.lang.AtomicCriteria |
---|
getCriteria, setCriteria |
Methods inherited from class com.metamatrix.query.sql.lang.Criteria |
---|
combineCriteria, combineCriteria, combineCriteria, separateCriteriaByAnd, toConjunctiveNormalForm, toDisjunctiveNormalForm, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NotCriteria()
public NotCriteria(Criteria crit)
crit
- Contained criteriaMethod Detail |
---|
public void acceptVisitor(LanguageVisitor visitor)
LanguageObject
visitor
- Visitor being usedpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Other object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in interface LanguageObject
clone
in class AtomicCriteria
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |