uk.ac.manchester.cs.owl
Class OWLAxiomImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLAxiomImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLObject
Direct Known Subclasses:
OWLAnnotationAxiomImpl, OWLDeclarationAxiomImpl, OWLImportsDeclarationImpl, OWLLogicalAxiomImpl, SWRLRuleImpl

public abstract class OWLAxiomImpl
extends OWLObjectImpl
implements OWLAxiom

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 26-Oct-2006


Constructor Summary
OWLAxiomImpl(OWLDataFactory dataFactory)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Set<OWLAxiomAnnotationAxiom> getAnnotationAxioms(OWLOntology ontology)
          Gets the annotation axioms that annotate this axiom and belong to the specified ontology
 java.util.Set<OWLEntity> getReferencedEntities()
          A convenience method that obtains the entities that this axiom references.
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLObjectImpl
compareTo, getOWLDataFactory, getSignature, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.model.OWLAxiom
accept, accept, getAxiomType, isLogicalAxiom
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
accept, accept, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLAxiomImpl

public OWLAxiomImpl(OWLDataFactory dataFactory)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class OWLObjectImpl

getAnnotationAxioms

public java.util.Set<OWLAxiomAnnotationAxiom> getAnnotationAxioms(OWLOntology ontology)
Description copied from interface: OWLAxiom
Gets the annotation axioms that annotate this axiom and belong to the specified ontology

Specified by:
getAnnotationAxioms in interface OWLAxiom
Parameters:
ontology - The ontology that will be examined for annotation axioms.

getReferencedEntities

public java.util.Set<OWLEntity> getReferencedEntities()
Description copied from interface: OWLAxiom
A convenience method that obtains the entities that this axiom references.

Specified by:
getReferencedEntities in interface OWLAxiom
Returns:
A set of OWLEntity objects.