KickJava   Java API By Example, From Geeks To Geeks.

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


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 Trivial implements TrivialMBean
11 {
12    private String string = "trivial";
13    private int number = 0;
14
15    public Trivial()
16    {
17    }
18
19    public Trivial(int number)
20    {
21       this.number = number;
22    }
23
24    public String getString()
25    {
26       return string;
27    }
28
29    public Integer getNumber()
30    {
31       return new Integer(number);
32    }
33 }
34
Popular Tags