net.ontopia.topicmaps.core
Interface TypedIF

All Superinterfaces:
TMObjectIF
All Known Subinterfaces:
AssociationIF, AssociationRoleIF, OccurrenceIF, TopicNameIF
All Known Implementing Classes:
Association, Association, AssociationRole, AssociationRole, DynamicAssociation, DynamicAssociationRole, Occurrence, Occurrence, PhantomAssociation, ReadOnlyAssociation, ReadOnlyAssociationRole, ReadOnlyOccurrence, ReadOnlyTopicName, SnapshotOccurrence, SnapshotTopicName, TopicName, TopicName

public interface TypedIF
extends TMObjectIF

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
 
Method Summary
 TopicIF getType()
          PUBLIC: Gets the type that this object is an instance of.
 void setType(TopicIF type)
          PUBLIC: Sets the type that this object is an instance of.
 
Methods inherited from interface net.ontopia.topicmaps.core.TMObjectIF
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier
 

Method Detail

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

void setType(TopicIF type)
PUBLIC: Sets the type that this object is an instance of.

Parameters:
type - The type for this object; an object implementing TopicIF.


Copyright © 2000-2012 Ontopia.