org.apache.empire.db.expr.join
Class DBJoinExprEx

java.lang.Object
  extended by org.apache.empire.commons.ErrorObject
      extended by org.apache.empire.db.DBObject
          extended by org.apache.empire.db.DBExpr
              extended by org.apache.empire.db.expr.join.DBJoinExpr
                  extended by org.apache.empire.db.expr.join.DBJoinExprEx
All Implemented Interfaces:
java.io.Serializable, ErrorInfo

public class DBJoinExprEx
extends DBJoinExpr

This class is used for building a join expression of an SQL statement.

There is no need to explicitly create instances of this class.
Instead use @link DBCommand.join(DBRowSet, DBCompareExpr, DBJoinType)

See Also:
Serialized Form

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.expr.join.DBJoinExpr
compExpr, left, right, type
 
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
DBJoinExprEx(DBRowSet rset, DBCompareExpr cmp, DBJoinType joinType)
          Constructs a new DBJoinExprEx
 
Method Summary
 void addSQL(java.lang.StringBuilder buf, long context)
          Not allowed, this operation have to be done in the DBCommand object.
 DBCompareExpr getJoinConstraint()
           
 
Methods inherited from class org.apache.empire.db.expr.join.DBJoinExpr
addReferencedColumns, and, equals, getDatabase, getLeft, getOuterTable, getRight, getType, isJoinOn, reverse, where
 
Methods inherited from class org.apache.empire.db.DBExpr
getObjectValue, getValueClass
 
Methods inherited from class org.apache.empire.db.DBObject
error, error
 
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBJoinExprEx

public DBJoinExprEx(DBRowSet rset,
                    DBCompareExpr cmp,
                    DBJoinType joinType)
Constructs a new DBJoinExprEx

Parameters:
rset - the rowset
cmp - the compare expression
joinType - the join type
Method Detail

getJoinConstraint

public DBCompareExpr getJoinConstraint()

addSQL

public void addSQL(java.lang.StringBuilder buf,
                   long context)
Description copied from class: DBJoinExpr
Not allowed, this operation have to be done in the DBCommand object.

Overrides:
addSQL in class DBJoinExpr
Parameters:
buf - the string buffer used to build the sql command
context - context flag for this SQL-Command (see CTX_??? constants).


Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.