org.exolab.jmscts.report
Class Statistic

java.lang.Object
  |
  +--org.exolab.jmscts.report.Statistic
All Implemented Interfaces:
java.io.Serializable

public class Statistic
extends java.lang.Object
implements java.io.Serializable

A statistic collected during a test run.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Statistic()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 int getCount()
          Returns the value of field 'count'.
 double getRate()
          Returns the value of field 'rate'.
 org.exolab.castor.types.Time getTime()
          Returns the value of field 'time'.
 StatisticType getType()
          Returns the value of field 'type'.
 boolean hasCount()
          Method hasCount
 boolean hasRate()
          Method hasRate
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCount(int count)
          Sets the value of field 'count'.
 void setRate(double rate)
          Sets the value of field 'rate'.
 void setTime(org.exolab.castor.types.Time time)
          Sets the value of field 'time'.
 void setType(StatisticType type)
          Sets the value of field 'type'.
static Statistic unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Statistic

public Statistic()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

getCount

public int getCount()
Returns the value of field 'count'.
Returns:
the value of field 'count'.

getRate

public double getRate()
Returns the value of field 'rate'.
Returns:
the value of field 'rate'.

getTime

public org.exolab.castor.types.Time getTime()
Returns the value of field 'time'.
Returns:
the value of field 'time'.

getType

public StatisticType getType()
Returns the value of field 'type'.
Returns:
the value of field 'type'.

hasCount

public boolean hasCount()
Method hasCount

hasRate

public boolean hasRate()
Method hasRate

isValid

public boolean isValid()
Method isValid

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
out -  

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
handler -  

setCount

public void setCount(int count)
Sets the value of field 'count'.
Parameters:
count - the value of field 'count'.

setRate

public void setRate(double rate)
Sets the value of field 'rate'.
Parameters:
rate - the value of field 'rate'.

setTime

public void setTime(org.exolab.castor.types.Time time)
Sets the value of field 'time'.
Parameters:
time - the value of field 'time'.

setType

public void setType(StatisticType type)
Sets the value of field 'type'.
Parameters:
type - the value of field 'type'.

unmarshal

public static Statistic unmarshal(java.io.Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.