Interface MTopic
-
- All Superinterfaces:
MTMObject
,TMObjectIF
,TopicIF
- All Known Subinterfaces:
MFlatTopic
public interface MTopic extends MTMObject, TopicIF
-
-
Field Summary
-
Fields inherited from interface net.ontopia.topicmaps.core.TMObjectIF
EVENT_ADD_ITEMIDENTIFIER, EVENT_REMOVE_ITEMIDENTIFIER, MSG_NULL_ARGUMENT
-
Fields inherited from interface net.ontopia.topicmaps.core.TopicIF
EVENT_ADD_OCCURRENCE, EVENT_ADD_SUBJECTIDENTIFIER, EVENT_ADD_SUBJECTLOCATOR, EVENT_ADD_TOPICNAME, EVENT_ADD_TYPE, EVENT_ADDED, EVENT_MODIFIED, EVENT_REMOVE_OCCURRENCE, EVENT_REMOVE_SUBJECTIDENTIFIER, EVENT_REMOVE_SUBJECTLOCATOR, EVENT_REMOVE_TOPICNAME, EVENT_REMOVE_TYPE, EVENT_REMOVED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<AssociationIF>
getAssociations()
PUBLIC: Gets the associations that have roles played by this topic.Collection<AssociationRoleIF>
getRoles()
PUBLIC: Gets the association roles played by this topic.Collection<TopicNameIF>
getTopicNames()
PUBLIC: Gets the names of this topic.-
Methods inherited from interface net.ontopia.topicmaps.core.TMObjectIF
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier
-
Methods inherited from interface net.ontopia.topicmaps.core.TopicIF
addSubjectIdentifier, addSubjectLocator, addType, getAssociationsByType, getOccurrences, getOccurrencesByType, getReified, getRolesByType, getRolesByType, getSubjectIdentifiers, getSubjectLocators, getTopicNamesByType, getTypes, merge, removeSubjectIdentifier, removeSubjectLocator, removeType
-
-
-
-
Method Detail
-
getTopicNames
Collection<TopicNameIF> getTopicNames()
Description copied from interface:TopicIF
PUBLIC: Gets the names of this topic.- Specified by:
getTopicNames
in interfaceTopicIF
- Returns:
- A collection of TopicNameIF objects.
-
getAssociations
Collection<AssociationIF> getAssociations()
Description copied from interface:TopicIF
PUBLIC: Gets the associations that have roles played by this topic. There is no guarantee as to the order these are returned in.- Specified by:
getAssociations
in interfaceTopicIF
- Returns:
- A collection of AssociationIF objects.
-
getRoles
Collection<AssociationRoleIF> getRoles()
Description copied from interface:TopicIF
PUBLIC: Gets the association roles played by this topic. There is no guarantee as to the order these are returned in.
-
-