Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/hibernate/test/manytomany/Group.java


1   //$Id: Group.java 7085 2005-06-08 17:59:47Z oneovthafew $
2   package org.hibernate.test.manytomany;
3   
4   import java.io.Serializable;
5   import java.util.HashSet;
6   import java.util.Set;
7   
8   public class Group implements Serializable {
9   
10    private String org;
11    private String name;
12    private String description;
13  
14    private Set users = new HashSet();
15    
16    public Group(String name, String org) {
17      this.org = org;
18      this.name = name;
19    }
20  
21    public Group() {
22    }
23  
24    public String getName() {
25      return name;
26    }
27  
28    public void setName(String name) {
29      this.name = name;
30    }
31  
32    public String getOrg() {
33      return org;
34    }
35  
36    public void setOrg(String org) {
37      this.org = org;
38    }
39  
40    public Set getUsers() {
41      return users;
42    }
43  
44    public void setUsers(Set users) {
45      this.users = users;
46    }
47  
48    public String getDescription() {
49      return description;
50    }
51  
52    public void setDescription(String description) {
53      this.description = description;
54    }
55  
56  }