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

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

public class MonitoringDestForm
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
MonitoringDestForm()
           
 
Method Summary
 String getName()
           
 long getNbMsgsDeliverSinceCreation()
           
 long getNbMsgsReceiveSinceCreation()
           
 long getNbMsgsSendToDMQSinceCreation()
           
 String getType()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setName(String name)
           
 void setNbMsgsDeliverSinceCreation(long nbMsgsDeliverSinceCreation)
           
 void setNbMsgsReceiveSinceCreation(long nbMsgsReceiveSinceCreation)
           
 void setNbMsgsSendToDMQSinceCreation(long nbMsgsSendToDMQSinceCreation)
           
 void setType(String type)
           
 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

MonitoringDestForm

public MonitoringDestForm()
Method Detail

getNbMsgsReceiveSinceCreation

public long getNbMsgsReceiveSinceCreation()
Returns:
Returns the nbMsgsReceiveSinceCreation.

setNbMsgsReceiveSinceCreation

public void setNbMsgsReceiveSinceCreation(long nbMsgsReceiveSinceCreation)
Parameters:
nbMsgsReceiveSinceCreation - The nbMsgsReceiveSinceCreation to set.

getNbMsgsSendToDMQSinceCreation

public long getNbMsgsSendToDMQSinceCreation()
Returns:
Returns the nbMsgsSendToDMQSinceCreation.

setNbMsgsSendToDMQSinceCreation

public void setNbMsgsSendToDMQSinceCreation(long nbMsgsSendToDMQSinceCreation)
Parameters:
nbMsgsSendToDMQSinceCreation - The nbMsgsSendToDMQSinceCreation to set.

getNbMsgsDeliverSinceCreation

public long getNbMsgsDeliverSinceCreation()
Returns:
Returns the nbMsgsDeliverSinceCreation.

setNbMsgsDeliverSinceCreation

public void setNbMsgsDeliverSinceCreation(long nbMsgsDeliverSinceCreation)
Parameters:
nbMsgsDeliverSinceCreation - The nbMsgsDeliverSinceCreation to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getType

public String getType()
Returns:
Returns the type.

setType

public void setType(String type)
Parameters:
type - The type 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.