public class OWLEquivalentClassesAxiomImpl extends OWLNaryClassAxiomImpl implements OWLEquivalentClassesAxiom, Serializable
NO_ANNOTATIONS, OWL_THING| Constructor and Description |
|---|
OWLEquivalentClassesAxiomImpl(Set<? extends OWLClassExpression> classExpressions,
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
|
Set<OWLSubClassOfAxiom> |
asOWLSubClassOfAxioms() |
Set<OWLEquivalentClassesAxiom> |
asPairwiseAxioms()
Gets this axiom as a set of pairwise axioms.
|
boolean |
containsNamedEquivalentClass()
Determines if this equivalent classes axiom contains at least one named
class (excluding owl:Thing or owl:Nothing).
|
boolean |
containsOWLNothing()
Determines if this class axiom makes a class expression equivalent to
nothing.
|
boolean |
containsOWLThing()
Determines if this class axiom makes a class expression equivalent to
thing.
|
boolean |
equals(Object obj) |
OWLEquivalentClassesAxiom |
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.
|
OWLEquivalentClassesAxiom |
getAxiomWithoutAnnotations()
Gets an axiom that is structurally equivalent to this axiom without
annotations.
|
Set<OWLClass> |
getNamedClasses()
Gets the named classes (excluding owl:Thing and owl:Nothing) that are in
this equivalent classes axiom.
|
compareObjectOfSameType, contains, getClassExpressions, getClassExpressionsAsList, getClassExpressionsMinusisAnnotationAxiom, isLogicalAxiomaccept, equalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isOfType, isOfType, mergeAnnoscompareLists, compareSets, compareTo, containsEntityInSignature, getAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, hashCode, isBottomEntity, isTopEntity, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontains, getClassExpressions, getClassExpressionsAsList, getClassExpressionsMinusequalsIgnoreAnnotations, getAnnotations, getAnnotations, getNNF, isAnnotated, isAnnotationAxiom, isLogicalAxiom, isOfType, isOfTypegetAnonymousIndividuals, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntitycompareTocontainsEntityInSignaturepublic OWLEquivalentClassesAxiomImpl(Set<? extends OWLClassExpression> classExpressions, Collection<? extends OWLAnnotation> annotations)
classExpressions - equivalent classesannotations - annotationspublic OWLEquivalentClassesAxiom getAxiomWithoutAnnotations()
OWLAxiomgetAxiomWithoutAnnotations in interface OWLAxiomgetAxiomWithoutAnnotations in interface OWLEquivalentClassesAxiompublic OWLEquivalentClassesAxiom getAnnotatedAxiom(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 Set<OWLEquivalentClassesAxiom> asPairwiseAxioms()
OWLNaryAxiomasPairwiseAxioms in interface OWLEquivalentClassesAxiomasPairwiseAxioms in interface OWLNaryAxiompublic boolean containsNamedEquivalentClass()
OWLEquivalentClassesAxiomcontainsNamedEquivalentClass in interface OWLEquivalentClassesAxiomtrue if the axiom contains at least one named class
otherwise false. Note that this method will return
false if the only named classes are owl:Thing or
owl:Nothing.public boolean containsOWLNothing()
OWLEquivalentClassesAxiomcontainsOWLNothing in interface OWLEquivalentClassesAxiomtrue if this axiom contains owl:Nothing as an equivalent
class.public boolean containsOWLThing()
OWLEquivalentClassesAxiomcontainsOWLThing in interface OWLEquivalentClassesAxiomtrue if this axioms contains owl:Thing as an equivalent
class.public Set<OWLClass> getNamedClasses()
OWLEquivalentClassesAxiomgetNamedClasses in interface OWLEquivalentClassesAxiompublic Set<OWLSubClassOfAxiom> asOWLSubClassOfAxioms()
asOWLSubClassOfAxioms in interface OWLSubClassOfAxiomSetShortCutpublic boolean equals(Object obj)
equals in class OWLNaryClassAxiomImplpublic void accept(OWLAxiomVisitor visitor)
public void accept(OWLObjectVisitor visitor)
OWLObjectpublic <O> O accept(OWLAxiomVisitorEx<O> visitor)
public <O> O accept(OWLObjectVisitorEx<O> visitor)
OWLObjectpublic AxiomType<?> getAxiomType()
OWLAxiomgetAxiomType in interface OWLAxiomCopyright © 2014 The University of Manchester. All Rights Reserved.