|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.commons.ErrorObject
org.apache.empire.db.DBObject
org.apache.empire.db.DBExpr
org.apache.empire.db.expr.compare.DBCompareExpr
public abstract class DBCompareExpr
This class is a common base class for all SQL filter constraints classes
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.empire.commons.ErrorObject |
---|
ErrorObject.ObjectErrorInfo |
Field Summary |
---|
Fields inherited from class org.apache.empire.db.DBExpr |
---|
CTX_ALIAS, CTX_ALL, CTX_DEFAULT, CTX_FULLNAME, CTX_NAME, CTX_NOPARENTHESES, CTX_VALUE, log |
Constructor Summary | |
---|---|
DBCompareExpr()
|
Method Summary | |
---|---|
DBCompareExpr |
and(DBCompareExpr expr)
Creates a new DBCompareAndOrExpr object. |
abstract boolean |
isMutuallyExclusive(DBCompareExpr other)
|
DBCompareExpr |
not()
Creates a sql-expression for the not() function. |
DBCompareExpr |
or(DBCompareExpr expr)
Create a new DBCompareAndOrExpr object. |
Methods inherited from class org.apache.empire.db.DBExpr |
---|
addReferencedColumns, addSQL, getObjectValue, getValueClass |
Methods inherited from class org.apache.empire.db.DBObject |
---|
error, error, getDatabase |
Methods inherited from class org.apache.empire.commons.ErrorObject |
---|
clearError, clearErrorInfo, error, error, error, error, error, getErrorInfo, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, internalSetError, isExceptionsEnabled, setExceptionsEnabled, success |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBCompareExpr()
Method Detail |
---|
public abstract boolean isMutuallyExclusive(DBCompareExpr other)
public DBCompareExpr and(DBCompareExpr expr)
expr
- the right part of the AND expression
public DBCompareExpr or(DBCompareExpr expr)
expr
- the right part of the OR expression
public DBCompareExpr not()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |