org.tm4j.topicmap.TopicMap .createAssociation(java.lang.String id)
Description
Creates a new Association in this TopicMap.
Parameters | ||
---|---|---|
java.lang.String | id | the unique identifier to be assigned to the new Association. If this parameter is null, then the Association will be assigned a unique identifier by the back-end implementation. the unique identifier to be assigned to the new Association. If this parameter is null, then the Association will be assigned a unique identifier by the back-end implementation. |
Throws
- java.beans.PropertyVetoException - if some listener to the TopicMap vetoes the creation of this object.
-
org.tm4j.topicmap.DuplicateObjectIDException
-
if
id
specifies an identifier which is already assigned to some other object in this TopicMap.
Returns
The new Association object.
Meta Data (1)
Other Resources
Related Topics
Has Parameters
id
[
Parameter #1
]