|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.manchester.cs.owl.owlapi.OWLObjectImpl
uk.ac.manchester.cs.owl.owlapi.OWLAxiomImpl
uk.ac.manchester.cs.owl.owlapi.OWLLogicalAxiomImpl
uk.ac.manchester.cs.owl.owlapi.OWLClassAxiomImpl
uk.ac.manchester.cs.owl.owlapi.OWLSubClassOfAxiomImpl
public class OWLSubClassOfAxiomImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Constructor Summary | |
---|---|
OWLSubClassOfAxiomImpl(OWLDataFactory dataFactory,
OWLClassExpression subClass,
OWLClassExpression superClass,
java.util.Collection<? extends OWLAnnotation> annotations)
|
Method Summary | ||
---|---|---|
void |
accept(OWLAxiomVisitor visitor)
|
|
|
accept(OWLAxiomVisitorEx<O> visitor)
|
|
void |
accept(OWLObjectVisitor visitor)
|
|
|
accept(OWLObjectVisitorEx<O> visitor)
|
|
protected int |
compareObjectOfSameType(OWLObject object)
|
|
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()
Gets all of the top level class expressions that appear in this axiom. |
|
java.util.Set<OWLClassExpression> |
getClassExpressionsMinus(OWLClassExpression... desc)
Gets the set of class expressions that appear in this axiom minus the specfied class expressions. |
|
OWLClassExpression |
getSubClass()
|
|
OWLClassExpression |
getSuperClass()
|
|
boolean |
isGCI()
Determines if this subclass axiom has a subclass that is anonymous. |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLLogicalAxiomImpl |
---|
isLogicalAxiom |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLAxiomImpl |
---|
getAnnotations, getNNF, getReferencedEntities, isAnnotated, isOfType, isOfType, mergeAnnos |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
---|
compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom |
---|
getAnnotations, getNNF, getReferencedEntities, isAnnotated, isLogicalAxiom, isOfType, isOfType |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
---|
getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getSignature |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public OWLSubClassOfAxiomImpl(OWLDataFactory dataFactory, OWLClassExpression subClass, OWLClassExpression superClass, java.util.Collection<? extends OWLAnnotation> annotations)
Method Detail |
---|
public java.util.Set<OWLClassExpression> getClassExpressions()
OWLNaryClassAxiom
getClassExpressions
in interface OWLNaryClassAxiom
Set
of class expressions that appear in the
axiom.public java.util.Set<OWLClassExpression> getClassExpressionsMinus(OWLClassExpression... desc)
OWLNaryClassAxiom
getClassExpressionsMinus
in interface OWLNaryClassAxiom
desc
- The class expressions to subtract from the class expressions in this axiom
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 axiom
OWLAxiom#getAnnotations()
method.public OWLSubClassOfAxiom getAxiomWithoutAnnotations()
OWLAxiom
getAxiomWithoutAnnotations
in interface OWLAxiom
getAxiomWithoutAnnotations
in interface OWLSubClassOfAxiom
public OWLClassExpression getSubClass()
getSubClass
in interface OWLSubClassOfAxiom
public OWLClassExpression getSuperClass()
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)
accept
in interface OWLAxiom
public void accept(OWLObjectVisitor visitor)
accept
in interface OWLObject
public <O> O accept(OWLAxiomVisitorEx<O> visitor)
accept
in interface OWLAxiom
public <O> O accept(OWLObjectVisitorEx<O> visitor)
accept
in interface OWLObject
public AxiomType getAxiomType()
OWLAxiom
getAxiomType
in interface OWLAxiom
protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType
in class OWLObjectImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |