edu.unika.aifb.kaon.daml
Class OntologyImpl

edu.unika.aifb.kaon.Ontology
  |
  +--edu.unika.aifb.kaon.daml.OntologyImpl

public class OntologyImpl
extends Ontology


Field Summary
 (package private) DAMLOntology_damlOntology
           
 (package private) EntityFactory_entityFactory
           

Constructor Summary
OntologyImpl(DAMLOntology damlO)
           

Method Summary
 voidaddIsa(Concept subc, Concept superc)
           
 voidaddIsa(Relation superr, Relation subr)
           
 ConceptgetConcept(Resource uri)
           
 ConceptgetConcept(Object id)
           
 ConceptgetConcept(Instance i)
           
 Concept[]getConcepts(LexicalEntry le)
           
 Concept[]getConcepts()
           
 EntityFactorygetEntityFactory()
           
 InstancegetInstance(Resource uri)
           
 InstancegetInstance(Object id)
           
 Instance[]getInstances(Concept c)
           
 Instance[]getInstances()
           
 LexicalEntry[]getLexicalEntries()
           
 org.w3c.rdf.model.ModelgetModel()
           
 RelationgetRelation(Resource uri)
           
 RelationgetRelation(Object id)
           
 Relation[]getRelations()
           
 Relation[]getRelations(LexicalEntry le)
           
 ConceptgetRootConcept()
           
 VocabularyAdaptorgetVocabularyAdaptor()
          Returns the VocabularyAdaptor of this ontology
 booleanisSubConcept(Concept subc, Concept superc)
           
 booleanisSubRelation(Relation superr, Relation subr)
           
 voidremove(Entity e)
           
 voidsetModel(org.w3c.rdf.model.Model new_Model)
           

Methods inherited from class edu.unika.aifb.kaon.Ontology
getMetaData, setEntityFactory, setVocabularyAdaptor

Field Detail

_damlOntology

DAMLOntology _damlOntology

_entityFactory

EntityFactory _entityFactory
Constructor Detail

OntologyImpl

public OntologyImpl(DAMLOntology damlO)
Method Detail

addIsa

public void addIsa(Concept subc, Concept superc)
throws edu.unika.aifb.sitris.exception.NotSupportedException

addIsa

public void addIsa(Relation superr, Relation subr)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getConcept

public Concept getConcept(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getConcept

public Concept getConcept(Object id)

getConcept

public Concept getConcept(Instance i)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getConcepts

public Concept[] getConcepts(LexicalEntry le)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getConcepts

public Concept[] getConcepts()
throws edu.unika.aifb.sitris.exception.NotSupportedException

getEntityFactory

public EntityFactory getEntityFactory()
See Also:
Ontology

getInstance

public Instance getInstance(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getInstance

public Instance getInstance(Object id)

getInstances

public Instance[] getInstances(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getInstances

public Instance[] getInstances()
throws edu.unika.aifb.sitris.exception.NotSupportedException

getLexicalEntries

public LexicalEntry[] getLexicalEntries()
throws edu.unika.aifb.sitris.exception.NotSupportedException

getModel

public org.w3c.rdf.model.Model getModel()

getRelation

public Relation getRelation(Resource uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getRelation

public Relation getRelation(Object id)

getRelations

public Relation[] getRelations()
throws edu.unika.aifb.sitris.exception.NotSupportedException

getRelations

public Relation[] getRelations(LexicalEntry le)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getRootConcept

public Concept getRootConcept()
throws edu.unika.aifb.sitris.exception.NotSupportedException

getVocabularyAdaptor

public VocabularyAdaptor getVocabularyAdaptor()
Returns the VocabularyAdaptor of this ontology
Returns: edu.unika.aifb.sitris.ontology.VocabularyAdaptor

isSubConcept

public boolean isSubConcept(Concept subc, Concept superc)
throws edu.unika.aifb.sitris.exception.NotSupportedException

isSubRelation

public boolean isSubRelation(Relation superr, Relation subr)
throws edu.unika.aifb.sitris.exception.NotSupportedException

remove

public void remove(Entity e)

setModel

public void setModel(org.w3c.rdf.model.Model new_Model)