org.tm4j.topicmap.Variant .createVariantName(java.lang.String id)
Description
Creates a new VariantName as a child of this Variant. Thw new VariantName will replace any existing VariantName as the only child of this Variant.
Parameters | ||
---|---|---|
java.lang.String | id | the unique object id to be assigned to the new VariantName 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 VariantName for this Variant 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.
Returns
the newly created VariantName object.
Meta Data (1)
Other Resources
Related Topics
Has Parameters
id
[
Parameter #1
]