net.ontopia.topicmaps.core
Interface TypedIF

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

public interface TypedIF
extends TMObjectIF

PUBLIC: Implemented by topic map objects that are instances of a single type, such as occurrences, associations, and association roles.

Types are always represented by topics.


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-2009 Ontopia.