01: package org.apache.ojb.broker.query;
02:
03: /* Copyright 2002-2005 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: /**
19: * ReportQuery using MtoNCriteria, for internal use
20: *
21: * @author <a href="mailto:jbraeuchi@hotmail.com">Jakob Braeuchi</a>
22: * @version $Id: ReportQueryByMtoNCriteria.java,v 1.3.2.1 2005/12/21 22:27:09 tomdz Exp $
23: */
24: public class ReportQueryByMtoNCriteria extends ReportQueryByCriteria
25: implements MtoNQuery {
26: private String indirectionTable;
27:
28: /**
29: * Constructor for ReportQueryByMtoNCriteria.
30: * @param targetClass
31: * @param columns
32: * @param criteria
33: * @param distinct
34: */
35: public ReportQueryByMtoNCriteria(Class targetClass,
36: String[] columns, Criteria criteria, boolean distinct) {
37: super (targetClass, columns, criteria, distinct);
38: }
39:
40: /**
41: * Constructor for ReportQueryByMtoNCriteria.
42: * @param targetClass
43: * @param columns
44: * @param criteria
45: */
46: public ReportQueryByMtoNCriteria(Class targetClass,
47: String[] columns, Criteria criteria) {
48: super (targetClass, columns, criteria);
49: }
50:
51: /**
52: * Constructor for ReportQueryByMtoNCriteria.
53: * @param targetClass
54: * @param criteria
55: */
56: public ReportQueryByMtoNCriteria(Class targetClass,
57: Criteria criteria) {
58: super (targetClass, criteria);
59: }
60:
61: /**
62: * Constructor for ReportQueryByMtoNCriteria.
63: * @param targetClass
64: * @param criteria
65: * @param distinct
66: */
67: public ReportQueryByMtoNCriteria(Class targetClass,
68: Criteria criteria, boolean distinct) {
69: super (targetClass, criteria, distinct);
70: }
71:
72: /**
73: * @see org.apache.ojb.broker.query.MtoNQuery#getIndirectionTable()
74: */
75: public String getIndirectionTable() {
76: return indirectionTable;
77: }
78:
79: /**
80: * Sets the indirectionTable.
81: * @param indirectionTable The indirectionTable to set
82: */
83: public void setIndirectionTable(String indirectionTable) {
84: this.indirectionTable = indirectionTable;
85: }
86:
87: }
|