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

  • 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

      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.