createRootDataObject method

Use the createRootDataObject method to create an empty root data object.

Purpose

The createRootDataObject method returns an empty root data object. All entity, control and context data objects are contained under the root data object. Client applications can use the root data object to build input data objects, such as an input data object for creating an entity through the create method.

Parameters

None

Returns

An empty virtual member manager root data object.

Exceptions

  • WIMException:
  • RemoteException:

Signature

public DataObject createRootDataObject() throws WIMException, RemoteException

Sample

For example, the following code creates a PersonAccount data object and adds it under the Root data object.
DataObject root = service.createRootDataObject();
DataObject personAccount = root.createDataObject("entities", 
"http://www.ibm.com/websphere/wim", "PersonAccount");

Icon that indicates the type of topic Reference topic

Terms and conditions for documentation | Feedback


Timestamp icon Last updated: March 30, 2016 13:35
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=vmm&topic=createrootdataobject
File name: createrootdataobject.html