ch.uzh.ifi.attempto.acewiki.owl
Class AbstractOWLOntoElement

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.AbstractOntologyElement
      extended by ch.uzh.ifi.attempto.acewiki.owl.AbstractOWLOntoElement
All Implemented Interfaces:
OntologyElement, OWLOntoElement
Direct Known Subclasses:
OWLConcept, OWLIndividual, OWLRelation

public abstract class AbstractOWLOntoElement
extends AbstractOntologyElement
implements OWLOntoElement

This is a partial implementation of an ontology element that has an OWL representation.

Author:
Tobias Kuhn

Constructor Summary
AbstractOWLOntoElement()
           
 
Method Summary
 org.semanticweb.owlapi.model.IRI getIRI()
          Returns the IRI of the ontology element.
abstract  java.lang.String getIRISuffix()
          Returns the suffix of the OWL identifier of this ontology element.
 org.semanticweb.owlapi.model.OWLDataFactory getOWLDataFactory()
          Returns the OWL data factory object.
 org.semanticweb.owlapi.model.OWLDeclarationAxiom getOWLDeclaration()
          This method returns an OWL axiom that declares the given ontology element.
 
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.AbstractOntologyElement
getArticle, getHeadwords, getId, getOntology, getWord, getWord, initArticle, initId, initOntology, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.owl.OWLOntoElement
getOWLRepresentation
 
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.OntologyElement
getInternalType, getType, getWords, serializeWords, setWords
 

Constructor Detail

AbstractOWLOntoElement

public AbstractOWLOntoElement()
Method Detail

getIRI

public final org.semanticweb.owlapi.model.IRI getIRI()
Description copied from interface: OWLOntoElement
Returns the IRI of the ontology element. This IRI is a concatenation of the ontology IRI and the IRI suffix of the ontology element.

Specified by:
getIRI in interface OWLOntoElement
Returns:
The IRI.

getIRISuffix

public abstract java.lang.String getIRISuffix()
Returns the suffix of the OWL identifier of this ontology element. Such identifiers are IRIs and the suffix is the part after the hash sign.

Returns:
The IRI suffix.

getOWLDataFactory

public org.semanticweb.owlapi.model.OWLDataFactory getOWLDataFactory()
Returns the OWL data factory object.

Returns:
The OWL data factory.

getOWLDeclaration

public org.semanticweb.owlapi.model.OWLDeclarationAxiom getOWLDeclaration()
Description copied from interface: OWLOntoElement
This method returns an OWL axiom that declares the given ontology element.

Specified by:
getOWLDeclaration in interface OWLOntoElement
Returns:
An OWL declaration axiom.


Copyright 2008-2012, AceWiki developers