com.bea.ld.dsmediator.update
Class DataServiceToUpdate

java.lang.Object
  extended bycom.bea.ld.dsmediator.update.DataServiceToUpdate
All Implemented Interfaces:
java.io.Serializable

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

A wrapper class that contains a datagraph and its dataservice locator for submit it may also contains a collection of child DataServiceToUpdate objects

See Also:
Serialized Form

Constructor Summary
DataServiceToUpdate(commonj.sdo.DataGraph sdo, java.lang.String dataServiceName)
           
 
Method Summary
 DataServiceToUpdate addContainedDSToUpdate(commonj.sdo.DataGraph containedSDO, java.lang.String dsName)
          Add new DataGraph as a child/dependent of current SDO
 void addContainedDSToUpdate(DataServiceToUpdate dsToUpdate)
          Add new wrapped DataGraph as a child/dependent of current SDO
 java.util.Collection getContainedDSToUpdateList()
          return all dependent sdo objects as collection of DataServiceToUpdate for current sdo
 commonj.sdo.DataGraph getDataGraph()
          get the current datagraph wrapped inside
 java.lang.String getDataServiceName()
           
 void removeContainedDSToUpdate(DataServiceToUpdate dsToUpdate)
          remove a wrapped DataGraph from the child collection of current SDO
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataServiceToUpdate

public DataServiceToUpdate(commonj.sdo.DataGraph sdo,
                           java.lang.String dataServiceName)
Parameters:
sdo - data graph to be updated
dataServiceName - data service URI for current SDO
Method Detail

getContainedDSToUpdateList

public java.util.Collection getContainedDSToUpdateList()
return all dependent sdo objects as collection of DataServiceToUpdate for current sdo

Returns:
all dependent sdo objects for current sdo

addContainedDSToUpdate

public DataServiceToUpdate addContainedDSToUpdate(commonj.sdo.DataGraph containedSDO,
                                                  java.lang.String dsName)
Add new DataGraph as a child/dependent of current SDO

Parameters:
containedSDO - A SDO that is child/dependent of current SDO
dsName - data service URI for current SDO

addContainedDSToUpdate

public void addContainedDSToUpdate(DataServiceToUpdate dsToUpdate)
Add new wrapped DataGraph as a child/dependent of current SDO

Parameters:
dsToUpdate - A SDO that is child/dependent of current SDO

removeContainedDSToUpdate

public void removeContainedDSToUpdate(DataServiceToUpdate dsToUpdate)
remove a wrapped DataGraph from the child collection of current SDO

Parameters:
dsToUpdate -

getDataServiceName

public java.lang.String getDataServiceName()
Returns:
data service URI for current SDO

getDataGraph

public commonj.sdo.DataGraph getDataGraph()
get the current datagraph wrapped inside

Returns:


Copyright © 2006 BEA Systems Inc. All Rights Reserved.