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 |
contains(OWLClassExpression ce)
Deprecated.
|
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.
|
Set<OWLClassExpression> |
getClassExpressions()
Deprecated.
|
Set<OWLClassExpression> |
getClassExpressionsMinus(OWLClassExpression... desc)
Deprecated.
|
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, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toString
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
compareTo
containsEntityInSignature
public OWLSubClassOfAxiomImpl(OWLClassExpression subClass, OWLClassExpression superClass, Collection<? extends OWLAnnotation> annotations)
subClass
- subclasssuperClass
- superclassannotations
- annotations@Deprecated public Set<OWLClassExpression> getClassExpressions()
@Deprecated public Set<OWLClassExpression> getClassExpressionsMinus(OWLClassExpression... desc)
public OWLSubClassOfAxiom getAnnotatedAxiom(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
@Deprecated public boolean contains(OWLClassExpression ce)
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 OWLAxiomImpl
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 © 2017 The University of Manchester. All Rights Reserved.