Class ONTAnonymousClassExpressionImpl.WithObjectProperty<ONT extends OntClass.RestrictionCE<OntObjectProperty>,​OWL extends org.semanticweb.owlapi.model.OWLRestriction>

    • Constructor Detail

      • WithObjectProperty

        protected WithObjectProperty​(org.apache.jena.graph.BlankNodeId n,
                                     Supplier<OntModel> m)
    • Method Detail

      • objects

        public Stream<ONTObject<? extends org.semanticweb.owlapi.model.OWLObject>> objects()
        Description copied from interface: ONTComposite
        Lists all components in the form of Stream. Neither this object nor parts of its components are not included in the result: it content only top-level direct components. Note that HasComponents.components() may also contain non-OWLObject things: integers (e.g. cardinality), Lists (e.g. ObjectOneOf), etc, while this method is only for OWLObjects which are represented as ONTObjects.
        Returns:
        Stream of ONTObjects
        See Also:
        ONTComposite.objects(), HasComponents.components(), HasOperands.operands()
      • getProperty

        public org.semanticweb.owlapi.model.OWLObjectPropertyExpression getProperty()
      • getONTObjectPropertyExpression

        public ONTObject<? extends org.semanticweb.owlapi.model.OWLObjectPropertyExpression> getONTObjectPropertyExpression()
      • findOPE

        protected ONTObject<? extends org.semanticweb.owlapi.model.OWLObjectPropertyExpression> findOPE​(ModelObjectFactory factory)
      • isAnonymousIndividual

        public default boolean isAnonymousIndividual()
        Answers true iff this is an OWL Anonymous Individual.
        Returns:
        boolean
      • isNamedClass

        public default boolean isNamedClass()
        Answers true iff this is an OWL Class.
        Returns:
        boolean
      • isNamedIndividual

        public default boolean isNamedIndividual()
        Answers true iff this is an OWL Named Individual.
        Returns:
        boolean
      • isDatatype

        public default boolean isDatatype()
        Answers true iff this is an OWL Datatype.
        Returns:
        boolean
      • isObjectProperty

        public default boolean isObjectProperty()
        Answers true iff this is an OWL Object Property.
        Returns:
        boolean
      • isDataProperty

        public default boolean isDataProperty()
        Answers true iff this is an OWL Data Property.
        Returns:
        boolean
      • isAnnotationProperty

        public default boolean isAnnotationProperty()
        Answers true iff this is an OWL Annotation Property.
        Returns:
        boolean