edu.unika.aifb.kaon
Class EntityFactoryImpl

edu.unika.aifb.kaon.EntityFactory
  |
  +--edu.unika.aifb.kaon.EntityFactoryImpl

public class EntityFactoryImpl
extends EntityFactory


Constructor Summary
EntityFactoryImpl(Ontology onto)
          EntityFactory constructor comment.

Method Summary
 ConceptcreateConcept()
           
 ConceptcreateConcept(String uri)
          Creates a new concept with the given uri
 ConceptcreateConcept(String lang, String label)
           
 ConceptcreateConcept(String lang, String s_identifier, String label)
           
 InstancecreateInstance(Concept c, String uri)
           
 InstancecreateInstance(Concept c)
           
 static OntologycreateOntology(VocabularyAdaptor vocabulary, org.w3c.rdf.model.Model model)
           
 RelationcreateRelation()
           
 RelationcreateRelation(String lang, String label)
           
 OntologygetOntology()
           
 static OntologyloadOntology(org.w3c.rdf.model.Model model)
           
 voidsetOntology(Ontology o)
           

Constructor Detail

EntityFactoryImpl

public EntityFactoryImpl(Ontology onto)
EntityFactory constructor comment.
Method Detail

createConcept

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

createConcept

public Concept createConcept(String uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException
Creates a new concept with the given uri
Returns: edu.unika.aifb.kaon.Concept
Throws:
edu.unika.aifb.sitris.exception.NotSupportedException - The exception description.

createConcept

public Concept createConcept(String lang, String label)
throws edu.unika.aifb.sitris.exception.NotSupportedException

createConcept

public Concept createConcept(String lang, String s_identifier, String label)
throws edu.unika.aifb.sitris.exception.NotSupportedException

createInstance

public Instance createInstance(Concept c, String uri)
throws edu.unika.aifb.sitris.exception.NotSupportedException

createInstance

public Instance createInstance(Concept c)
throws edu.unika.aifb.sitris.exception.NotSupportedException

createOntology

public static Ontology createOntology(VocabularyAdaptor vocabulary, org.w3c.rdf.model.Model model)
See Also:
EntityFactory

createRelation

public Relation createRelation()
throws edu.unika.aifb.sitris.exception.NotSupportedException
See Also:
EntityFactory

createRelation

public Relation createRelation(String lang, String label)
throws edu.unika.aifb.sitris.exception.NotSupportedException

getOntology

public Ontology getOntology()
See Also:
EntityFactory

loadOntology

public static Ontology loadOntology(org.w3c.rdf.model.Model model)
See Also:
EntityFactory

setOntology

public void setOntology(Ontology o)
See Also:
EntityFactory