KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > odmg > shared > TestClassB


1 package org.apache.ojb.odmg.shared;
2
3 import java.io.Serializable JavaDoc;
4
5 public class TestClassB implements Serializable JavaDoc
6 {
7     private String JavaDoc oid;
8     private String JavaDoc value1;
9     
10     private String JavaDoc aoid;
11     private TestClassA a;
12     /**
13      * Gets the value1.
14      * @return Returns a String
15      */

16     public String JavaDoc getValue1()
17     {
18         return value1;
19     }
20
21     /**
22      * Sets the value1.
23      * @param value1 The value1 to set
24      */

25     public void setValue1(String JavaDoc value1)
26     {
27         this.value1 = value1;
28     }
29
30     /**
31      * Gets the a.
32      * @return Returns a TestClassA
33      */

34     public TestClassA getA()
35     {
36         return a;
37     }
38
39     /**
40      * Sets the a.
41      * @param a The a to set
42      */

43     public void setA(TestClassA a)
44     {
45         this.a = a;
46     }
47
48     /**
49      * Gets the oid.
50      * @return Returns a String
51      */

52     public String JavaDoc getOid()
53     {
54         return oid;
55     }
56
57     /**
58      * Sets the oid.
59      * @param oid The oid to set
60      */

61     public void setOid(String JavaDoc oid)
62     {
63         this.oid = oid;
64     }
65
66     /**
67      * Gets the aOid.
68      * @return Returns a String
69      */

70     public String JavaDoc getAoid()
71     {
72         return aoid;
73     }
74
75     /**
76      * Sets the aOid.
77      * @param aoid The aOid to set
78      */

79     public void setAoid(String JavaDoc aoid)
80     {
81         this.aoid = aoid;
82     }
83 }
84
Popular Tags