Class RBoxImpl

  • All Implemented Interfaces:
    RBox, openllet.shared.tools.Logging

    public class RBoxImpl
    extends java.lang.Object
    implements RBox

    Copyright: Copyright (c) 2007

    Company: Clark & Parsia, LLC.

    Author:
    Evren Sirin
    • Constructor Detail

      • RBoxImpl

        public RBoxImpl()
    • Method Detail

      • getLogger

        public java.util.logging.Logger getLogger()
        Specified by:
        getLogger in interface openllet.shared.tools.Logging
      • setObjectTaxonomy

        public void setObjectTaxonomy​(Taxonomy<openllet.aterm.ATermAppl> objectTaxonomy)
        Specified by:
        setObjectTaxonomy in interface RBox
      • setDataTaxonomy

        public void setDataTaxonomy​(Taxonomy<openllet.aterm.ATermAppl> dataTaxonomy)
        Specified by:
        setDataTaxonomy in interface RBox
      • setAnnotationTaxonomy

        public void setAnnotationTaxonomy​(Taxonomy<openllet.aterm.ATermAppl> annotationTaxonomy)
        Specified by:
        setAnnotationTaxonomy in interface RBox
      • getRoles

        public java.util.Map<openllet.aterm.ATermAppl,​Role> getRoles()
        Specified by:
        getRoles in interface RBox
      • getDomainAssertions

        public java.util.Map<Role,​java.util.Map<openllet.aterm.ATermAppl,​java.util.Set<java.util.Set<openllet.aterm.ATermAppl>>>> getDomainAssertions()
        Specified by:
        getDomainAssertions in interface RBox
      • getRangeAssertions

        public java.util.Map<Role,​java.util.Map<openllet.aterm.ATermAppl,​java.util.Set<java.util.Set<openllet.aterm.ATermAppl>>>> getRangeAssertions()
        Specified by:
        getRangeAssertions in interface RBox
      • getAssertedDomains

        public java.util.Iterator<openllet.aterm.ATermAppl> getAssertedDomains​(Role r)
        Specified by:
        getAssertedDomains in interface RBox
      • getAssertedRanges

        public java.util.Iterator<openllet.aterm.ATermAppl> getAssertedRanges​(Role r)
        Specified by:
        getAssertedRanges in interface RBox
      • propogateDomain

        public void propogateDomain​(Role role,
                                    java.util.Map<openllet.aterm.ATermAppl,​java.util.Set<java.util.Set<openllet.aterm.ATermAppl>>> domains)
        Specified by:
        propogateDomain in interface RBox
      • propogateRange

        public void propogateRange​(Role role,
                                   java.util.Map<openllet.aterm.ATermAppl,​java.util.Set<java.util.Set<openllet.aterm.ATermAppl>>> ranges)
        Specified by:
        propogateRange in interface RBox
      • computeSubRoles

        public void computeSubRoles​(Role r,
                                    java.util.Set<Role> subRoles,
                                    java.util.Set<openllet.aterm.ATermList> subRoleChains,
                                    java.util.Map<openllet.aterm.ATerm,​DependencySet> dependencies,
                                    DependencySet ds)
        Specified by:
        computeSubRoles in interface RBox
      • toString

        public java.lang.String toString()
        Returns a string representation of the RBox where for each role subroles, superroles, and isTransitive information is given
        Overrides:
        toString in class java.lang.Object