fr.inrialpes.exmo.align.onto.jena25
Class JENAOntology
java.lang.Object
fr.inrialpes.exmo.align.onto.BasicOntology<com.hp.hpl.jena.ontology.OntModel>
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JENAOntology
public JENAOntology()
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>
(C) INRIA & friends, 2003-2008