org.ow2.jonas.webapp.jonasadmin.resourceadapter
Class CreateResourceAdapterForm

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

public class CreateResourceAdapterForm
extends org.apache.struts.action.ActionForm

The form used for the create resource adapter functionality.

Author:
Patrick Smith
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
CreateResourceAdapterForm()
           
 
Method Summary
 List getBooleanValues()
           
 List getCheckingLevels()
           
 int getCheckLevel()
          REturns the check level value for this new RAR.
 String getConfigLogTopic()
          Returns the config log topic for this RAR.
 String getDescription()
          Return the description for this RAR.
 String getDisplayName()
          Returns the display name for this RAR.
 String getDsClass()
          Returns the DS Class used for this new RAR.
 String getEisType()
          Returns the EIS Type for this RAR.
 boolean getIsDomain()
          Return if the action is a domain management operation.
 String getIsolationLevel()
          Returns the isolation level used by this RAR.
 String getJndiName()
          Returns this RAR's JNDI name.
 String getLogEnabled()
          If this RAR should be log enabled.
 String getLoginTimeout()
          Returns the login timeout for this RAR.
 String getLogTopic()
          Get the log topic for this RAR.
 String getMapperName()
          Returns the mapper name for this RAR.
 String getNativeLib()
          Returns the Native Lib to use for this RAR.
 String getPassword()
          Returns the password for the user of this RAR.
 int getPoolInit()
          Returns the pool init value for this RAR.
 int getPoolMax()
          Returns the pool max value used for this RAR.
 int getPoolMaxAge()
          Returns the pool max age for this new RAR.
 int getPoolMaxOpenTime()
          Returns the pool max open time value used for this RAR.
 int getPoolMaxWaiters()
          Returns the pool max waiters value used by this RAR.
 int getPoolMaxWaittime()
          Get the pool max wait time value used by this RAR.
 int getPoolMin()
          Returns the pool min value to use for this RAR.
 int getPoolSamplingPeriod()
          Get the pool sampling period value used for this RAR.
 int getPstmtMax()
          The PSTMT Max value for this RAR.
 String getRarName()
          Return the name of the RAR file.
 String getSpecVersion()
          Returns the spec version for this RAR.
 List getSpecVersions()
          Returns the spec version.
 String getTemplate()
          Returns which template this new RAR should be based on.
 String getURL()
          Returns the URL used in this RAR.
 String getUser()
          Returns the username used by this RAR.
 String getVendorName()
          Returns the vendor name used for this RAR.
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset the form back to its default values.
 void setBooleanValues(List booleanValues)
           
 void setCheckingLevels(List checkingLevels)
           
 void setCheckLevel(int checkLevel)
          Sets the new check level value to use for this RAR.
 void setConfigLogTopic(String configLogTopic)
          Sets a new config log topic for this RAR.
 void setDescription(String description)
          Sets the description used for this RAR.
 void setDisplayName(String displayName)
          Sets the display name for this RAR.
 void setDsClass(String dsClass)
          Sets the DS Class to use for this new RAR.
 void setEisType(String eisType)
          Sets the EIS Type for this RAR.
 void setIsDomain(boolean isDomain)
          Sets if the action is a domain management operation.
 void setIsolationLevel(String isolationLevel)
          Sets a new isolation level for this RAR to use.
 void setJndiName(String jndiName)
          Sets the JNDI name for this RAR.
 void setLogEnabled(String logEnabled)
          Sets if this RAR should be log enabled.
 void setLoginTimeout(String loginTimeout)
          Sets a new login timeout value for this RAR.
 void setLogTopic(String logTopic)
          Sets the log topic for this RAR.
 void setMapperName(String mapperName)
          Sets a new mapper name for this RAR to use.
 void setNativeLib(String nativeLib)
          Sets the native lib to use for this RAR.
 void setPassword(String password)
          Set a new password for the user of this RAR.
 void setPoolInit(int poolInit)
          Sets a new pool init value for this RAR.
 void setPoolMax(int poolMax)
          Sets the pool max value of this new RAR.
 void setPoolMaxAge(int poolMaxAge)
          Sets the pool max age to use for this new RAR.
 void setPoolMaxOpenTime(int poolMaxOpenTime)
          Sets the pool max open time value used for this RAR.
 void setPoolMaxWaiters(int poolMaxWaiters)
          Sets the pool max waiters value used by this RAR.
 void setPoolMaxWaittime(int poolMaxWaittime)
          Sets the poool max wait time value used.
 void setPoolMin(int poolMin)
          Sets the pool min value to use.
 void setPoolSamplingPeriod(int poolSamplingPeriod)
          Sets the pool sampling period value used for this new RAR.
 void setPstmtMax(int pstmtMax)
          Sets the new PSTMT max value to use for this RAR.
 void setRarName(String rarName)
          Sets the name of the RAR file.
 void setSpecVersion(String specVersion)
          Sets the spec version to use for this RAR.
 void setSpecVersions(List specVersions)
          Set the spec version for the form.
 void setTemplate(String template)
          Sets which template to use for this RAR.
 void setURL(String URL)
          Sets the new URL value to use for this RAR.
 void setUser(String user)
          Set a new username to use in this RAR.
 void setVendorName(String vendorName)
          Sets the vendor name used for this RAR.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Validates the values in the form.
 
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

