1/*
2 * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24/**
25 * Class TestQuery
26 * MBean used for testing the types wired when using QueryExp.
27 * It is heavily linked to QueryFactory.
28 */
29public class TestQuery extends QueryData implements TestQueryMBean {
30
31    /**
32     * Attribute : BooleanAtt
33     */
34    private boolean booleanAtt = booleanValue;
35
36    /**
37     * Attribute : DoubleAtt
38     */
39    private double doubleAtt = doubleValue;
40
41    /**
42     * Attribute : FloatAtt
43     */
44    private float floatAtt = floatValue;
45
46    /**
47     * Attribute : IntAtt
48     */
49    private int intAtt = intValue;
50
51    /**
52     * Attribute : IntegerAtt
53     */
54    private Integer integerAtt = integerValue;
55
56    /**
57     * Attribute : LongAtt
58     */
59    private long longAtt = longValue;
60
61    /**
62     * Attribute : StringAtt
63     */
64    private String stringAtt = stringValue;
65
66    public TestQuery() {
67    }
68
69    /**
70     * Get Att of type boolean
71     */
72    public boolean getBooleanAtt() {
73        return booleanAtt;
74    }
75
76    /**
77     * Set Att of type boolean
78     */
79    public void setBooleanAtt(boolean value) {
80        booleanAtt = value;
81    }
82
83    /**
84     * Get Att of type double
85     */
86    public double getDoubleAtt() {
87        return doubleAtt;
88    }
89
90    /**
91     * Set Att of type double
92     */
93    public void setDoubleAtt(double value) {
94        doubleAtt = value;
95    }
96
97    /**
98     * Get Att of type float
99     */
100    public float getFloatAtt() {
101        return floatAtt;
102    }
103
104    /**
105     * Set Att of type float
106     */
107    public void setFloatAtt(float value) {
108        floatAtt = value;
109    }
110
111    /**
112     * Get Att of type int
113     */
114    public int getIntAtt() {
115        return intAtt;
116    }
117
118    /**
119     * Set Att of type int
120     */
121    public void setIntAtt(int value) {
122        intAtt = value;
123    }
124
125    /**
126     * Get Att of type Integer
127     */
128    public Integer getIntegerAtt() {
129        return integerAtt;
130    }
131
132    /**
133     * Set Att of type Integer
134     */
135    public void setIntegerAtt(Integer value) {
136        integerAtt = value;
137    }
138
139    /**
140     * Get Att of type long
141     */
142    public long getLongAtt() {
143        return longAtt;
144    }
145
146    /**
147     * Set Att of type long
148     */
149    public void setLongAtt(long value) {
150        longAtt = value;
151    }
152
153    /**
154     * Get Att of type String
155     */
156    public String getStringAtt() {
157        return stringAtt;
158    }
159
160    /**
161     * Set Att of type String
162     */
163    public void setStringAtt(String value) {
164        stringAtt = value;
165    }
166
167}
168