update

Use the update method to modify the information of an entity.

Purpose

The update method modifies the entity specified in the root data object. This method is used for updating information related to the entity, such as properties, assigning entities to groups, or moving an entity to a different parent.
The information can be modified in either of two ways.
  • The caller can create an empty root data object and specify the changes needed. This data object with the changed values replaces the existing data object and its existing values.
  • The caller can call the get method to get the specified values to be updated, make the changes, then send modifications back to the update method.

Parameters

root
Specifies the root data object containing entity with changes that need to be updated.

Returns

The root data object containing the updated entity with its identifier.

Exceptions

Signature

public DataObject update(DataObject root) throws WIMException


Terms of use | Feedback