Alignment API and Server 3.5

fr.inrialpes.exmo.align.onto.jena25
Class JENAOntology

java.lang.Object
  extended by fr.inrialpes.exmo.align.onto.BasicOntology<com.hp.hpl.jena.ontology.OntModel>
      extended by fr.inrialpes.exmo.align.onto.jena25.JENAOntology
All Implemented Interfaces:
LoadedOntology<com.hp.hpl.jena.ontology.OntModel>, Ontology<com.hp.hpl.jena.ontology.OntModel>

public class JENAOntology
extends BasicOntology<com.hp.hpl.jena.ontology.OntModel>
implements LoadedOntology<com.hp.hpl.jena.ontology.OntModel>


Field Summary
 
Fields inherited from class fr.inrialpes.exmo.align.onto.BasicOntology
file, formalism, formalismURI, onto, uri
 
Constructor Summary
JENAOntology()
           
 
Method Summary
 Set<?> getClasses()
           
 Set<?> getDataProperties()
           
 Set<?> getEntities()
           
 Object getEntity(URI u)
           
 Set<String> getEntityAnnotations(Object o)
           
 Set<String> getEntityComments(Object o)
           
 Set<String> getEntityComments(Object o, String lang)
           
 String getEntityName(Object o)
           
 Set<String> getEntityNames(Object o)
           
 Set<String> getEntityNames(Object o, String lang)
           
protected  Set<com.hp.hpl.jena.ontology.OntResource> getEntitySet(Iterator<com.hp.hpl.jena.ontology.OntResource> i)
           
 URI getEntityURI(Object o)
           
 Set<?> getIndividuals()
           
 Set<?> getObjectProperties()
           
 Set<?> getProperties()
           
 boolean isClass(Object o)
           
 boolean isDataProperty(Object o)
           
 boolean isEntity(Object o)
           
 boolean isIndividual(Object o)
           
 boolean isObjectProperty(Object o)
           
 boolean isProperty(Object o)
           
 int nbClasses()
           
 int nbDataProperties()
           
 int nbEntities()
           
 int nbIndividuals()
           
 int nbObjectProperties()
           
 int nbProperties()
           
 void unload()
           
 
Methods inherited from class fr.inrialpes.exmo.align.onto.BasicOntology
getFile, getFormalism, getFormURI, getOntology, getURI, setFile, setFormalism, setFormURI, setOntology, setURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.inrialpes.exmo.align.onto.Ontology
getFile, getFormalism, getFormURI, getOntology, getURI, setFile, setFormalism, setFormURI, setOntology, setURI
 

Constructor Detail

JENAOntology

public JENAOntology()
Method Detail

getEntity

public Object getEntity(URI u)
                 throws AlignmentException
Specified by:
getEntity in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityAnnotations

public Set<String> getEntityAnnotations(Object o)
                                 throws AlignmentException
Specified by:
getEntityAnnotations in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityComments

public Set<String> getEntityComments(Object o,
                                     String lang)
                              throws AlignmentException
Specified by:
getEntityComments in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityComments

public Set<String> getEntityComments(Object o)
                              throws AlignmentException
Specified by:
getEntityComments in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityName

public String getEntityName(Object o)
                     throws AlignmentException
Specified by:
getEntityName in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityNames

public Set<String> getEntityNames(Object o,
                                  String lang)
                           throws AlignmentException
Specified by:
getEntityNames in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityNames

public Set<String> getEntityNames(Object o)
                           throws AlignmentException
Specified by:
getEntityNames in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntityURI

public URI getEntityURI(Object o)
                 throws AlignmentException
Specified by:
getEntityURI in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>
Throws:
AlignmentException

getEntitySet

protected Set<com.hp.hpl.jena.ontology.OntResource> getEntitySet(Iterator<com.hp.hpl.jena.ontology.OntResource> i)

getClasses

public Set<?> getClasses()
Specified by:
getClasses in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

getDataProperties

public Set<?> getDataProperties()
Specified by:
getDataProperties in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

getEntities

public Set<?> getEntities()
Specified by:
getEntities in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

getIndividuals

public Set<?> getIndividuals()
Specified by:
getIndividuals in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

getObjectProperties

public Set<?> getObjectProperties()
Specified by:
getObjectProperties in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

getProperties

public Set<?> getProperties()
Specified by:
getProperties in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

isClass

public boolean isClass(Object o)
Specified by:
isClass in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

isDataProperty

public boolean isDataProperty(Object o)
Specified by:
isDataProperty in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

isEntity

public boolean isEntity(Object o)
Specified by:
isEntity in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

isIndividual

public boolean isIndividual(Object o)
Specified by:
isIndividual in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

isObjectProperty

public boolean isObjectProperty(Object o)
Specified by:
isObjectProperty in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

isProperty

public boolean isProperty(Object o)
Specified by:
isProperty in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

nbEntities

public int nbEntities()
Specified by:
nbEntities in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

nbClasses

public int nbClasses()
Specified by:
nbClasses in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

nbDataProperties

public int nbDataProperties()
Specified by:
nbDataProperties in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

nbIndividuals

public int nbIndividuals()
Specified by:
nbIndividuals in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

nbObjectProperties

public int nbObjectProperties()
Specified by:
nbObjectProperties in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

nbProperties

public int nbProperties()
Specified by:
nbProperties in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

unload

public void unload()
Specified by:
unload in interface LoadedOntology<com.hp.hpl.jena.ontology.OntModel>

Alignment API and Server 3.5

(C) INRIA & friends, 2003-2008