objectivehtml.common
Class EventResult

java.lang.Object
  |
  +--objectivehtml.common.EventResult

public class EventResult
extends java.lang.Object

This class holds the result information of an event.


Field Summary
protected  java.util.HashMap m_hmAttributes
          Stores the attributes associated with this result
protected  java.lang.String m_sResult
          Stores the result of the event
 
Constructor Summary
EventResult()
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String sName)
          Gets the an attribute for this result.
 java.lang.String getResult()
          Gets the result.
 void setAttribute(java.lang.String sName, java.lang.Object objValue)
          Sets the an attribute for this result.
 void setResult(java.lang.String sResult)
          Sets the result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_sResult

protected java.lang.String m_sResult
Stores the result of the event

m_hmAttributes

protected java.util.HashMap m_hmAttributes
Stores the attributes associated with this result
Constructor Detail

EventResult

public EventResult()
Method Detail

setResult

public void setResult(java.lang.String sResult)
Sets the result.
Parameters:
sResult - the result

getResult

public java.lang.String getResult()
Gets the result.
Returns:
the result

setAttribute

public void setAttribute(java.lang.String sName,
                         java.lang.Object objValue)
Sets the an attribute for this result.
Parameters:
sName - the name associated with the attribute
objValue - the attribute value

getAttribute

public java.lang.Object getAttribute(java.lang.String sName)
Gets the an attribute for this result.
Parameters:
sName - the name associated with the attribute
Returns:
the attribute associated with the attribute name