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 interface TopicNameIF extends NameIF, ScopedIF, TypedIF, ReifiableIF
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
Fields Modifier and Type Field Description static String
EVENT_ADD_THEME
static String
EVENT_ADD_VARIANT
static String
EVENT_ADDED
static String
EVENT_REMOVE_THEME
static String
EVENT_REMOVE_VARIANT
static String
EVENT_REMOVED
static String
EVENT_SET_TYPE
static String
EVENT_SET_VALUE
-
Fields inherited from interface net.ontopia.topicmaps.core.ReifiableIF
EVENT_SET_REIFIER
-
Fields inherited from interface net.ontopia.topicmaps.core.TMObjectIF
EVENT_ADD_ITEMIDENTIFIER, EVENT_REMOVE_ITEMIDENTIFIER, MSG_NULL_ARGUMENT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<VariantNameIF>
getVariants()
PUBLIC: Gets the variant names of the topic named by this topic name.-
Methods inherited from interface net.ontopia.topicmaps.core.ReifiableIF
getReifier, setReifier
-
Methods inherited from interface net.ontopia.topicmaps.core.ScopedIF
addTheme, getScope, removeTheme
-
Methods inherited from interface net.ontopia.topicmaps.core.TMObjectIF
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier
-
-
-
-
Field Detail
-
EVENT_ADDED
static final String EVENT_ADDED
- See Also:
- Constant Field Values
-
EVENT_REMOVED
static final String EVENT_REMOVED
- See Also:
- Constant Field Values
-
EVENT_SET_TYPE
static final String EVENT_SET_TYPE
- See Also:
- Constant Field Values
-
EVENT_SET_VALUE
static final String EVENT_SET_VALUE
- See Also:
- Constant Field Values
-
EVENT_ADD_VARIANT
static final String EVENT_ADD_VARIANT
- See Also:
- Constant Field Values
-
EVENT_REMOVE_VARIANT
static final String EVENT_REMOVE_VARIANT
- See Also:
- Constant Field Values
-
EVENT_ADD_THEME
static final String EVENT_ADD_THEME
- See Also:
- Constant Field Values
-
EVENT_REMOVE_THEME
static final String EVENT_REMOVE_THEME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
-
-