KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Circular.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 public class Circular {
5     
6     private String JavaDoc id;
7     private Class JavaDoc clazz;
8     private Circular other;
9     private Object JavaDoc anyEntity;
10     
11     /**
12      * Constructor for Circular.
13      */

14     public Circular() {
15         super();
16     }
17     
18     /**
19      * Returns the clazz.
20      * @return Class
21      */

22     public Class JavaDoc getClazz() {
23         return clazz;
24     }
25     
26     /**
27      * Returns the id.
28      * @return String
29      */

30     public String JavaDoc getId() {
31         return id;
32     }
33     
34     /**
35      * Sets the clazz.
36      * @param clazz The clazz to set
37      */

38     public void setClazz(Class JavaDoc clazz) {
39         this.clazz = clazz;
40     }
41     
42     /**
43      * Sets the id.
44      * @param id The id to set
45      */

46     public void setId(String JavaDoc id) {
47         this.id = id;
48     }
49     
50     /**
51      * Returns the other.
52      * @return Circular
53      */

54     public Circular getOther() {
55         return other;
56     }
57     
58     /**
59      * Sets the other.
60      * @param other The other to set
61      */

62     public void setOther(Circular other) {
63         this.other = other;
64     }
65     
66     /**
67      * Returns the anyEntity.
68      * @return Object
69      */

70     public Object JavaDoc getAnyEntity() {
71         return anyEntity;
72     }
73     
74     /**
75      * Sets the anyEntity.
76      * @param anyEntity The anyEntity to set
77      */

78     public void setAnyEntity(Object JavaDoc anyEntity) {
79         this.anyEntity = anyEntity;
80     }
81     
82 }
83
84
85
86
87
88
89
Popular Tags