Portal, Express Beta Version 6.1
Operating systems: i5/OS, Linux,Windows |
You can set unique names for resources.
To set the unique name for a resource, proceed by the following steps:
// obtain modifiable instance of a model node final Modifiable modifiable = controller.getModifiableNode(node); // obtain modifiable instance of the resource's object id; note that modifiable instances // of all model nodes implement the ModifiableIdentifiable interface final ModifiableObjectID modifiableObjectID = ((ModifiableIdentifiable) modifiable).getModifiableObjectID(); // set unique name modifiableObjectID.setUniqueName("MyUniqueName");Parent topic: Modifying properties Related information