org.ow2.jonas.webapp.jonasadmin.joramplatform
Class JoramAdapterForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.joramplatform.JoramAdapterForm
All Implemented Interfaces:
Serializable

public final class JoramAdapterForm
extends org.apache.struts.action.ActionForm

Form bean for the Joram Adapter form page.

Author:
Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
JoramAdapterForm()
           
 
Method Summary
 String getAdminFile()
           
 String getCnxPendingTimerTxt()
           
 String getConfigDir()
           
 String getConnectingTimerTxt()
           
 String getHostName()
           
 String getServerIdTxt()
           
 String getServerName()
           
 String getServerPortTxt()
           
 String getTxPendingTimerTxt()
           
 String getVersion()
           
 boolean isCollocatedServer()
           
 boolean isPersistentServer()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setAdminFile(String adminFile)
           
 void setCnxPendingTimerTxt(String cnxPendingTimerTxt)
           
 void setCollocatedServer(boolean collocatedServer)
           
 void setConfigDir(String configDir)
           
 void setConnectingTimerTxt(String connectingTimerTxt)
           
 void setHostName(String hostName)
           
 void setPersistentServer(boolean persistentServer)
           
 void setServerIdTxt(String serverIdTxt)
           
 void setServerName(String serverName)
           
 void setServerPortTxt(String serverPortTxt)
           
 void setTxPendingTimerTxt(String txPendingTimerTxt)
           
 void setVersion(String version)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, 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
 

Constructor Detail

JoramAdapterForm

public JoramAdapterForm()
Method Detail

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

isCollocatedServer

public boolean isCollocatedServer()
Returns:
Returns the collocatedServer.

setCollocatedServer

public void setCollocatedServer(boolean collocatedServer)
Parameters:
collocatedServer - The collocatedServer to set.

getConfigDir

public String getConfigDir()
Returns:
Returns the configDir.

setConfigDir

public void setConfigDir(String configDir)
Parameters:
configDir - The configDir to set.

getAdminFile

public String getAdminFile()
Returns:
Returns the adminFile.

setAdminFile

public void setAdminFile(String adminFile)
Parameters:
adminFile - The adminFile to set.

isPersistentServer

public boolean isPersistentServer()
Returns:
Returns the persistentServer.

setPersistentServer

public void setPersistentServer(boolean persistentServer)
Parameters:
persistentServer - The persistentServer to set.

getServerIdTxt

public String getServerIdTxt()
Returns:
Returns the serverIdTxt.

setServerIdTxt

public void setServerIdTxt(String serverIdTxt)
Parameters:
serverIdTxt - The serverIdTxt to set.

getServerName

public String getServerName()
Returns:
Returns the serverName.

setServerName

public void setServerName(String serverName)
Parameters:
serverName - The serverName to set.

getHostName

public String getHostName()
Returns:
Returns the hostName.

setHostName

public void setHostName(String hostName)
Parameters:
hostName - The hostName to set.

getServerPortTxt

public String getServerPortTxt()
Returns:
Returns the serverPortTxt.

setServerPortTxt

public void setServerPortTxt(String serverPortTxt)
Parameters:
serverPortTxt - The serverPortTxt to set.

getCnxPendingTimerTxt

public String getCnxPendingTimerTxt()
Returns:
Returns the cnxPendingTimerTxt.

setCnxPendingTimerTxt

public void setCnxPendingTimerTxt(String cnxPendingTimerTxt)
Parameters:
cnxPendingTimerTxt - The cnxPendingTimerTxt to set.

getConnectingTimerTxt

public String getConnectingTimerTxt()
Returns:
Returns the connectingTimerTxt.

setConnectingTimerTxt

public void setConnectingTimerTxt(String connectingTimerTxt)
Parameters:
connectingTimerTxt - The connectingTimerTxt to set.

getTxPendingTimerTxt

public String getTxPendingTimerTxt()
Returns:
Returns the txPendingTimerTxt.

setTxPendingTimerTxt

public void setTxPendingTimerTxt(String txPendingTimerTxt)
Parameters:
txPendingTimerTxt - The txPendingTimerTxt to set.

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  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 instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      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 instance
request - The servlet request we are processing


Copyright © 2010 OW2 Consortium. All Rights Reserved.