org.exolab.jmscts.report
Class Context

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

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

This element specifies the context of a test case.

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

Constructor Summary
Context()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 Behaviour getBehaviour()
          Returns the value of field 'behaviour'.
 Factory getFactory()
          Returns the value of field 'factory'.
 MessageType getMessage()
          Returns the value of field 'message'.
 SessionType getSession()
          Returns the value of field 'session'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setBehaviour(Behaviour behaviour)
          Sets the value of field 'behaviour'.
 void setFactory(Factory factory)
          Sets the value of field 'factory'.
 void setMessage(MessageType message)
          Sets the value of field 'message'.
 void setSession(SessionType session)
          Sets the value of field 'session'.
static Context 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

Context

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

getBehaviour

public Behaviour getBehaviour()
Returns the value of field 'behaviour'.
Returns:
the value of field 'behaviour'.

getFactory

public Factory getFactory()
Returns the value of field 'factory'.
Returns:
the value of field 'factory'.

getMessage

public MessageType getMessage()
Returns the value of field 'message'.
Returns:
the value of field 'message'.

getSession

public SessionType getSession()
Returns the value of field 'session'.
Returns:
the value of field 'session'.

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 -  

setBehaviour

public void setBehaviour(Behaviour behaviour)
Sets the value of field 'behaviour'.
Parameters:
behaviour - the value of field 'behaviour'.

setFactory

public void setFactory(Factory factory)
Sets the value of field 'factory'.
Parameters:
factory - the value of field 'factory'.

setMessage

public void setMessage(MessageType message)
Sets the value of field 'message'.
Parameters:
message - the value of field 'message'.

setSession

public void setSession(SessionType session)
Sets the value of field 'session'.
Parameters:
session - the value of field 'session'.

unmarshal

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