CreateResourceAdapterForm

public CreateResourceAdapterForm()
Method Detail

getSpecVersions

public List getSpecVersions()
Returns the spec version.

Returns:
Returns the specVersions.

setSpecVersions

public void setSpecVersions(List specVersions)
Set the spec version for the form.

Parameters:
specVersions - The specVersions to set.

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Reset the form back to its default values.

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - the ActionMapping used for the struts actions.
request - the HttpServletRequest used in the execution of the struts actions.

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      HttpServletRequest request)
Validates the values in the form.

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - the ActionMapping used in the struts actions.
request - the HttpServletRequest used for the struts actions.
Returns:
The errors generated from the validation.

getRarName

public String getRarName()
Return the name of the RAR file.

Returns:
the name of the RAR file.

setRarName

public void setRarName(String rarName)
Sets the name of the RAR file.

Parameters:
rarName - the new name of the RAR file.

getDisplayName

public String getDisplayName()
Returns the display name for this RAR.

Returns:
the RAR's display name.

setDisplayName

public void setDisplayName(String displayName)
Sets the display name for this RAR.

Parameters:
displayName - The new display name.

getDescription

public String getDescription()
Return the description for this RAR.

Returns:
the description for this RAR.

setDescription

public void setDescription(String description)
Sets the description used for this RAR.

Parameters:
description - The new description for this RAR.

getVendorName

public String getVendorName()
Returns the vendor name used for this RAR.

Returns:
The vendor name used for this RAR.

setVendorName

public void setVendorName(String vendorName)
Sets the vendor name used for this RAR.

Parameters:
vendorName - The new vendor name for this RAR.

getSpecVersion

public String getSpecVersion()
Returns the spec version for this RAR.

Returns:
the spec version used for this RAR.

setSpecVersion

public void setSpecVersion(String specVersion)
Sets the spec version to use for this RAR.

Parameters:
specVersion - the new Spec version for this RAR.

getEisType

public String getEisType()
Returns the EIS Type for this RAR.

Returns:
The EIS type for this RAR.

setEisType

public void setEisType(String eisType)
Sets the EIS Type for this RAR.

Parameters:
eisType - The new EIS type to use for thsi RAR.

getTemplate

public String getTemplate()
Returns which template this new RAR should be based on.

Returns:
which template this new RAR should be based on.

setTemplate

public void setTemplate(String template)
Sets which template to use for this RAR.

Parameters:
template - The new template to use.

getJndiName

public String getJndiName()
Returns this RAR's JNDI name.

Returns:
This RAR's JNDI name.

setJndiName

public void setJndiName(String jndiName)
Sets the JNDI name for this RAR.

Parameters:
jndiName - The JNDI name for this RAR.

getNativeLib

public String getNativeLib()
Returns the Native Lib to use for this RAR.

Returns:
The native Lib to use for this RAR.

setNativeLib

public void setNativeLib(String nativeLib)
Sets the native lib to use for this RAR.

Parameters:
nativeLib - the new Native lib to use for this RAR.

getLogEnabled

public String getLogEnabled()
If this RAR should be log enabled.

Returns:
if this RAR should be log enabled.

setLogEnabled

public void setLogEnabled(String logEnabled)
Sets if this RAR should be log enabled.

Parameters:
logEnabled -

getLogTopic

public String getLogTopic()
Get the log topic for this RAR.

Returns:
the log topic for this RAR.

setLogTopic

public void setLogTopic(String logTopic)
Sets the log topic for this RAR.

Parameters:
logTopic - the new log topic for this RAR.

getPoolInit

public int getPoolInit()
Returns the pool init value for this RAR.

Returns:
the pool init value to use for this RAR.

setPoolInit

public void setPoolInit(int poolInit)
Sets a new pool init value for this RAR.

Parameters:
poolInit - the new pool init value for this RAR.

getPoolMin

public int getPoolMin()
Returns the pool min value to use for this RAR.

Returns:
the pool min value to use for this RAR.

setPoolMin

public void setPoolMin(int poolMin)
Sets the pool min value to use.

Parameters:
poolMin - The new pool min value to use for this RAR.

getPoolMax

public int getPoolMax()
Returns the pool max value used for this RAR.

Returns:
The pool max value used for this RAR.

setPoolMax

public void setPoolMax(int poolMax)
Sets the pool max value of this new RAR.

Parameters:
poolMax - The new pool max value of this RAR.s

getPoolMaxAge

public int getPoolMaxAge()
Returns the pool max age for this new RAR.

Returns:
the pool max age value used for this RAR.

setPoolMaxAge

public void setPoolMaxAge(int poolMaxAge)
Sets the pool max age to use for this new RAR.

Parameters:
poolMaxAge - The new pool max age to use for this RAR.

getPstmtMax

