org.objectweb.jonas.webapp.jonasadmin.joramplatform
Class JoramLocalServerForm
java.lang.Object
org.apache.struts.action.ActionForm
org.objectweb.jonas.webapp.jonasadmin.joramplatform.JoramLocalServerForm
- All Implemented Interfaces:
- java.io.Serializable
public final class JoramLocalServerForm
- extends org.apache.struts.action.ActionForm
Form bean for the Joram local server form page.
- Author:
- Frederic MAISTRE
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
Method Summary |
java.lang.String |
getHost()
|
java.lang.String |
getMode()
|
java.lang.String |
getPort()
|
java.lang.String |
getServerId()
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setHost(java.lang.String host)
|
void |
setMode(java.lang.String mode)
|
void |
setPort(java.lang.String port)
|
void |
setServerId(java.lang.String serverId)
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request,
and return an ActionErrors object that encapsulates any
validation errors that have been found. |
Methods inherited from class org.apache.struts.action.ActionForm |
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoramLocalServerForm
public JoramLocalServerForm()
getServerId
public java.lang.String getServerId()
setServerId
public void setServerId(java.lang.String serverId)
getMode
public java.lang.String getMode()
setMode
public void setMode(java.lang.String mode)
getHost
public java.lang.String getHost()
setHost
public void setHost(java.lang.String host)
getPort
public java.lang.String getPort()
setPort
public void setPort(java.lang.String port)
reset
public void reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Overrides:
reset
in class org.apache.struts.action.ActionForm
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Validate the properties that have been set from this HTTP request,
and return an
ActionErrors
object that encapsulates any
validation errors that have been found. If no errors are found, return
null
or an ActionErrors
object with no
recorded error messages.
- Overrides:
validate
in class org.apache.struts.action.ActionForm
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing