com.ibm.etill.framework.supervisor
Class RCItem

java.lang.Object
  |
  +--com.ibm.etill.framework.supervisor.RCItem

public class RCItem
extends Object

Cassettes should never instantiate a RCItem objects directly since they are typically imbedded within ReturnCodeStructure objects.

RCItem objects contain a single return code value, which is accessed through the getReturnCode method.

See Also:
ReturnCodeStructure

Constructor Summary
RCItem(short rc)
          Constructs a new RCItem object with the specified return code value.
 
Method Summary
 short getReturnCode()
          Returns the return code value contained within this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCItem

public RCItem(short rc)
Constructs a new RCItem object with the specified return code value. This constructor is called by the Framework while populating ReturnCodeStructure objects.
Parameters:
rc - a short containing the return code value.
Method Detail

getReturnCode

public final short getReturnCode()
Returns the return code value contained within this object.
Returns:
short - the return code value.