KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > query > support > BooleanTest


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.query.support;
9
10 public class BooleanTest implements BooleanTestMBean
11 {
12    private Boolean bool;
13
14    public BooleanTest()
15    {
16    }
17
18    public BooleanTest(boolean bool)
19    {
20       this.bool = new Boolean(bool);
21    }
22
23    public BooleanTest(Boolean bool)
24    {
25       this.bool = bool;
26    }
27
28    public Boolean getBoolean()
29    {
30       return bool;
31    }
32 }
33
Popular Tags