com.sybase.uep.bobclient.data
Class ScreenContext

java.lang.Object
  extended by com.sybase.uep.bobclient.data.ScreenContext

public class ScreenContext
extends java.lang.Object

ScreenContext stores the MBOContext instances for referenced MBO. Each referenced MBO has a MBOContext instance in ScreenContext and it contains information required to find and display the data such as the selected instance of parent MBO, the relationship, selected instance of current MBO and so on.

Author:
haowang

Constructor Summary
ScreenContext()
           
 
Method Summary
 void clear()
          Clear all context
 MBOContext getMBOContext(java.lang.String mboId)
          Gets the MBOContext of the given mbo.
 void putMBOContext(java.lang.String mboId, MBOContext context)
          Add context for a given mbo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenContext

public ScreenContext()
Method Detail

getMBOContext

public MBOContext getMBOContext(java.lang.String mboId)
Gets the MBOContext of the given mbo. It returns an empty MBOContext instance instead of null when no MBOContext exsiting for the given mbo

Parameters:
mboId -
Returns:

putMBOContext

public void putMBOContext(java.lang.String mboId,
                          MBOContext context)
Add context for a given mbo

Parameters:
mboId -
context -

clear

public void clear()
Clear all context