org.apache.ojb.broker.query
Class ReportQueryByMtoNCriteria

java.lang.Object
  extended by org.apache.ojb.broker.query.AbstractQueryImpl
      extended by org.apache.ojb.broker.query.QueryByCriteria
          extended by org.apache.ojb.broker.query.ReportQueryByCriteria
              extended by org.apache.ojb.broker.query.ReportQueryByMtoNCriteria
All Implemented Interfaces:
java.io.Serializable, MtoNQuery, Query, ReportQuery

public class ReportQueryByMtoNCriteria
extends ReportQueryByCriteria
implements MtoNQuery

ReportQuery using MtoNCriteria, for internal use

Version:
$Id: ReportQueryByMtoNCriteria.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Jakob Braeuchi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.ojb.broker.query.QueryByCriteria
CRITERIA_SELECT_ALL
 
Fields inherited from interface org.apache.ojb.broker.query.Query
NO_END_AT_INDEX, NO_START_AT_INDEX, NOT_SCROLLABLE, SCROLLABLE
 
Constructor Summary
ReportQueryByMtoNCriteria(java.lang.Class targetClass, Criteria criteria)
          Constructor for ReportQueryByMtoNCriteria.
ReportQueryByMtoNCriteria(java.lang.Class targetClass, Criteria criteria, boolean distinct)
          Constructor for ReportQueryByMtoNCriteria.
ReportQueryByMtoNCriteria(java.lang.Class targetClass, java.lang.String[] columns, Criteria criteria)
          Constructor for ReportQueryByMtoNCriteria.
ReportQueryByMtoNCriteria(java.lang.Class targetClass, java.lang.String[] columns, Criteria criteria, boolean distinct)
          Constructor for ReportQueryByMtoNCriteria.
 
Method Summary
 java.lang.String getIndirectionTable()
          Gets the indirection Table used for m:n queries.
 void setIndirectionTable(java.lang.String indirectionTable)
          Sets the indirectionTable.
 
Methods inherited from class org.apache.ojb.broker.query.ReportQueryByCriteria
getAttributeFieldDescriptors, getAttributes, getColumns, getJdbcTypes, getJoinAttributes, setAttributeFieldDescriptors, setAttributes, setColumns, setJdbcTypes, setJoinAttributes, toString
 
Methods inherited from class org.apache.ojb.broker.query.QueryByCriteria
addGroupBy, addGroupBy, addGroupBy, addOrderBy, addOrderBy, addOrderBy, addOrderByAscending, addOrderByDescending, addPathClass, addPrefetchedRelationship, getClassesForPath, getCriteria, getGroupBy, getHavingCriteria, getObjectProjectionAttribute, getOrderBy, getOuterJoinPaths, getPathClasses, getPrefetchedRelationships, isDistinct, isPathOuterJoin, setCriteria, setDistinct, setHavingCriteria, setObjectProjectionAttribute, setObjectProjectionAttribute, setPathClass, setPathOuterJoin
 
Methods inherited from class org.apache.ojb.broker.query.AbstractQueryImpl
fullSize, fullSize, getBaseClass, getEndAtIndex, getExampleObject, getFetchSize, getSearchClass, getStartAtIndex, getWithExtents, setEndAtIndex, setFetchSize, setStartAtIndex, setWithExtents, usePaging
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportQueryByMtoNCriteria

public ReportQueryByMtoNCriteria(java.lang.Class targetClass,
                                 java.lang.String[] columns,
                                 Criteria criteria,
                                 boolean distinct)
Constructor for ReportQueryByMtoNCriteria.

Parameters:
targetClass -
columns -
criteria -
distinct -

ReportQueryByMtoNCriteria

public ReportQueryByMtoNCriteria(java.lang.Class targetClass,
                                 java.lang.String[] columns,
                                 Criteria criteria)
Constructor for ReportQueryByMtoNCriteria.

Parameters:
targetClass -
columns -
criteria -

ReportQueryByMtoNCriteria

public ReportQueryByMtoNCriteria(java.lang.Class targetClass,
                                 Criteria criteria)
Constructor for ReportQueryByMtoNCriteria.

Parameters:
targetClass -
criteria -

ReportQueryByMtoNCriteria

public ReportQueryByMtoNCriteria(java.lang.Class targetClass,
                                 Criteria criteria,
                                 boolean distinct)
Constructor for ReportQueryByMtoNCriteria.

Parameters:
targetClass -
criteria -
distinct -
Method Detail

getIndirectionTable

public java.lang.String getIndirectionTable()
Description copied from interface: MtoNQuery
Gets the indirection Table used for m:n queries.

Specified by:
getIndirectionTable in interface MtoNQuery
Returns:
Returns a String[]
See Also:
MtoNQuery.getIndirectionTable()

setIndirectionTable

public void setIndirectionTable(java.lang.String indirectionTable)
Sets the indirectionTable.

Parameters:
indirectionTable - The indirectionTable to set


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30