org.apache.torque.util
Class JoinBuilder

java.lang.Object
  extended byorg.apache.torque.util.JoinBuilder
All Implemented Interfaces:
java.io.Serializable

public abstract class JoinBuilder
extends java.lang.Object
implements java.io.Serializable

Factored out code that is used to generate Join Code. This code comes from BasePeer and is put here to reduce complexity in the BasePeer class. You should not use the methods here directly!

Version:
$Id: JoinBuilder.java 239636 2005-08-24 12:38:09Z henning $
Author:
Thomas Fischer, Henning P. Schmiedehausen
See Also:
Serialized Form

Constructor Summary
JoinBuilder()
           
 
Method Summary
static void processJoins(DB db, DatabaseMap dbMap, Criteria criteria, Query query)
          adds the Joins from the criteria to the query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinBuilder

public JoinBuilder()
Method Detail

processJoins

public static final void processJoins(DB db,
                                      DatabaseMap dbMap,
                                      Criteria criteria,
                                      Query query)
                               throws TorqueException
adds the Joins from the criteria to the query

Parameters:
criteria - the criteria from which the Joins are taken
query - the query to which the Joins should be added
Throws:
TorqueException - if the Joins can not be processed


Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.