public class DBCompareNotExpr extends DBCompareExpr
There is no need to explicitly create instances of this class.
Instead use DBCompareExpr.not()
| Modifier and Type | Field and Description |
|---|---|
DBCompareExpr |
expr |
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUE| Constructor and Description |
|---|
DBCompareNotExpr(DBCompareExpr expr)
Constructs a DBCompareColExpr object
|
| Modifier and Type | Method and Description |
|---|---|
void |
addReferencedColumns(Set<DBColumn> list)
Internal function to obtain all DBColumnExpr-objects used by this expression.
|
void |
addSQL(StringBuilder buf,
long context)
Creates the SQL-Command sets the specified compare value
(the varible boolOP) between the two DBCompareExpr objects.
|
DBDatabase |
getDatabase()
Returns the current DBDatabase object.
|
boolean |
isMutuallyExclusive(DBCompareExpr other)
Returns wheter the constraint should replace another one or not.
|
and, not, orgetObjectValue, getValueClasspublic final DBCompareExpr expr
public DBCompareNotExpr(DBCompareExpr expr)
expr - the compare expression to negatepublic DBDatabase getDatabase()
getDatabase in class DBObjectpublic void addReferencedColumns(Set<DBColumn> list)
DBExpraddReferencedColumns in class DBExprlist - list to which all used column expressions must be addedDBExpr.addReferencedColumns(Set)public void addSQL(StringBuilder buf, long context)
public boolean isMutuallyExclusive(DBCompareExpr other)
isMutuallyExclusive in class DBCompareExprCopyright © 2008–2015 Apache Software Foundation. All rights reserved.