Class SchemaTracker


  • public class SchemaTracker
    extends Object
    INTERNAL: Utility class that tracks ontological information. This class is used by the ConvertTopicMap action as part of the ontopoly schema inferencing code.
    • Constructor Detail

      • SchemaTracker

        public SchemaTracker()
    • Method Detail

      • trackTopic

        public void trackTopic​(TopicIF topic)
      • trackAssociation

        public void trackAssociation​(AssociationIF assoc)
      • getPlayerCardinality

        protected int getPlayerCardinality​(TopicIF atype,
                                           TopicIF rtype,
                                           TopicIF player)
      • getTopicTypeInstances

        public int getTopicTypeInstances​(TopicIF ttype)
      • getSubjectLocatorMinCardinality

        public int getSubjectLocatorMinCardinality​(TopicIF ttype)
      • getSubjectLocatorMaxCardinality

        public int getSubjectLocatorMaxCardinality​(TopicIF ttype)
      • getSubjectIndicatorMinCardinality

        public int getSubjectIndicatorMinCardinality​(TopicIF ttype)
      • getSubjectIndicatorMaxCardinality

        public int getSubjectIndicatorMaxCardinality​(TopicIF ttype)
      • getNameTypeMinCardinality

        public int getNameTypeMinCardinality​(TopicIF ttype,
                                             TopicIF ntype)
      • getNameTypeMaxCardinality

        public int getNameTypeMaxCardinality​(TopicIF ttype,
                                             TopicIF ntype)
      • getExternalOccurrenceTypeMinCardinality

        public int getExternalOccurrenceTypeMinCardinality​(TopicIF ttype,
                                                           TopicIF otype)
      • getExternalOccurrenceTypeMaxCardinality

        public int getExternalOccurrenceTypeMaxCardinality​(TopicIF ttype,
                                                           TopicIF otype)
      • getInternalOccurrenceTypeMinCardinality

        public int getInternalOccurrenceTypeMinCardinality​(TopicIF ttype,
                                                           TopicIF otype)
      • getInternalOccurrenceTypeMaxCardinality

        public int getInternalOccurrenceTypeMaxCardinality​(TopicIF ttype,
                                                           TopicIF otype)
      • getPlayerTypeMinCardinality

        public int getPlayerTypeMinCardinality​(TopicIF atype,
                                               TopicIF rtype,
                                               TopicIF ptype)
      • getPlayerTypeMaxCardinality

        public int getPlayerTypeMaxCardinality​(TopicIF atype,
                                               TopicIF rtype,
                                               TopicIF ptype)
      • isSymmetricAssociationType

        public boolean isSymmetricAssociationType​(TopicIF atype)
      • getTopicType

        protected ontopoly.conversion.SchemaTracker.TopicType getTopicType​(TopicIF ttype)
      • createTopicType

        protected ontopoly.conversion.SchemaTracker.TopicType createTopicType​(TopicIF ttype)
      • getCharType

        protected ontopoly.conversion.SchemaTracker.CharType getCharType​(Map<TopicIF,​ontopoly.conversion.SchemaTracker.CharType> cmap,
                                                                         TopicIF ctype)
      • createCharType

        protected ontopoly.conversion.SchemaTracker.CharType createCharType​(Map<TopicIF,​ontopoly.conversion.SchemaTracker.CharType> cmap,
                                                                            TopicIF ctype)