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, operandsisLogicalAxiomequalsIgnoreAnnotations, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAnnotatedAxiom, getAxiomWithoutAnnotations, getAxiomWithoutAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isAxiom, isIndividual, isOfType, isOfType, isOfType, typeIndexgetNestedClassExpressions, hashIteration, hasSharedStructure, isAnonymousExpression, isBottomEntity, isIRI, isOntology, isTopEntity, nestedClassExpressionscompareTogetSignature, signature, unsortedSignaturecontainsEntityInSignatureanonymousIndividuals, getAnonymousIndividualsclassesInSignature, getClassesInSignaturegetObjectPropertiesInSignature, objectPropertiesInSignaturedataPropertiesInSignature, getDataPropertiesInSignaturegetIndividualsInSignature, individualsInSignaturedatatypesInSignature, getDatatypesInSignatureannotationPropertiesInSignature, getAnnotationPropertiesInSignatureisAnonymous, isNamedannotations, annotations, annotations, annotationsAsList, getAnnotations, getAnnotationsallMatch, allMatchAllPairs, anyMatch, anyMatchAllPairs, forEach, forEachAllPairs, walkAllPairwise, walkPairwisegetOperandsAsListasOWLSubClassOfAxiomsOWLEquivalentClassesAxiom getAxiomWithoutAnnotations()
OWLAxiomgetAxiomWithoutAnnotations in interface OWLAxiomdefault int hashIndex()
hashIndex in interface HasHashIndexboolean 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()
OWLNaryAxiomasPairwiseAxioms in interface OWLNaryAxiom<OWLClassExpression>Collection<OWLEquivalentClassesAxiom> splitToAnnotatedPairs()
OWLNaryAxiomsplitToAnnotatedPairs in interface OWLNaryAxiom<OWLClassExpression>default void accept(OWLObjectVisitor visitor)
OWLObjectdefault <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectdefault void accept(OWLAxiomVisitor visitor)
default <O> O accept(OWLAxiomVisitorEx<O> visitor)
default AxiomType<?> getAxiomType()
OWLAxiomgetAxiomType in interface OWLAxiomCopyright © 2020 The University of Manchester. All rights reserved.