Class NameType


public class NameType extends AbstractTypingTopic
Represents a name type.
  • Constructor Details

    • NameType

      public NameType(TopicIF currTopic, TopicMap tm)
      Creates a new NameType object.
  • Method Details

    • getLocatorIF

      public LocatorIF getLocatorIF()
      Description copied from class: AbstractTypingTopic
      Gets the LocatorIF for this typing topic. The locator is the PSI used by the ontology topic map model.p
      Specified by:
      getLocatorIF in class AbstractTypingTopic
      Returns:
      the LocatorIF for this typing topic.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Topic
    • isUntypedName

      public boolean isUntypedName()
      Returns true if name type is on:untyped.
    • getDeclaredByFields

      public Collection<NameField> getDeclaredByFields()
      Description copied from class: AbstractTypingTopic
      Returns the field definitions that are declared for this typing topic.
      Specified by:
      getDeclaredByFields in class AbstractTypingTopic
      Returns:
      a list of FieldDefinitions.