KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nextime > ion > admin > form > GroupForm


1 package org.nextime.ion.admin.form;
2
3 import org.apache.struts.action.*;
4 import java.util.*;
5
6 public class GroupForm extends ActionForm {
7     
8     private String JavaDoc _id;
9     private String JavaDoc _description;
10     private String JavaDoc[] _usersId;
11     
12     public String JavaDoc getId() {
13         return _id;
14     }
15     
16     public String JavaDoc getDescription() {
17         return _description;
18     }
19     
20     public void setId( String JavaDoc value ) {
21         _id = value.trim();
22     }
23     
24     public void setDescription( String JavaDoc value ) {
25         _description = value;
26     }
27     
28     public String JavaDoc[] getUsers() {
29         return _usersId;
30     }
31     
32     public void setUsers( String JavaDoc[] value ) {
33         _usersId = value;
34     }
35     
36     public void reset() {
37         _id = null;
38         _description = null;
39         _usersId = new String JavaDoc[0];
40     }
41
42 }
43
44
Popular Tags