KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > speedo > metadata > SpeedoPredefinedQuery


1 /**
2  * Copyright (C) 2001-2005 France Telecom R&D
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  *
19  *
20  * Authors: S.Chassande-Barrioz.
21  * Created on 30 janv. 2005
22  *
23  */

24 package org.objectweb.speedo.metadata;
25
26 /**
27  *
28  *
29  * @author S.Chassande-Barrioz
30  */

31 public class SpeedoPredefinedQuery extends SpeedoElement {
32     
33     public String JavaDoc name;
34     public String JavaDoc language;//ignored
35
public String JavaDoc filter;
36     public String JavaDoc sql;//ignored
37
public String JavaDoc ordering;
38     public int rangeFirst = 0;
39     public int rangeLast = Integer.MAX_VALUE;
40     public boolean ignoreCache = false;
41     public boolean includeSubclasses;
42     
43     public String JavaDoc declareImports;
44     public String JavaDoc declareParameters;
45     public String JavaDoc declareVariables;
46     
47     public String JavaDoc resultClass;
48     public boolean resultUnique = false;
49     public String JavaDoc resultGrouping;
50     
51     
52
53     public String JavaDoc getDeclareImports() {
54         return declareImports;
55     }
56     public String JavaDoc getDeclareParameters() {
57         return declareParameters;
58     }
59     public String JavaDoc getDeclareVariables() {
60         return declareVariables;
61     }
62     public String JavaDoc getFilter() {
63         return filter;
64     }
65     public boolean getIgnoreCache() {
66         return ignoreCache;
67     }
68     public boolean getIncludeSubclasses() {
69         return includeSubclasses;
70     }
71     public String JavaDoc getLanguage() {
72         return language;
73     }
74     public String JavaDoc getName() {
75         return name;
76     }
77     public String JavaDoc getOrdering() {
78         return ordering;
79     }
80     public long getRangeFirst() {
81         return rangeFirst;
82     }
83     public long getRangeLast() {
84         return rangeLast;
85     }
86     public String JavaDoc getResultClass() {
87         return resultClass;
88     }
89     public String JavaDoc getResultGrouping() {
90         return resultGrouping;
91     }
92     public boolean getResultUnique() {
93         return resultUnique;
94     }
95     public String JavaDoc getSql() {
96         return sql;
97     }
98 }
99
Popular Tags