org.exolab.jmscts.report
Class Failure

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

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

This element describes a test case failure.

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

Constructor Summary
Failure()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 Cause getCause()
          Returns the value of field 'cause'.
 java.lang.String getDescription()
          Returns the value of field 'description'.
 RootCause getRootCause()
          Returns the value of field 'rootCause'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setCause(Cause cause)
          Sets the value of field 'cause'.
 void setDescription(java.lang.String description)
          Sets the value of field 'description'.
 void setRootCause(RootCause rootCause)
          Sets the value of field 'rootCause'.
static Failure 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

Failure

public Failure()
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 -  

getCause

public Cause getCause()
Returns the value of field 'cause'.
Returns:
the value of field 'cause'.

getDescription

public java.lang.String getDescription()
Returns the value of field 'description'.
Returns:
the value of field 'description'.

getRootCause

public RootCause getRootCause()
Returns the value of field 'rootCause'.
Returns:
the value of field 'rootCause'.

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 -  

setCause

public void setCause(Cause cause)
Sets the value of field 'cause'.
Parameters:
cause - the value of field 'cause'.

setDescription

public void setDescription(java.lang.String description)
Sets the value of field 'description'.
Parameters:
description - the value of field 'description'.

setRootCause

public void setRootCause(RootCause rootCause)
Sets the value of field 'rootCause'.
Parameters:
rootCause - the value of field 'rootCause'.

unmarshal

public static Failure 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.