org.tm4j.topicmap.TopicMapObject .setID(java.lang.String id)
Description
Sets the object ID of the TopicMapObject. The object ID is an internal identifier assigned by the application to a topic map object. ID values must be unique for each object in the same topic map. Implementations are free to assign ID values in any way they see fit.
Parameters | ||
---|---|---|
java.lang.String | id | the new internal object ID. |
Throws
- org.tm4j.topicmap.DuplicateObjectIDException - If an attempt is made to set the object's ID to a value already assigned to an object in the same TopicMap.
- org.tm4j.topicmap.DuplicateResourceLocatorException - If the resource locator of the object being updated clashes with the resource locator of an existing object.
Meta Data (1)