KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Eye.java,v 1.1 2004/09/26 05:18:25 oneovthafew Exp $
2
package org.hibernate.test.legacy;
3
4 import java.util.HashSet JavaDoc;
5 import java.util.Set JavaDoc;
6
7 /**
8  * @author Gavin King
9  */

10 public class Eye {
11     private long id;
12     private String JavaDoc name;
13     private Jay jay;
14     private Set JavaDoc jays = new HashSet JavaDoc();
15
16     /**
17      * @return Returns the id.
18      */

19     public long getId() {
20         return id;
21     }
22
23     /**
24      * @param id The id to set.
25      */

26     public void setId(long id) {
27         this.id = id;
28     }
29
30     /**
31      * @return Returns the jay.
32      */

33     public Jay getJay() {
34         return jay;
35     }
36
37     /**
38      * @param jay The jay to set.
39      */

40     public void setJay(Jay jay) {
41         this.jay = jay;
42     }
43
44     /**
45      * @return Returns the jays.
46      */

47     public Set JavaDoc getJays() {
48         return jays;
49     }
50
51     /**
52      * @param jays The jays to set.
53      */

54     public void setJays(Set JavaDoc jays) {
55         this.jays = jays;
56     }
57
58     /**
59      * @return Returns the name.
60      */

61     public String JavaDoc getName() {
62         return name;
63     }
64
65     /**
66      * @param name The name to set.
67      */

68     public void setName(String JavaDoc name) {
69         this.name = name;
70     }
71
72 }
73
Popular Tags