001 package org.apache.ojb.broker.query;
002
003 /* Copyright 2002-2005 The Apache Software Foundation
004 *
005 * Licensed under the Apache License, Version 2.0 (the "License");
006 * you may not use this file except in compliance with the License.
007 * You may obtain a copy of the License at
008 *
009 * http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the License for the specific language governing permissions and
015 * limitations under the License.
016 */
017
018 /**
019 * ReportQuery using MtoNCriteria, for internal use
020 *
021 * @author <a href="mailto:jbraeuchi@hotmail.com">Jakob Braeuchi</a>
022 * @version $Id: ReportQueryByMtoNCriteria.java,v 1.1 2007-08-24 22:17:36 ewestfal Exp $
023 */
024 public class ReportQueryByMtoNCriteria extends ReportQueryByCriteria implements MtoNQuery
025 {
026 private String indirectionTable;
027
028 /**
029 * Constructor for ReportQueryByMtoNCriteria.
030 * @param targetClass
031 * @param columns
032 * @param criteria
033 * @param distinct
034 */
035 public ReportQueryByMtoNCriteria(Class targetClass, String[] columns, Criteria criteria, boolean distinct)
036 {
037 super(targetClass, columns, criteria, distinct);
038 }
039
040 /**
041 * Constructor for ReportQueryByMtoNCriteria.
042 * @param targetClass
043 * @param columns
044 * @param criteria
045 */
046 public ReportQueryByMtoNCriteria(Class targetClass, String[] columns, Criteria criteria)
047 {
048 super(targetClass, columns, criteria);
049 }
050
051 /**
052 * Constructor for ReportQueryByMtoNCriteria.
053 * @param targetClass
054 * @param criteria
055 */
056 public ReportQueryByMtoNCriteria(Class targetClass, Criteria criteria)
057 {
058 super(targetClass, criteria);
059 }
060
061 /**
062 * Constructor for ReportQueryByMtoNCriteria.
063 * @param targetClass
064 * @param criteria
065 * @param distinct
066 */
067 public ReportQueryByMtoNCriteria(Class targetClass, Criteria criteria, boolean distinct)
068 {
069 super(targetClass, criteria, distinct);
070 }
071
072 /**
073 * @see org.apache.ojb.broker.query.MtoNQuery#getIndirectionTable()
074 */
075 public String getIndirectionTable()
076 {
077 return indirectionTable;
078 }
079
080 /**
081 * Sets the indirectionTable.
082 * @param indirectionTable The indirectionTable to set
083 */
084 public void setIndirectionTable(String indirectionTable)
085 {
086 this.indirectionTable = indirectionTable;
087 }
088
089 }