00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 package org.objectweb.jonas.webapp.jonasadmin.joramplatform;
00023
00024 import javax.servlet.http.HttpServletRequest;
00025
00026 import org.apache.struts.action.ActionErrors;
00027 import org.apache.struts.action.ActionForm;
00028 import org.apache.struts.action.ActionMapping;
00029
00035 public final class JoramLocalServerForm extends ActionForm {
00036
00037
00038
00039 private String serverId = null;
00040 private String mode = null;
00041 private String host = null;
00042 private String port = null;
00043
00044
00045
00046
00047 public String getServerId() {
00048 return serverId;
00049 }
00050
00051 public void setServerId(String serverId) {
00052 this.serverId = serverId;
00053 }
00054
00055 public String getMode() {
00056 return mode;
00057 }
00058
00059 public void setMode(String mode) {
00060 this.mode = mode;
00061 }
00062
00063 public String getHost() {
00064 return host;
00065 }
00066
00067 public void setHost(String host) {
00068 this.host = host;
00069 }
00070
00071 public String getPort() {
00072 return port;
00073 }
00074
00075 public void setPort(String port) {
00076 this.port = port;
00077 }
00078
00079
00080
00087 public void reset(ActionMapping mapping, HttpServletRequest request) {
00088
00089 serverId = null;
00090 mode = null;
00091 host = null;
00092 port = null;
00093 }
00094
00105 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
00106 return new ActionErrors();
00107 }
00108
00109 }