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

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.joramplatform.DestinationForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JoramQueueForm, JoramTopicForm

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

Form bean for the Joram queue and topic pages

Author:
Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DestinationForm()
           
 
Method Summary
 String getAction()
           
 List getBooleanVals()
           
 String getCreationDate()
           
 String getDmq()
           
 boolean getFreelyReadable()
           
 boolean getFreelyWriteable()
           
 String getId()
           
 ArrayList getListUsedByEjb()
           
 String getName()
           
 ObjectName getOName()
           
 ArrayList getReaderList()
           
 String getType()
           
 ArrayList getWriterList()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setAction(String action)
           
 void setBooleanVals(List booleanVals)
           
 void setCreationDate(String creationDate)
           
 void setDmq(String dmq)
           
 void setFreelyReadable(boolean freelyReadable)
           
 void setFreelyWriteable(boolean freelyWriteable)
           
 void setId(String id)
           
 void setListUsedByEjb(ArrayList listUsedByEjb)
           
 void setName(String name)
           
 void setOName(ObjectName name)
           
 void setReaderList(ArrayList readerList)
           
 void setType(String type)
           
 void setWriterList(ArrayList writerList)
           
 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

DestinationForm

public DestinationForm()
Method Detail

getAction

public String getAction()

setAction

public void setAction(String action)

getListUsedByEjb

public ArrayList getListUsedByEjb()
Returns:
Returns the listUsedByEjb.

setListUsedByEjb

public void setListUsedByEjb(ArrayList listUsedByEjb)
Parameters:
listUsedByEjb - The listUsedByEjb to set.

getName

public String getName()

setName

public void setName(String name)

getId

public String getId()

setId

public void setId(String id)

getDmq

public String getDmq()
Returns:
Returns the dmq.

setDmq

public void setDmq(String dmq)
Parameters:
dmq - The dmq to set.

getFreelyReadable

public boolean getFreelyReadable()
Returns:
Returns the freelyReadable.

setFreelyReadable

public void setFreelyReadable(boolean freelyReadable)
Parameters:
freelyReadable - The freelyReadable to set.

getFreelyWriteable

public boolean getFreelyWriteable()
Returns:
Returns the freelyWriteable.

setFreelyWriteable

public void setFreelyWriteable(boolean freelyWriteable)
Parameters:
freelyWriteable - The freelyWriteable to set.

getType

public String getType()
Returns:
Returns the type.

setType

public void setType(String type)
Parameters:
type - The type to set.

getCreationDate

public String getCreationDate()
Returns:
Returns the creationDate.

setCreationDate

public void setCreationDate(String creationDate)
Parameters:
creationDate - The creationDate 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

getOName

public ObjectName getOName()
Returns:
Returns the oName.

setOName

public void setOName(ObjectName name)
Parameters:
name - The oName to set.

getBooleanVals

public List getBooleanVals()
Returns:
Returns the booleanVals.

setBooleanVals

public void setBooleanVals(List booleanVals)
Parameters:
booleanVals - The booleanVals to set.

getReaderList

public ArrayList getReaderList()
Returns:
Returns the readerList.

setReaderList

public void setReaderList(ArrayList readerList)
Parameters:
readerList - The readerList to set.

getWriterList

public ArrayList getWriterList()
Returns:
Returns the writerList.

setWriterList

public void setWriterList(ArrayList writerList)
Parameters:
writerList - The writerList to set.


Copyright © 2010 OW2 Consortium. All Rights Reserved.