|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AssociationRoleIF
PUBLIC: Implemented by objects representing association roles in the topic map model. Association roles are first-class objects which represent a topic playing a role in an association.
Note: in XTM 1.0 terminology, associations have members playing roles in the association. In ISO 13250 terminology, playing a role in an association is a characteristic of a topic. These notions are intended to be equivalent.
| Method Summary | |
|---|---|
AssociationIF |
getAssociation()
PUBLIC: Gets the association to which this association role belongs. |
TopicIF |
getPlayer()
PUBLIC: Gets the topic that plays this association role (this member of the association). |
void |
setPlayer(TopicIF player)
PUBLIC: Sets the topic that plays this association role. |
| Methods inherited from interface net.ontopia.topicmaps.core.TypedIF |
|---|
getType, setType |
| Methods inherited from interface net.ontopia.topicmaps.core.ReifiableIF |
|---|
getReifier, setReifier |
| Methods inherited from interface net.ontopia.topicmaps.core.TMObjectIF |
|---|
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier |
| Method Detail |
|---|
AssociationIF getAssociation()
TopicIF getPlayer()
void setPlayer(TopicIF player)
player - The topic (member) which plays this role in the association.
Can be null; if null, then the effect is that there is no player
of this role in this association.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||