1 16 17 package org.apache.webapp.admin.realm; 18 19 import javax.servlet.http.HttpServletRequest ; 20 import org.apache.struts.action.ActionError; 21 import org.apache.struts.action.ActionErrors; 22 import org.apache.struts.action.ActionForm; 23 import org.apache.struts.action.ActionMapping; 24 import java.net.InetAddress ; 25 import java.util.List ; 26 27 import org.apache.webapp.admin.ApplicationServlet; 28 import org.apache.webapp.admin.LabelValueBean; 29 30 36 37 public class RealmForm extends ActionForm { 38 39 41 44 private String adminAction = "Edit"; 45 46 49 private String objectName = null; 50 51 54 private String realmType = null; 55 56 59 private String nodeLabel = null; 60 61 64 private String parentObjectName = null; 65 66 69 private List realmTypeVals = null; 70 71 75 private String allowDeletion = null; 76 77 79 82 public String getAdminAction() { 83 84 return this.adminAction; 85 86 } 87 88 91 public void setAdminAction(String adminAction) { 92 93 this.adminAction = adminAction; 94 95 } 96 97 100 public String getObjectName() { 101 102 return this.objectName; 103 104 } 105 106 109 public void setObjectName(String objectName) { 110 111 this.objectName = objectName; 112 113 } 114 115 118 public String getRealmType() { 119 120 return this.realmType; 121 122 } 123 124 127 public void setRealmType(String realmType) { 128 129 this.realmType = realmType; 130 131 } 132 133 136 public String getNodeLabel() { 137 138 return this.nodeLabel; 139 140 } 141 142 145 public void setNodeLabel(String nodeLabel) { 146 147 this.nodeLabel = nodeLabel; 148 149 } 150 151 154 public String getParentObjectName() { 155 156 return this.parentObjectName; 157 158 } 159 160 161 164 public void setParentObjectName(String parentObjectName) { 165 166 this.parentObjectName = parentObjectName; 167 168 } 169 170 171 174 public List getRealmTypeVals() { 175 176 return this.realmTypeVals; 177 178 } 179 180 183 public void setRealmTypeVals(List realmTypeVals) { 184 185 this.realmTypeVals = realmTypeVals; 186 187 } 188 189 192 public String getAllowDeletion() { 193 194 return this.allowDeletion; 195 196 } 197 198 201 public void setAllowDeletion(String allowDeletion) { 202 203 this.allowDeletion = allowDeletion; 204 205 } 206 207 208 210 216 public void reset(ActionMapping mapping, HttpServletRequest request) { 217 218 objectName = null; 219 adminAction = "Edit"; 220 221 } 222 223 } 224 | Popular Tags |