Interface AssociationRoleInterface: Represents the topic map member / role construct (known as association role in HyTM).
Interface AssociationRoleInterface: Represents the topic map member / role construct (known as association role in HyTM). This class represents a normalised association member / role. In normalising the members / roles of an association, one member must be created for each of the role players of the association. For example the following (XTM) association would result in three Member / Role objects.
- <association>
- <member>
- <instanceOf><topicRef xlink:href="#parent"/></instanceOf>
- <topicRef xlink:href="#homer"/>
- </member>
- <member>
- <instanceOf><topicRef xlink:href="#child"/></instanceOf>
- <topicRef xlink:href="#bart"/>
- <topicRef xlink:href="#lisa"/>
- </member>
- </association>
Located in /org.phptmapi.core/AssociationRole.interface.php (line 26)
TopicMapObjectInterface | --AssociationRoleInterface
getAssociation: Returns the association to which this association role belongs.
getAssociation: Returns the association to which this association role belongs.
getPlayer: Returns the player of this association role or null if there is no role player.
getPlayer: Returns the player of this association role or null if there is no role player.
getReifier: Returns the topic that reifies this association role.
getReifier: Returns the topic that reifies this association role.
setPlayer: Sets the player of this association role.
setPlayer: Sets the player of this association role. $player overwrites any previous value.
setReifier: Sets the reifiying topic of this association role.
setReifier: Sets the reifiying topic of this association role.
Inherited From TopicMapObjectInterface
TopicMapObjectInterface::addItemIdentifier()
TopicMapObjectInterface::getItemIdentifiers()
TopicMapObjectInterface::getObjectId()
TopicMapObjectInterface::getParent()
TopicMapObjectInterface::getTopicMap()
TopicMapObjectInterface::remove()
TopicMapObjectInterface::removeItemIdentifier()
Documentation generated on Fri, 30 Jun 2006 13:06:47 +0200 by phpDocumentor 1.3.0RC4