1 21 22 package org.objectweb.jonas.webapp.jonasadmin.joramplatform; 23 24 import java.util.List ; 25 26 import javax.servlet.http.HttpServletRequest ; 27 28 import org.apache.struts.action.ActionErrors; 29 import org.apache.struts.action.ActionForm; 30 import org.apache.struts.action.ActionMapping; 31 32 36 37 public final class JoramServersForm extends ActionForm { 38 39 41 private String localId = null; 42 private List remoteIds = null; 43 44 46 49 public String getLocalId() { 50 return localId; 51 } 52 55 public void setLocalId(String localId) { 56 this.localId = localId; 57 } 58 61 public List getRemoteIds() { 62 return remoteIds; 63 } 64 67 public void setRemoteIds(List remoteIds) { 68 this.remoteIds = remoteIds; 69 } 70 71 73 79 public void reset(ActionMapping mapping, HttpServletRequest request) { 80 localId = null; 81 remoteIds = null; 82 } 83 84 94 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 95 return new ActionErrors(); 96 } 97 98 } 99 | Popular Tags |