Class Join
java.lang.Object
org.castor.cpa.persistence.sql.query.Join
- All Implemented Interfaces:
QueryObject
Class holding join informations.
- Version:
- $Revision: 8469 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Dennis Butterstein, Ralf Joachim
-
Constructor Summary
ConstructorsConstructorDescriptionJoin
(JoinOperator oper, Qualifier join) Constructor taking two parameters, constructing JoinOperator instance from string and delegating call to the default constructor.Join
(JoinOperator oper, Qualifier join, Condition cond) Default constructor copying passed values to class variables. -
Method Summary
-
Constructor Details
-
Join
Constructor taking two parameters, constructing JoinOperator instance from string and delegating call to the default constructor.- Parameters:
oper
- String to be used to get the correct JoinOperator.join
- Qualifier to be used as right side of the join.
-
Join
Default constructor copying passed values to class variables.- Parameters:
oper
- Passed JoinOperator to be set.join
- Qualifier to be used as right side of the join.cond
- Condition to be used for the join.
-
-
Method Details
-
getOperator
Method returning operator currently set.- Returns:
- Operator currently set.
-
getJoin
Method returning qualifier currently set.- Returns:
- Qualifier currently set.
-
getCondition
Method returning condition currently set.- Returns:
- Condition currently set.
-
toString
Method constructing query string. -
accept
Accept method to handle incoming visitors.- Specified by:
accept
in interfaceQueryObject
- Parameters:
visitor
- Visitor to be handled.
-