create method

Use the create method to create an entity.

Purpose

The create method creates an entity under the given virtual member manager root data object. The empty root data object can be obtained from the SchemaService.createRootDataObject method. Then the entity, along with the properties needed, can be added under the root data object.

The output root data object of the create method contains the entity data object that has been created. This entity data object contains only its identifier.

Parameters

root
Specifies the root data object that contains the entity to be created.

Returns

The root data object that contains the created entity and its identifier.

Exceptions

Signature

public DataObject create(DataObject root) throws WIMException, RemoteException


Terms of use | Feedback

http://publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/com.ibm.websphere.wim.doc/create.html