public interface OWLClassExpression extends OWLObject, OWLPropertyRange, SWRLPredicate, AsOWLClass
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLClassExpressionVisitor visitor)
Accepts a visit from an
OWLExpressionVisitor . |
<O> O |
accept(OWLClassExpressionVisitorEx<O> visitor) |
Set<OWLClassExpression> |
asConjunctSet()
Interprets this expression as a conjunction and returns the conjuncts.
|
Set<OWLClassExpression> |
asDisjunctSet()
Interprets this expression as a disjunction and returns the disjuncts.
|
default Stream<OWLClassExpression> |
conjunctSet()
Interprets this expression as a conjunction and returns the conjuncts.
|
boolean |
containsConjunct(OWLClassExpression ce)
Determines if this class expression contains a particular conjunct.
|
default Stream<OWLClassExpression> |
disjunctSet()
Interprets this expression as a disjunction and returns the disjuncts.
|
ClassExpressionType |
getClassExpressionType()
Gets the class expression type for this class expression.
|
OWLClassExpression |
getComplementNNF()
Gets the negation normal form of the complement of this expression.
|
OWLClassExpression |
getNNF()
Gets this expression in negation normal form.
|
OWLClassExpression |
getObjectComplementOf()
Gets the object complement of this class expression.
|
default boolean |
isClassExpressionLiteral()
Determines if this class is a literal.
|
boolean |
isOWLNothing()
Determines if this expression is the built in class owl:Nothing.
|
boolean |
isOWLThing()
Determines if this expression is the built in class owl:Thing.
|
accept, accept, getNestedClassExpressions, hashIteration, hasSharedStructure, initHashCode, isAnonymousExpression, isAxiom, isBottomEntity, isIndividual, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
hashIndex
components, componentsAnnotationsFirst, componentsWithoutAnnotations
isAnonymous, isNamed
asOWLClass, isOWLClass
ClassExpressionType getClassExpressionType()
default boolean isClassExpressionLiteral()
true
if this is a literal, or false if this is not a literal.boolean isOWLThing()
true
if this expression is owl:Thing, or false
if this expression is
not owl:Thingboolean isOWLNothing()
true
if this expression is owl:Nothing, or false
if this expression
is not owl:Nothing.OWLClassExpression getNNF()
OWLClassExpression getComplementNNF()
OWLClassExpression getObjectComplementOf()
default Stream<OWLClassExpression> conjunctSet()
Set<OWLClassExpression> asConjunctSet()
boolean containsConjunct(OWLClassExpression ce)
ce
- The conjunct to test fortrue
if this class expression is equal to ce
or if this class
expression is an ObjectIntersectionOf
(possibly nested within another ObjectIntersectionOf
) that contains ce
, otherwise false
.default Stream<OWLClassExpression> disjunctSet()
Set<OWLClassExpression> asDisjunctSet()
void accept(OWLClassExpressionVisitor visitor)
OWLExpressionVisitor
.visitor
- The visitor that wants to visit<O> O accept(OWLClassExpressionVisitorEx<O> visitor)
O
- visitor return typevisitor
- visitorCopyright © 2020 The University of Manchester. All rights reserved.