uk.ac.manchester.cs.owl
Class OWLImportsDeclarationImpl

java.lang.Object
  extended by uk.ac.manchester.cs.owl.OWLObjectImpl
      extended by uk.ac.manchester.cs.owl.OWLAxiomImpl
          extended by uk.ac.manchester.cs.owl.OWLImportsDeclarationImpl
All Implemented Interfaces:
java.lang.Comparable<OWLObject>, OWLAxiom, OWLImportsDeclaration, OWLObject

public class OWLImportsDeclarationImpl
extends OWLAxiomImpl
implements OWLImportsDeclaration

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


Constructor Summary
OWLImportsDeclarationImpl(OWLDataFactory dataFactory, OWLOntology subject, java.net.URI importsURI)
           
 
Method Summary
 void accept(OWLAxiomVisitor visitor)
           
<O> O
accept(OWLAxiomVisitorEx<O> visitor)
           
 void accept(OWLObjectVisitor visitor)
           
<O> O
accept(OWLObjectVisitorEx<O> visitor)
           
 boolean equals(java.lang.Object obj)
           
 AxiomType getAxiomType()
          Gets the axiom type for this axiom.
 java.net.URI getImportedOntologyURI()
          A convenience method that gets the value of the annotation as a URI.
 OWLOntology getSubject()
          Gets the ontology that is the subject of this imports axiom.
 boolean isLogicalAxiom()
          Determines if this axiom is a logical axiom.
 
Methods inherited from class uk.ac.manchester.cs.owl.OWLAxiomImpl
getAnnotationAxioms, getReferencedEntities
 
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
getAnnotationAxioms, getReferencedEntities
 
Methods inherited from interface org.semanticweb.owl.model.OWLObject
getSignature
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

OWLImportsDeclarationImpl

public OWLImportsDeclarationImpl(OWLDataFactory dataFactory,
                                 OWLOntology subject,
                                 java.net.URI importsURI)
Method Detail

getSubject

public OWLOntology getSubject()
Description copied from interface: OWLImportsDeclaration
Gets the ontology that is the subject of this imports axiom.

Specified by:
getSubject in interface OWLImportsDeclaration

isLogicalAxiom

public boolean isLogicalAxiom()
Description copied from interface: OWLAxiom
Determines if this axiom is a logical axiom. Logical axioms are defined to be axioms other than both declaration axioms (including imports declarations) and annotation axioms.

Specified by:
isLogicalAxiom in interface OWLAxiom
Returns:
true if the axiom is a logical axiom, false if the axiom is not a logical axiom.

getImportedOntologyURI

public java.net.URI getImportedOntologyURI()
Description copied from interface: OWLImportsDeclaration
A convenience method that gets the value of the annotation as a URI.

Specified by:
getImportedOntologyURI in interface OWLImportsDeclaration
Returns:
The URI of the ontology that is imported

equals

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

accept

public void accept(OWLAxiomVisitor visitor)
Specified by:
accept in interface OWLAxiom

accept

public void accept(OWLObjectVisitor visitor)
Specified by:
accept in interface OWLObject

accept

public <O> O accept(OWLAxiomVisitorEx<O> visitor)
Specified by:
accept in interface OWLAxiom

accept

public <O> O accept(OWLObjectVisitorEx<O> visitor)
Specified by:
accept in interface OWLObject

getAxiomType

public AxiomType getAxiomType()
Description copied from interface: OWLAxiom
Gets the axiom type for this axiom.

Specified by:
getAxiomType in interface OWLAxiom
Returns:
The axiom type that corresponds to the type of this axiom.