public interface OWLEquivalentClassesAxiom extends OWLNaryClassAxiom
Modifier and Type | Method and Description |
---|---|
default void |
accept(OWLAxiomVisitor visitor) |
default <O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
default void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
default <O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
Collection<OWLEquivalentClassesAxiom> |
asPairwiseAxioms()
Gets this axiom as a set of pairwise axioms; if the axiom contains only two operands,
the axiom itself is returned unchanged, including its annotations.
|
boolean |
containsNamedEquivalentClass()
Determines if this equivalent classes axiom contains at least one named class (excluding
owl:Thing or owl:Nothing).
|
boolean |
containsOWLNothing()
Determines if this class axiom makes a class expression equivalent to nothing.
|
boolean |
containsOWLThing()
Determines if this class axiom makes a class expression equivalent to thing.
|
default AxiomType<?> |
getAxiomType()
Gets the axiom type for this axiom.
|
OWLEquivalentClassesAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
default Set<OWLClass> |
getNamedClasses()
Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent
classes axiom.
|
default int |
hashIndex() |
Stream<OWLClass> |
namedClasses()
Gets the named classes (excluding owl:Thing and owl:Nothing) that are in this equivalent
classes axiom.
|
Collection<OWLEquivalentClassesAxiom> |
splitToAnnotatedPairs()
Splits this axiom to pairs, including annotations.
|
classExpressions, components, componentsAnnotationsFirst, componentsWithoutAnnotations, contains, getClassExpressions, getClassExpressionsAsList, getClassExpressionsMinus, initHashCode, operands
isLogicalAxiom
equalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isAxiom, isIndividual, isOfType, isOfType, isOfType, typeIndex
getNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressions
compareTo
getSignature, signature, unsortedSignature
containsEntityInSignature
anonymousIndividuals, getAnonymousIndividuals
classesInSignature, getClassesInSignature
getObjectPropertiesInSignature, objectPropertiesInSignature
dataPropertiesInSignature, getDataPropertiesInSignature
getIndividualsInSignature, individualsInSignature
datatypesInSignature, getDatatypesInSignature
annotationPropertiesInSignature, getAnnotationPropertiesInSignature
isAnonymous, isNamed
annotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotations
allMatch, allMatchAllPairs, anyMatch, anyMatchAllPairs, forEach, forEachAllPairs, walkAllPairwise, walkPairwise
getOperandsAsList
asOWLSubClassOfAxioms
OWLEquivalentClassesAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
default int hashIndex()
hashIndex
in interface HasHashIndex
boolean containsNamedEquivalentClass()
true
if the axiom contains at least one named class otherwise false
.
Note that this method will return false
if the only named classes are
owl:Thing or owl:Nothing.default Set<OWLClass> getNamedClasses()
Stream<OWLClass> namedClasses()
boolean containsOWLNothing()
true
if this axiom contains owl:Nothing as an equivalent class.boolean containsOWLThing()
true
if this axioms contains owl:Thing as an equivalent class.Collection<OWLEquivalentClassesAxiom> asPairwiseAxioms()
OWLNaryAxiom
asPairwiseAxioms
in interface OWLNaryAxiom<OWLClassExpression>
Collection<OWLEquivalentClassesAxiom> splitToAnnotatedPairs()
OWLNaryAxiom
splitToAnnotatedPairs
in interface OWLNaryAxiom<OWLClassExpression>
default void accept(OWLObjectVisitor visitor)
OWLObject
default <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
default void accept(OWLAxiomVisitor visitor)
default <O> O accept(OWLAxiomVisitorEx<O> visitor)
default AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
Copyright © 2020 The University of Manchester. All rights reserved.