public class OWLDisjointUnionAxiomImpl extends OWLClassAxiomImpl implements OWLDisjointUnionAxiom
| Constructor and Description |
|---|
OWLDisjointUnionAxiomImpl(OWLClass owlClass,
java.util.Set<? extends OWLClassExpression> classExpressions,
java.util.Set<? 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 |
equals(java.lang.Object obj) |
OWLDisjointUnionAxiom |
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.
|
OWLDisjointUnionAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without annotations.
|
java.util.Set<OWLClassExpression> |
getClassExpressions()
Gets the class expressions which are operands of the disjoint union.
|
OWLClass |
getOWLClass()
Gets the class which is equivalent to the disjoint union.
|
OWLDisjointClassesAxiom |
getOWLDisjointClassesAxiom()
Gets the part of this axiom that corresponds to an
DisjointClasses axiom. |
OWLEquivalentClassesAxiom |
getOWLEquivalentClassesAxiom()
Gets the part of this axiom that corresponds to an
EquivalentClasses axiom. |
isAnnotationAxiom, isLogicalAxiomaccept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType, mergeAnnoscompareLists, compareSets, compareTo, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, setOWLDataFactory, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfTypegetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitypublic OWLDisjointUnionAxiomImpl(OWLClass owlClass, java.util.Set<? extends OWLClassExpression> classExpressions, java.util.Set<? extends OWLAnnotation> annotations)
public java.util.Set<OWLClassExpression> getClassExpressions()
OWLDisjointUnionAxiomgetClassExpressions in interface OWLDisjointUnionAxiomSet containing the operands of the disjoint union, note
that this does not include the OWLClass that is equivalent
to the disjoint union.public OWLDisjointUnionAxiom getAxiomWithoutAnnotations()
OWLAxiomgetAxiomWithoutAnnotations in interface OWLAxiomgetAxiomWithoutAnnotations in interface OWLDisjointUnionAxiompublic OWLDisjointUnionAxiom getAnnotatedAxiom(java.util.Set<OWLAnnotation> annotations)
OWLAxiomgetAnnotatedAxiom in interface OWLAxiomannotations - The annotations that will be added to existing annotations to annotate the copy of this axiomOWLAxiom#getAnnotations() method.public OWLClass getOWLClass()
OWLDisjointUnionAxiomgetOWLClass in interface OWLDisjointUnionAxiompublic boolean equals(java.lang.Object obj)
equals in class OWLAxiomImplpublic 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()
OWLAxiomgetAxiomType in interface OWLAxiompublic OWLEquivalentClassesAxiom getOWLEquivalentClassesAxiom()
OWLDisjointUnionAxiomEquivalentClasses axiom.getOWLEquivalentClassesAxiom in interface OWLDisjointUnionAxiomEquivalentClasses(CE, CEUnion) where CEUnion is the union of the classes
returned by the OWLDisjointUnionAxiom.getClassExpressions() method and CE is the class returned by
the OWLDisjointUnionAxiom.getOWLClass() method.public OWLDisjointClassesAxiom getOWLDisjointClassesAxiom()
OWLDisjointUnionAxiomDisjointClasses axiom.getOWLDisjointClassesAxiom in interface OWLDisjointUnionAxiomDisjointClasses(CE1, ..., CEn) where CEi in {CE1, ..., CEn} is
contained in the classes returned by the OWLDisjointUnionAxiom.getClassExpressions() method.protected int compareObjectOfSameType(OWLObject object)
compareObjectOfSameType in class OWLObjectImpl