com.ibm.websphere.sdo
Interface DataGraphAccessBean


public interface DataGraphAccessBean

Service Data Objects - DataGraphAccessBean.

This interface defines the wrapper to a SDO Mediator and it's Metadata. A Mediator has the following responsibilities:


Method Summary
 DataObjectAccessBean createDataObject()
          Creates and returns a DataObject for insertion in the back-end No changes are pushed to the back-end until the DataGraph is passed to the applyChanges method of a MediatorAccessBean
 void deleteDataObject()
          Marks the current DataObject for Removal from the back-end No changes are pushed to the back-end until the DataGraph is passed to the applyChanges method of a MediatorAccessBean
 DataListAccessBean getDataListAccessBean()
          Returns the top level List of DataObjects in this DataGraph
 DataObjectAccessBean getDataObjectAccessBean()
          Returns a wrapper the first top level DataObject in this DataGraph
 com.ibm.etools.wdo.DataObject getRoot()
          Returns the DataObject that is the Root of this DataGraph
 void setFeatureName(java.lang.String featureName)
          Set the name for the feature from the root Object to the top level of data This is use by the Mediator and not intended for a clients use.
 

Method Detail

createDataObject

public DataObjectAccessBean createDataObject()
Creates and returns a DataObject for insertion in the back-end No changes are pushed to the back-end until the DataGraph is passed to the applyChanges method of a MediatorAccessBean
Returns:
DataObjectAccessBean

deleteDataObject

public void deleteDataObject()
Marks the current DataObject for Removal from the back-end No changes are pushed to the back-end until the DataGraph is passed to the applyChanges method of a MediatorAccessBean

getDataListAccessBean

public DataListAccessBean getDataListAccessBean()
Returns the top level List of DataObjects in this DataGraph
Returns:
DataListAccessBean

getDataObjectAccessBean

public DataObjectAccessBean getDataObjectAccessBean()
Returns a wrapper the first top level DataObject in this DataGraph
Returns:
DataObjectAccessBean

getRoot

public com.ibm.etools.wdo.DataObject getRoot()
Returns the DataObject that is the Root of this DataGraph
Returns:
DataObject

setFeatureName

public void setFeatureName(java.lang.String featureName)
Set the name for the feature from the root Object to the top level of data This is use by the Mediator and not intended for a clients use.
Parameters:
featureName -