public class OWLSubClassOfAxiomImpl extends OWLClassAxiomImpl implements OWLSubClassOfAxiom
Constructor and Description |
---|
OWLSubClassOfAxiomImpl(OWLClassExpression subClass,
OWLClassExpression superClass,
java.util.Collection<? extends OWLAnnotation> annotations) |
Modifier and Type | Method and Description |
---|---|
void |
accept(OWLAxiomVisitor visitor) |
<O> O |
accept(OWLAxiomVisitorEx<O> visitor) |
void |
accept(OWLObjectVisitor visitor) |
<O> O |
accept(OWLObjectVisitorEx<O> visitor) |
protected int |
compareObjectOfSameType(OWLObject object) |
boolean |
contains(OWLClassExpression ce)
Deprecated.
|
boolean |
equals(java.lang.Object obj) |
OWLSubClassOfAxiom |
getAnnotatedAxiom(java.util.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.
|
java.util.Set<OWLClassExpression> |
getClassExpressions()
Deprecated.
|
java.util.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, mergeAnnos
compareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, setOWLDataFactory, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfType
getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity
public OWLSubClassOfAxiomImpl(OWLClassExpression subClass, OWLClassExpression superClass, java.util.Collection<? extends OWLAnnotation> annotations)
@Deprecated public java.util.Set<OWLClassExpression> getClassExpressions()
@Deprecated public java.util.Set<OWLClassExpression> getClassExpressionsMinus(OWLClassExpression... desc)
public OWLSubClassOfAxiom getAnnotatedAxiom(java.util.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(java.lang.Object obj)
equals
in class OWLAxiomImpl
public void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
public AxiomType<?> getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType
in class OWLObjectImpl