Interface MAssociation
- All Superinterfaces:
AssociationIF,MTMObject,ReifiableIF,ScopedIF,TMObjectIF,TypedIF
-
Field Summary
Fields inherited from interface net.ontopia.topicmaps.core.AssociationIF
EVENT_ADD_ROLE, EVENT_ADD_THEME, EVENT_ADDED, EVENT_REMOVE_ROLE, EVENT_REMOVE_THEME, EVENT_REMOVED, EVENT_SET_TYPEFields inherited from interface net.ontopia.topicmaps.core.ReifiableIF
EVENT_SET_REIFIERFields inherited from interface net.ontopia.topicmaps.core.TMObjectIF
EVENT_ADD_ITEMIDENTIFIER, EVENT_REMOVE_ITEMIDENTIFIER, MSG_NULL_ARGUMENT -
Method Summary
Modifier and TypeMethodDescriptionPUBLIC: Gets a Collection of association role types found in this association.Methods inherited from interface net.ontopia.topicmaps.core.AssociationIF
getRoles, getRolesByTypeMethods inherited from interface net.ontopia.topicmaps.core.ReifiableIF
getReifier, setReifierMethods inherited from interface net.ontopia.topicmaps.core.ScopedIF
addTheme, getScope, removeThemeMethods inherited from interface net.ontopia.topicmaps.core.TMObjectIF
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier
-
Method Details
-
getRoleTypes
Collection<TopicIF> getRoleTypes()Description copied from interface:AssociationIFPUBLIC: Gets a Collection of association role types found in this association. The returned collection does not contain any duplicates. Even if some roles have no type, null will not be returned as one of the role types in the returned set.- Specified by:
getRoleTypesin interfaceAssociationIF- Returns:
- A Collection of TopicIF objects.
-