1 6 7 package org.contineo.admin; 8 9 import javax.servlet.http.HttpServletRequest ; 10 import org.apache.struts.action.ActionMapping; 11 import org.apache.struts.validator.ValidatorForm; 12 17 public class Group extends ValidatorForm{ 18 19 private static final long serialVersionUID = 1L; 20 21 24 private String groupName; 25 28 private String groupDesc; 29 32 private String parentGroup; 33 34 35 public Group() { 36 groupName = ""; 37 groupDesc = ""; 38 parentGroup = ""; 39 } 40 41 45 public String getGroupName() { 46 return groupName; 47 } 48 49 53 public String getGroupDesc() { 54 return groupDesc; 55 } 56 57 61 public String getParentGroup() { 62 return parentGroup; 63 } 64 65 69 public void setGroupName(String name) { 70 groupName = name; 71 } 72 73 77 public void setGroupDesc(String desc) { 78 groupDesc = desc; 79 } 80 81 85 public void setParentGroup(String group) { 86 parentGroup = group; 87 } 88 89 90 public void reset(ActionMapping mapping, HttpServletRequest request) { 91 groupName = ""; 92 groupDesc = ""; 93 parentGroup = ""; 94 } 95 } 96 | Popular Tags |