Package net.ontopia.topicmaps.core
Interface TopicNameIF
- All Superinterfaces:
NameIF,ReifiableIF,ScopedIF,TMObjectIF,TypedIF
- All Known Subinterfaces:
MTopicName,MTopicNameWithoutTopic
- All Known Implementing Classes:
ReadOnlyTopicName,SnapshotTopicName,TopicName,TopicName
PUBLIC: Implemented by an object which represents a topic name, which
is a topic characteristic.
This interface is also used for 'variant' elements in the XTM 1.0
syntax, when extended by the VariantNameIF interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 the variant names of the topic named by this topic name.Methods 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
-
Field Details
-
EVENT_ADDED
- See Also:
-
EVENT_REMOVED
- See Also:
-
EVENT_SET_TYPE
- See Also:
-
EVENT_SET_VALUE
- See Also:
-
EVENT_ADD_VARIANT
- See Also:
-
EVENT_REMOVE_VARIANT
- See Also:
-
EVENT_ADD_THEME
- See Also:
-
EVENT_REMOVE_THEME
- See Also:
-
-
Method Details
-
getVariants
Collection<VariantNameIF> getVariants()PUBLIC: Gets the variant names of the topic named by this topic name. These correspond to the 'variant' child elements of the 'baseName' element in XTM 1.0. There is no guarantee as to which order these appear in the collection.- Returns:
- A collection of VariantNameIF objects.
-