Package net.ontopia.topicmaps.core
Interface TypedIF
- All Superinterfaces:
TMObjectIF
- All Known Subinterfaces:
AssociationIF,AssociationRoleIF,MAssociation,MAssociationRole,MAssociationRoleWithoutAssociation,MOccurrence,MOccurrenceWithoutTopic,MTopicName,MTopicNameWithoutTopic,OccurrenceIF,TopicNameIF
- All Known Implementing Classes:
Association,Association,AssociationRole,AssociationRole,Occurrence,Occurrence,PhantomAssociation,ReadOnlyAssociation,ReadOnlyAssociationRole,ReadOnlyOccurrence,ReadOnlyTopicName,SnapshotOccurrence,SnapshotTopicName,TopicName,TopicName
PUBLIC: Implemented by topic map objects that are instances of a
single type, such as occurrences, associations, association roles,
and topic names.
Types are always represented by topics.
-
Field Summary
Fields inherited from interface net.ontopia.topicmaps.core.TMObjectIF
EVENT_ADD_ITEMIDENTIFIER, EVENT_REMOVE_ITEMIDENTIFIER, MSG_NULL_ARGUMENT -
Method Summary
Methods inherited from interface net.ontopia.topicmaps.core.TMObjectIF
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier
-
Method Details
-
getType
TopicIF getType()PUBLIC: Gets the type that this object is an instance of.- Returns:
- The type of this object; an object implementing TopicIF.
-
setType
PUBLIC: Sets the type that this object is an instance of.- Parameters:
type- The type for this object; an object implementing TopicIF.
-