com.ibm.redback.redbeansejb
Class RBState

java.lang.Object
  |
  +--com.ibm.redback.redbeansejb.RBState
All Implemented Interfaces:
java.io.Serializable

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

Create an instance of RBState, usually one per RBO accessed via a Stateless Session Bean. This instance will hold details of the RBO (session, name and URL) as well as current property names and their values and the RecordSet.

See Also:
Serialized Form

Constructor Summary
RBState()
          Empty constructor.
 
Method Summary
 java.util.Vector getProperties()
          This method returns the vector contaning all the properties values.
 RecordSet getRecordSet()
          This method returns the record set.
 java.lang.String[] getSession()
          This method returns current session information like
 java.util.Vector getValues()
          This method returns the current property values.
 void setProperties(java.util.Vector newProperties)
          This method sets properties.Will normally be set by the session bean
 void setRecordSet(RecordSet newRecordSet)
          This method sets the valure of the record set.will normally be set by the session bean
 void setSession(java.lang.String[] newSession)
          This method sets the current session value.Will normally be set by the session bean.
 void setValues(java.util.Vector newValues)
          This method set the vlaues for the properties.Will normally be set by the session bean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBState

public RBState()
Empty constructor.
Method Detail

getProperties

public java.util.Vector getProperties()
This method returns the vector contaning all the properties values.
Returns:
current property names

getRecordSet

public RecordSet getRecordSet()
This method returns the record set.
Returns:
the current RecordSet

getSession

public java.lang.String[] getSession()
This method returns current session information like
[0] = Session Id
[1] = RBO Account
[2] = RBO Name
Returns:
the current session information

getValues

public java.util.Vector getValues()
This method returns the current property values.
Returns:
current values

setProperties

public void setProperties(java.util.Vector newProperties)
This method sets properties.Will normally be set by the session bean
Parameters:
newProperties - the property names for this state instance

setRecordSet

public void setRecordSet(RecordSet newRecordSet)
This method sets the valure of the record set.will normally be set by the session bean
Parameters:
newRecordSet - the RecordSet for this class

setSession

public void setSession(java.lang.String[] newSession)
This method sets the current session value.Will normally be set by the session bean.
Parameters:
newSession - the session details for the RBO

setValues

public void setValues(java.util.Vector newValues)
This method set the vlaues for the properties.Will normally be set by the session bean
Parameters:
newValues - for this RBO