|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl uk.ac.manchester.cs.owl.owlapi.OWLAxiomImpl
public abstract class OWLAxiomImpl
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006
Constructor Summary | |
---|---|
OWLAxiomImpl(OWLDataFactory dataFactory,
java.util.Collection<? extends OWLAnnotation> annotations)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
equalsIgnoreAnnotations(OWLAxiom axiom)
Determines if another axiom is equal to this axiom not taking into consideration the annotations on the axiom |
java.util.Set<OWLAnnotation> |
getAnnotations()
Gets the annotations that are annotate this axiom. |
java.util.Set<OWLAnnotation> |
getAnnotations(OWLAnnotationProperty annotationProperty)
Gets the annotations that annotate this axiom and whose annotation property is equal to annotationProperty . |
OWLAxiom |
getNNF()
Gets this axioms in negation normal form. |
java.util.Set<OWLEntity> |
getReferencedEntities()
|
boolean |
isAnnotated()
Determines if this axiom has any annotations on it |
boolean |
isOfType(AxiomType... axiomTypes)
Determines if this axiom is one of the specified types |
boolean |
isOfType(java.util.Set<AxiomType<?>> types)
Determines if this axiom is one of the specified types |
protected java.util.Set<OWLAnnotation> |
mergeAnnos(java.util.Set<OWLAnnotation> annos)
A convenience method for implementation that returns a set containing the annotations on this axiom plus the annoations in the specified set. |
Methods inherited from class uk.ac.manchester.cs.owl.owlapi.OWLObjectImpl |
---|
compareObjectOfSameType, compareSets, compareTo, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getOWLDataFactory, getSignature, hashCode, isBottomEntity, isTopEntity, 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 |
---|
accept, accept, getAnnotatedAxiom, getAxiomType, getAxiomWithoutAnnotations, isLogicalAxiom |
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject |
---|
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getNestedClassExpressions, getObjectPropertiesInSignature, getSignature, isBottomEntity, isTopEntity |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public OWLAxiomImpl(OWLDataFactory dataFactory, java.util.Collection<? extends OWLAnnotation> annotations)
Method Detail |
---|
public boolean isAnnotated()
OWLAxiom
isAnnotated
in interface OWLAxiom
true
if this axiom has annotations on it, otherwise false
public java.util.Set<OWLAnnotation> getAnnotations()
OWLAxiom
getAnnotations
in interface OWLAxiom
public java.util.Set<OWLAnnotation> getAnnotations(OWLAnnotationProperty annotationProperty)
OWLAxiom
annotationProperty
.
getAnnotations
in interface OWLAxiom
annotationProperty
- The annotation property that will be equal to the annotation property of each returned
annotation.
annotationProperty
.public boolean equalsIgnoreAnnotations(OWLAxiom axiom)
equalsIgnoreAnnotations
in interface OWLAxiom
axiom
- The axiom to test if equal
true
if axiom
without annotations is equal to this axiom without annotations
otherwise false
.public boolean isOfType(AxiomType... axiomTypes)
isOfType
in interface OWLAxiom
axiomTypes
- The axiom types to check for
true
if this axiom is one of the specified types, otherwise false
public boolean isOfType(java.util.Set<AxiomType<?>> types)
isOfType
in interface OWLAxiom
types
- The axiom types to check for
true
if this axioms is one of the specified types, otherwise false
protected java.util.Set<OWLAnnotation> mergeAnnos(java.util.Set<OWLAnnotation> annos)
annos
- The annotations to add to the annotations on this axiom
public boolean equals(java.lang.Object obj)
equals
in class OWLObjectImpl
public java.util.Set<OWLEntity> getReferencedEntities()
public OWLAxiom getNNF()
OWLAxiom
getNNF
in interface OWLAxiom
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |