KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > legacy > Object2


1 package org.hibernate.test.legacy;
2
3 /**
4  *
5  * @author Wolfgang Voelkl
6  *
7  */

8 public class Object2 {
9     private Long JavaDoc id;
10     private String JavaDoc dummy;
11     private MainObject belongsToMainObj;
12
13     public Long JavaDoc getId() {
14         return id;
15     }
16
17     public void setId(Long JavaDoc l) {
18         this.id = l;
19     }
20     
21     public String JavaDoc getDummy() {
22         return dummy;
23     }
24
25     public void setDummy(String JavaDoc string) {
26         dummy = string;
27     }
28
29     public MainObject getBelongsToMainObj() {
30         return belongsToMainObj;
31     }
32
33     public void setBelongsToMainObj(MainObject object) {
34         belongsToMainObj = object;
35     }
36
37 }
38
Popular Tags