KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > broker > query > ReportQueryByMtoNCriteria


1 package org.apache.ojb.broker.query;
2
3 /* Copyright 2002-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * 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 implements MtoNQuery
25 {
26     private String JavaDoc indirectionTable;
27
28     /**
29      * Constructor for ReportQueryByMtoNCriteria.
30      * @param targetClass
31      * @param columns
32      * @param criteria
33      * @param distinct
34      */

35     public ReportQueryByMtoNCriteria(Class JavaDoc targetClass, String JavaDoc[] columns, Criteria criteria, boolean distinct)
36     {
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 JavaDoc targetClass, String JavaDoc[] columns, Criteria criteria)
47     {
48         super(targetClass, columns, criteria);
49     }
50
51     /**
52      * Constructor for ReportQueryByMtoNCriteria.
53      * @param targetClass
54      * @param criteria
55      */

56     public ReportQueryByMtoNCriteria(Class JavaDoc targetClass, Criteria criteria)
57     {
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 JavaDoc targetClass, Criteria criteria, boolean distinct)
68     {
69         super(targetClass, criteria, distinct);
70     }
71
72     /**
73      * @see org.apache.ojb.broker.query.MtoNQuery#getIndirectionTable()
74      */

75     public String JavaDoc getIndirectionTable()
76     {
77         return indirectionTable;
78     }
79
80     /**
81      * Sets the indirectionTable.
82      * @param indirectionTable The indirectionTable to set
83      */

84     public void setIndirectionTable(String JavaDoc indirectionTable)
85     {
86         this.indirectionTable = indirectionTable;
87     }
88
89 }
90
Popular Tags