public class OWLSubClassOfAxiomImpl extends OWLClassAxiomImpl implements OWLSubClassOfAxiom
Constructor and Description |
---|
OWLSubClassOfAxiomImpl(OWLClassExpression subClass,
OWLClassExpression superClass,
Collection<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor)
Accepts a visitor
|
<O> O |
accept(OWLObjectVisitorEx<O> visitor)
Accepts a visitor
|
boolean |
equals(Object obj) |
OWLSubClassOfAxiom |
getAnnotatedAxiom(Set<OWLAnnotation> annotations)
Gets a copy of this axiom that is annotated with the specified annotations.
|
AxiomType<?> |
getAxiomType()
Gets the axiom type for this axiom.
|
OWLSubClassOfAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
OWLClassExpression |
getSubClass()
Gets the subclass in this axiom.
|
OWLClassExpression |
getSuperClass()
Gets the superclass in this axiom.
|
boolean |
isGCI()
Determines if this subclass axiom has a subclass that is anonymous.
|
isAnnotationAxiom, isLogicalAxiom
accept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType
compareTo, containsEntityInSignature, getAnnotationPropertiesInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getNestedClassExpressions, isBottomEntity, isIndividual, isIRI, isTopEntity, toString
compareTo
getSignature
containsEntityInSignature
getAnonymousIndividuals
getClassesInSignature
getObjectPropertiesInSignature
getDataPropertiesInSignature
getIndividualsInSignature
getDatatypesInSignature
getAnnotationPropertiesInSignature
isAnonymous, isNamed
public OWLSubClassOfAxiomImpl(@Nonnull OWLClassExpression subClass, @Nonnull OWLClassExpression superClass, @Nonnull Collection<? extends OWLAnnotation> annotations)
subClass
- subclasssuperClass
- superclassannotations
- annotationspublic OWLSubClassOfAxiom getAnnotatedAxiom(@Nonnull Set<OWLAnnotation> annotations)
OWLAxiom
getAnnotatedAxiom
in interface OWLAxiom
annotations
- The annotations that will be added to existing annotations to annotate the
copy of this axiomOWLAxiom#getAnnotations()
method.public OWLSubClassOfAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLSubClassOfAxiom
public OWLClassExpression getSubClass()
OWLSubClassOfAxiom
getSubClass
in interface OWLSubClassOfAxiom
public OWLClassExpression getSuperClass()
OWLSubClassOfAxiom
getSuperClass
in interface OWLSubClassOfAxiom
public boolean isGCI()
OWLSubClassOfAxiom
isGCI
in interface OWLSubClassOfAxiom
true
if this axiom is a GCI, other wise false
.public boolean equals(Object obj)
equals
in class OWLAxiomImplWithEntityAndAnonCaching
public void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
OWLObject
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObject
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
Copyright © 2020 The University of Manchester. All rights reserved.