KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.hibernate.test.legacy;
2
3 import java.util.HashSet JavaDoc;
4 import java.util.List JavaDoc;
5 import java.util.Set JavaDoc;
6
7 /**
8  * @author hbm2java
9  */

10 public class Role {
11
12    long id;
13    java.lang.String JavaDoc name;
14    Set JavaDoc interventions = new HashSet JavaDoc();
15 private List JavaDoc bunchOfStrings;
16
17   long getId() {
18     return id;
19   }
20
21   void setId(long newValue) {
22     id = newValue;
23   }
24
25   java.lang.String JavaDoc getName() {
26     return name;
27   }
28
29   void setName(java.lang.String JavaDoc newValue) {
30     name = newValue;
31   }
32
33   public Set JavaDoc getInterventions() {
34     return interventions;
35   }
36   
37   public void setInterventions(Set JavaDoc iv) {
38     interventions = iv;
39   }
40
41   List JavaDoc getBunchOfStrings() {
42     return bunchOfStrings;
43   }
44   
45   void setBunchOfStrings(List JavaDoc s) {
46     bunchOfStrings = s;
47   }
48 }
49
Popular Tags