ontopoly.model
Class OccurrenceType

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

public class OccurrenceType
extends AbstractTypingTopic

Represents an occurrence type.


Constructor Summary
OccurrenceType(TopicIF type, TopicMap tm)
          Creates a new OccurrenceType object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Collection<OccurrenceField> getDeclaredByFields()
          Returns the field definitions that are declared for this typing topic.
 LocatorIF getLocatorIF()
          Gets the LocatorIF for this typing topic.
 
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

OccurrenceType

public OccurrenceType(TopicIF type,
                      TopicMap tm)
Creates a new OccurrenceType 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

getDeclaredByFields

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