ontopoly.model
Class NameType

java.lang.Object
  extended by ontopoly.model.Topic
      extended by ontopoly.model.AbstractTypingTopic
          extended by ontopoly.model.NameType

public class NameType
extends AbstractTypingTopic

Represents a name type.


Constructor Summary
NameType(TopicIF currTopic, TopicMap tm)
          Creates a new NameType object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Collection<NameField> getDeclaredByFields()
          Returns the field definitions that are declared for this typing topic.
 LocatorIF getLocatorIF()
          Gets the LocatorIF for this typing topic.
 boolean isUntypedName()
          Returns true if name type is on:untyped.
 
Methods inherited from class ontopoly.model.AbstractTypingTopic
isHidden, isReadOnly
 
Methods inherited from class ontopoly.model.Topic
addTopicType, copyCharacteristics, findDependentObjects, getDependentObjects, getFieldInstances, getFieldInstances, getId, getMostSpecificTopicType, getName, getTopicIF, getTopicMap, getTopicTypes, hashCode, isAssociationType, isFieldDefinition, isInstanceOf, isInstanceOf, isNameType, isOccurrenceType, isOntologyTopic, isOntologyType, isPrivateSystemTopic, isPublicSystemTopic, isRoleType, isSystemTopic, isTopicMap, isTopicType, remove, removeTopicType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameType

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

Method Detail

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(java.lang.Object obj)
Overrides:
equals in class Topic

isUntypedName

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


getDeclaredByFields

public java.util.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.


Copyright © 2000-2012 Ontopia.