org.tm4j.topicmap.Association .createMember(java.lang.String id,org.tm4j.net.Locator resourceLoc,org.tm4j.topicmap.Topic roleSpec,java.util.Collection players)
Description
Creates a new Member and adds it to this Association.
Parameters | ||
---|---|---|
java.lang.String | id | the unique ID to be assigned to the newly created Member object. If this parameter is null, then the back-end will assign a unique ID to the object. the unique ID to be assigned to the newly created Member object. If null, then the back-end will assign a unique ID to the object. |
java.util.Collection | players | the role players. This parameter must be a Collection of Topics. |
org.tm4j.net.Locator | resourceLoc | the address of the syntactic element that caused the creation of this Member (e.g. the address of the XTM member element). This parameter may be null for Member objects not created from syntactic elements or created from syntactic elements with no address. |
org.tm4j.topicmap.Topic | roleSpec | the topic which defines the role played in the association. This parameter may be null for a Member which plays no defined role in the association. |
Throws
Meta Data (1)