public int getPstmtMax()
The PSTMT Max value for this RAR.

Returns:
the PSTMT max value used for this RAR.

setPstmtMax

public void setPstmtMax(int pstmtMax)
Sets the new PSTMT max value to use for this RAR.

Parameters:
pstmtMax - the new PSTMT max value to use.

getPoolMaxOpenTime

public int getPoolMaxOpenTime()
Returns the pool max open time value used for this RAR.

Returns:
The pool max open time value used for this RAR.

setPoolMaxOpenTime

public void setPoolMaxOpenTime(int poolMaxOpenTime)
Sets the pool max open time value used for this RAR.

Parameters:
poolMaxOpenTime - The new pool max open time value to use.

getPoolMaxWaiters

public int getPoolMaxWaiters()
Returns the pool max waiters value used by this RAR.

Returns:
The pool max waiters value used.

setPoolMaxWaiters

public void setPoolMaxWaiters(int poolMaxWaiters)
Sets the pool max waiters value used by this RAR.

Parameters:
poolMaxWaiters - the new pool max waiters value to use.

getPoolMaxWaittime

public int getPoolMaxWaittime()
Get the pool max wait time value used by this RAR.

Returns:
The pool max wait time value.

setPoolMaxWaittime

public void setPoolMaxWaittime(int poolMaxWaittime)
Sets the poool max wait time value used.

Parameters:
poolMaxWaittime - The new Pool max wait time value to use.

getPoolSamplingPeriod

public int getPoolSamplingPeriod()
Get the pool sampling period value used for this RAR.

Returns:
The pool sampling period used.

setPoolSamplingPeriod

public void setPoolSamplingPeriod(int poolSamplingPeriod)
Sets the pool sampling period value used for this new RAR.

Parameters:
poolSamplingPeriod - The new pool sampling period value to use.

getCheckLevel

public int getCheckLevel()
REturns the check level value for this new RAR.

Returns:
the check level value.

setCheckLevel

public void setCheckLevel(int checkLevel)
Sets the new check level value to use for this RAR.

Parameters:
checkLevel - the new check level value to use.

getDsClass

public String getDsClass()
Returns the DS Class used for this new RAR.

Returns:
The DS class used for this new RAR.

setDsClass

public void setDsClass(String dsClass)
Sets the DS Class to use for this new RAR.

Parameters:
dsClass - The new DS Class value to use for this RAR.

getURL

public String getURL()
Returns the URL used in this RAR.

Returns:
the URL value used in this RAR.

setURL

public void setURL(String URL)
Sets the new URL value to use for this RAR.

Parameters:
URL - the new URL value to use for this RAR.

getUser

public String getUser()
Returns the username used by this RAR.

Returns:
the username used by this RAR.

setUser

public void setUser(String user)
Set a new username to use in this RAR.

Parameters:
user - The new user name value for this RAR.

getPassword

public String getPassword()
Returns the password for the user of this RAR.

Returns:
the password for the user of this RAR.

setPassword

public void setPassword(String password)
Set a new password for the user of this RAR.

Parameters:
password - the new password to use for this RAR.

getLoginTimeout

public String getLoginTimeout()
Returns the login timeout for this RAR.

Returns:
The login timeout for this RAR.

setLoginTimeout

public void setLoginTimeout(String loginTimeout)
Sets a new login timeout value for this RAR.

Parameters:
loginTimeout - the new login timeout value for this RAR.

getIsolationLevel

public String getIsolationLevel()
Returns the isolation level used by this RAR.

Returns:
the isolation level used by this RAR.

setIsolationLevel

public void setIsolationLevel(String isolationLevel)
Sets a new isolation level for this RAR to use.

Parameters:
isolationLevel - the new isolation level to use for this RAR.

getMapperName

public String getMapperName()
Returns the mapper name for this RAR.

Returns:
the mapper name for this RAR.

setMapperName

public void setMapperName(String mapperName)
Sets a new mapper name for this RAR to use.

Parameters:
mapperName - the new mapper name for this RAR to use.

getConfigLogTopic

public String getConfigLogTopic()
Returns the config log topic for this RAR.

Returns:
the config log topic for this RAR.

setConfigLogTopic

public void setConfigLogTopic(String configLogTopic)
Sets a new config log topic for this RAR.

Parameters:
configLogTopic - the new config log topic to use for this RAR.

getIsDomain

public boolean getIsDomain()
Return if the action is a domain management operation.

Returns:
if the action is a domain management operation.

setIsDomain

public void setIsDomain(boolean isDomain)
Sets if the action is a domain management operation.

Parameters:
isDomain - if the action is a domain management operation.

getBooleanValues

public List getBooleanValues()
Returns:
Returns the booleanValues.

setBooleanValues

public void setBooleanValues(List booleanValues)
Parameters:
booleanValues - The booleanValues to set.

getCheckingLevels

public List getCheckingLevels()
Returns:
Returns the checkingLevels.

setCheckingLevels

public void setCheckingLevels(List checkingLevels)
Parameters:
checkingLevels - The checkingLevels to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.