org.tm4j.topicmap .Association
Description
This interface describes an association between one or more topics, subject indicators, or resources. The type of the Association is defined by an optional typing Topic, and its validity may or may not be restricted to a particular scope, defined by a set of Topics. An association contains one or more Member objects whose roles may be defined by role-specifying Topics.
Interfaces
Implementations of this interface
Method Summary | |
---|---|
void |
addMember(org.tm4j.topicmap.Member member)
Adds a new Member to the association.
|
Member |
createMember(java.lang.String id)
Creates a new Member and adds it to this Association.
|
Member |
createMember(java.lang.String id,org.tm4j.net.Locator resourceLoc,org.tm4j.topicmap.Topic roleSpec,java.util.Collection players)
Creates a new Member and adds it to this Association.
|
void | dispose() |
java.util.Collection |
getMembers()
Returns the Members that the Association contains.
|
java.util.Collection |
getMembersOfRole(org.tm4j.topicmap.Topic roleSpec)
Returns the Member objects which play the specified role in this association.
|
TopicMap |
getParent()
Returns the TopicMap object which contains this Association object.
|
Topic |
getType()
Gets the Topic defining the type of the Association.
|
void |
isOfType(org.tm4j.topicmap.Topic type)
Determines whether the type of the association is described by type .
|
void |
removeMember(org.tm4j.topicmap.Member member)
Removes a member from this association.
|
void |
setMembers(org.tm4j.topicmap.Member[] members)
Defines the member constructs which are members of this association.
|
void |
setType(org.tm4j.topicmap.Topic type)
Sets the Topic defining the type of this Association.
|
Meta Data (2)
Related Topics
Imports
Is Contained By
Is Imported By
Is Type For
Parameter a of org.tm4j.topicmap.utils.TypeInstanceAssociationFilter.startAssociation
[
Typed Item
]
Parameter assoc of org.tm4j.panckoucke.impl.abstraction.extended.ExtendedAbstractionUtil.addMembersOfAssociation
[
Typed Item
]
Parameter assoc of org.tm4j.panckoucke.impl.abstraction.section.AssociationMemberSection.setAssociation
[
Typed Item
]