org.tm4j.topicmap.Topic .createOccurrence(java.lang.String id)
Description
Creates a new Occurrence as a child of this Topic.
Parameters | ||
---|---|---|
java.lang.String | id | the unique object id to be assigned to the new Occurrence object. If this parameter is null, the back-end will assign an ID to the newly created object. |
Throws
- java.beans.PropertyVetoException - if to create a new Occurrence for this Topic would violate a constraint imposed by a VetoableChangeListener assigned to this TopicMap.
-
org.tm4j.topicmap.DuplicateObjectIDException
-
if
id
specifies and identifier value already used in the containing TopicMap.
Meta Data (1)
Other Resources
Related Topics
Has Parameters
id
[
Parameter #1
]