org.jtiger.report.html
Class TestResultBeanImpl

java.lang.Object
  extended by org.jtiger.report.html.TestResultBeanImpl

public final class TestResultBeanImpl
extends Object

A bean that is used by the HTML result handler to produce a report.

Version:
2.1
Build Number 0376
Build Time 2006-07-28 01:50.16.218 CET (GMT + 1)
Author:
Tony Morris
See Also:
Serialized Form

Constructor Summary
TestResultBeanImpl()
          Create a default TestResultBeanImpl.
 
Method Summary
 boolean equals(Object o)
          Compares two instance of TestResultBeanImpl returning true iff the name, exception, elapsedTime, message, methodName, description, and result properties are equal, false otherwise.
 String getDescription()
          Returns the description property of the bean.
 String getElapsedTime()
          Returns the elapsedTime property of the bean.
 String getException()
          Returns the exception property of the bean.
 String getMessage()
          Returns the message property of the bean.
 String getMethodName()
          Returns the methodName property of the bean.
 String getName()
          Returns the name property of the bean.
 String getResult()
          Returns the result property of the bean.
 int hashCode()
          Returns a hash code for this TestResultBeanImpl based on the name, exception, elapsedTime, message, methodName, description, and result properties.
 void setDescription(String description)
          Sets the description property of the bean.
 void setElapsedTime(String elapsedTime)
          Sets the elapsedTime property of the bean.
 void setException(String exception)
          Sets the exception property of the bean.
 void setMessage(String message)
          Sets the message property of the bean.
 void setMethodName(String methodName)
          Sets the methodName property of the bean.
 void setName(String name)
          Sets the name property of the bean.
 void setResult(String result)
          Sets the result property of the bean.
 String toString()
          Returns a java.lang.String representation of the bean, which consists of the name property, the exception property, the elapsedTime property, the message property, the methodName property, the description property, and the result property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestResultBeanImpl

public TestResultBeanImpl()
Create a default TestResultBeanImpl.

Method Detail

getName

public String getName()
Returns the name property of the bean.

Returns:
The name property of the bean.

setName

public void setName(String name)
Sets the name property of the bean.

Parameters:
name - The name property of the bean.

getException

public String getException()
Returns the exception property of the bean.

Returns:
The exception property of the bean.

setException

public void setException(String exception)
Sets the exception property of the bean.

Parameters:
exception - The exception property of the bean.

getElapsedTime

public String getElapsedTime()
Returns the elapsedTime property of the bean.

Returns:
The elapsedTime property of the bean.

setElapsedTime

public void setElapsedTime(String elapsedTime)
Sets the elapsedTime property of the bean.

Parameters:
elapsedTime - The elapsedTime property of the bean.

getMessage

public String getMessage()
Returns the message property of the bean.

Returns:
The message property of the bean.

setMessage

public void setMessage(String message)
Sets the message property of the bean.

Parameters:
message - The message property of the bean.

getMethodName

public String getMethodName()
Returns the methodName property of the bean.

Returns:
The methodName property of the bean.

setMethodName

public void setMethodName(String methodName)
Sets the methodName property of the bean.

Parameters:
methodName - The methodName property of the bean.

getDescription

public String getDescription()
Returns the description property of the bean.

Returns:
The description property of the bean.

setDescription

public void setDescription(String description)
Sets the description property of the bean.

Parameters:
description - The description property of the bean.

getResult

public String getResult()
Returns the result property of the bean.

Returns:
The result property of the bean.

setResult

public void setResult(String result)
Sets the result property of the bean.

Parameters:
result - The result property of the bean.

toString

public String toString()
Returns a java.lang.String representation of the bean, which consists of the name property, the exception property, the elapsedTime property, the message property, the methodName property, the description property, and the result property.

Overrides:
toString in class Object
Returns:
A java.lang.String representation of the bean, which consists of the name property, the exception property, the elapsedTime property, the message property, the methodName property, the description property, and the result property.

equals

public boolean equals(Object o)
Compares two instance of TestResultBeanImpl returning true iff the name, exception, elapsedTime, message, methodName, description, and result properties are equal, false otherwise.

Overrides:
equals in class Object
Parameters:
o - An instance of TestResultBeanImpl to compare for equality.
Returns:
true iff the name, exception, elapsedTime, message, methodName, description, and result properties are equal, false otherwise.

hashCode

public int hashCode()
Returns a hash code for this TestResultBeanImpl based on the name, exception, elapsedTime, message, methodName, description, and result properties.

Overrides:
hashCode in class Object
Returns:
A hash code for this TestResultBeanImpl based on the name, exception, elapsedTime, message, methodName, description, and result properties.