org.semanticweb.owlapi.model
Interface OWLDeclarationAxiom

All Superinterfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLObject
All Known Implementing Classes:
OWLDeclarationAxiomImpl

public interface OWLDeclarationAxiom
extends OWLAxiom

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

A declaration axiom declares an entity in an ontology. It doesn't affect the logical meaning of the ontology. Such axioms are necessary for adding labels etc. to classes, properties and individuals. Declaration axioms can also be used for structural consistency checking, for example some tools may enforce that all entities in the ontology must be declared.


Method Summary
 OWLDeclarationAxiom getAxiomWithoutAnnotations()
          Gets an axiom that is structurally equivalent to this axiom without annotations.
 OWLEntity getEntity()
          Gets the entity that this axiom declares.
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLAxiom
accept, accept, getAnnotatedAxiom, getAnnotations, getAxiomType, getNNF, getReferencedEntities, isAnnotated, isLogicalAxiom, isOfType, isOfType
 
Methods inherited from interface org.semanticweb.owlapi.model.OWLObject
accept, accept, getClassesInSignature, getDataPropertiesInSignature, getDatatypesInSignature, getIndividualsInSignature, getObjectPropertiesInSignature, getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getEntity

OWLEntity getEntity()
Gets the entity that this axiom declares.

Returns:
The entity that is declared by this axiom.

getAxiomWithoutAnnotations

OWLDeclarationAxiom getAxiomWithoutAnnotations()
Description copied from interface: OWLAxiom
Gets an axiom that is structurally equivalent to this axiom without annotations. This essentially returns a version of this axiom stripped of any annotations

Specified by:
getAxiomWithoutAnnotations in interface OWLAxiom
Returns:
The annotationless version of this axiom