View Javadoc

1   /*
2    * Copyright 2004-2006 the Seasar Foundation and the Others.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
13   * either express or implied. See the License for the specific language
14   * governing permissions and limitations under the License.
15   */
16  package org.seasar.tuigwaa.controller;
17  
18  import org.apache.struts.validator.ValidatorForm;
19  
20  /***
21   * @author someda
22   */
23  public class RoleForm extends ValidatorForm {
24  
25  	private static final long serialVersionUID = 8361871657220345033L;
26  
27  	private String name;
28  	private String otherattributes;
29  	private String description;	
30  	
31  	private boolean modify = false;
32  	
33  	public RoleForm(){		
34  	}
35  	
36  	public String getDescription() {
37  		return description;
38  	}
39  	
40  	public void setDescription(String description) {
41  		this.description = description;
42  	}
43  	
44  	public String getName() {
45  		return name;
46  	}
47  	
48  	public void setName(String name) {
49  		this.name = name;
50  	}
51  	
52  	public String getOtherattributes() {
53  		return otherattributes;
54  	}
55  	
56  	public void setOtherattributes(String otherattributes) {
57  		this.otherattributes = otherattributes;
58  	}
59  
60  	public boolean isModify() {
61  		return modify;
62  	}
63  
64  	public void setModify(boolean modify) {
65  		this.modify = modify;
66  	}	
67  }