KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nemesis > forum > webapp > admin > bean > GroupBean


1 package org.nemesis.forum.webapp.admin.bean;
2
3 /**
4  * @author dlaurent
5  *
6  * 21 févr. 2003
7  * GroupBean.java
8  */

9 public class GroupBean {
10         
11     int id ;
12     String JavaDoc name ;
13     String JavaDoc description ;
14     int numMembers ;
15     int numAdmins ;
16     
17         
18     
19
20     /**
21      * Returns the description.
22      * @return String
23      */

24     public String JavaDoc getDescription() {
25         return description;
26     }
27
28     /**
29      * Returns the id.
30      * @return int
31      */

32     public int getId() {
33         return id;
34     }
35
36     /**
37      * Returns the name.
38      * @return String
39      */

40     public String JavaDoc getName() {
41         return name;
42     }
43
44     /**
45      * Returns the numMembers.
46      * @return int
47      */

48     public int getNumMembers() {
49         return numMembers;
50     }
51
52     /**
53      * Sets the description.
54      * @param description The description to set
55      */

56     public void setDescription(String JavaDoc description) {
57         this.description = description;
58     }
59
60     /**
61      * Sets the id.
62      * @param id The id to set
63      */

64     public void setId(int id) {
65         this.id = id;
66     }
67
68     /**
69      * Sets the name.
70      * @param name The name to set
71      */

72     public void setName(String JavaDoc name) {
73         this.name = name;
74     }
75
76     /**
77      * Sets the numMembers.
78      * @param numMembers The numMembers to set
79      */

80     public void setNumMembers(int numMembers) {
81         this.numMembers = numMembers;
82     }
83
84     /**
85      * @return int
86      */

87     public int getNumAdmins() {
88         return numAdmins;
89     }
90
91     /**
92      * Sets the numAdmins.
93      * @param numAdmins The numAdmins to set
94      */

95     public void setNumAdmins(int numAdmins) {
96         this.numAdmins = numAdmins;
97     }
98
99 }
100
Popular Tags