|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontotext.ordi.repository.TripleRepository
public class TripleRepository
Title:
Description:
Copyright: Copyright (c) 2004-2005
Company: Ontotext Lab., Sirma AI
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_TRIPLESTORE_PROVIDER_CLASS
|
static java.lang.String |
TRIPLESTORE_PROVIDER_CLASS
|
static java.lang.String |
WSMO_DATAFACTORY_INSTANCE
|
static java.lang.String |
WSMO_FACTORY_INSTANCE
|
static java.lang.String |
WSMO_LEFACTORY_INSTANCE
|
| Constructor Summary | |
|---|---|
TripleRepository()
|
|
TripleRepository(java.util.Map params)
|
|
| Method Summary | |
|---|---|
void |
addGoal(org.wsmo.service.Goal goal)
|
void |
addMediator(org.wsmo.mediator.Mediator mediator)
|
void |
addOntology(org.omwg.ontology.Ontology ontology)
|
void |
addWebService(org.wsmo.service.WebService service)
|
void |
deleteGoal(org.wsmo.common.IRI id)
|
void |
deleteMediator(org.wsmo.common.IRI id)
|
void |
deleteOntology(org.wsmo.common.IRI id)
|
void |
deleteWebService(org.wsmo.common.IRI id)
|
QueryResult |
evaluate(Query query)
invoke a query against this repository |
java.lang.String |
getDescription()
|
org.wsmo.service.Goal |
getGoal(org.wsmo.common.IRI id)
|
org.wsmo.mediator.Mediator |
getMediator(org.wsmo.common.IRI id)
|
org.omwg.ontology.Ontology |
getOntology(org.wsmo.common.IRI id)
|
java.lang.String |
getVersion()
|
org.wsmo.service.WebService |
getWebService(org.wsmo.common.IRI id)
|
void |
init(java.util.Map params)
invoked to initialize the repository |
java.util.List |
listGoals()
|
java.util.List |
listMediators()
|
java.util.List |
listOntologies()
|
java.util.List |
listWebServices()
|
java.util.Set |
load(org.wsmo.common.Identifier id)
|
org.wsmo.common.Entity |
load(org.wsmo.common.Identifier id,
java.lang.Class cls)
|
void |
remove(org.wsmo.common.Identifier id)
|
void |
remove(org.wsmo.common.Identifier id,
java.lang.Class cls)
|
void |
save(org.wsmo.common.Entity item)
|
void |
saveGoal(org.wsmo.service.Goal arg0)
|
void |
saveMediator(org.wsmo.mediator.Mediator arg0)
|
void |
saveOntology(org.omwg.ontology.Ontology arg0)
|
void |
saveWebService(org.wsmo.service.WebService arg0)
|
void |
setDescription(java.lang.String arg0)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String TRIPLESTORE_PROVIDER_CLASS
public static java.lang.String DEFAULT_TRIPLESTORE_PROVIDER_CLASS
public static java.lang.String WSMO_FACTORY_INSTANCE
public static java.lang.String WSMO_LEFACTORY_INSTANCE
public static java.lang.String WSMO_DATAFACTORY_INSTANCE
| Constructor Detail |
|---|
public TripleRepository()
public TripleRepository(java.util.Map params)
| Method Detail |
|---|
public void init(java.util.Map params)
Repository
init in interface Repositoryparams - a Map contaion initialization parameters for the repository
usualy Strings are used as keys and the types of the values are key dependadndpublic QueryResult evaluate(Query query)
Repository
evaluate in interface Repository
public org.wsmo.common.Entity load(org.wsmo.common.Identifier id,
java.lang.Class cls)
load in interface org.wsmo.datastore.DataStorepublic java.util.Set load(org.wsmo.common.Identifier id)
load in interface org.wsmo.datastore.DataStorepublic void save(org.wsmo.common.Entity item)
save in interface org.wsmo.datastore.DataStorepublic void remove(org.wsmo.common.Identifier id)
remove in interface org.wsmo.datastore.DataStore
public void remove(org.wsmo.common.Identifier id,
java.lang.Class cls)
remove in interface org.wsmo.datastore.DataStore
public void addGoal(org.wsmo.service.Goal goal)
throws org.wsmo.common.exception.SynchronisationException
addGoal in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void addMediator(org.wsmo.mediator.Mediator mediator)
throws org.wsmo.common.exception.SynchronisationException
addMediator in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void addOntology(org.omwg.ontology.Ontology ontology)
throws org.wsmo.common.exception.SynchronisationException
addOntology in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void addWebService(org.wsmo.service.WebService service)
throws org.wsmo.common.exception.SynchronisationException
addWebService in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void deleteGoal(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
deleteGoal in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void deleteMediator(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
deleteMediator in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void deleteOntology(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
deleteOntology in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void deleteWebService(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
deleteWebService in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public org.wsmo.service.Goal getGoal(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
getGoal in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public org.wsmo.mediator.Mediator getMediator(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
getMediator in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public org.omwg.ontology.Ontology getOntology(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
getOntology in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public org.wsmo.service.WebService getWebService(org.wsmo.common.IRI id)
throws org.wsmo.common.exception.SynchronisationException
getWebService in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public java.util.List listGoals()
throws org.wsmo.common.exception.SynchronisationException
listGoals in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public java.util.List listMediators()
throws org.wsmo.common.exception.SynchronisationException
listMediators in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public java.util.List listOntologies()
throws org.wsmo.common.exception.SynchronisationException
listOntologies in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public java.util.List listWebServices()
throws org.wsmo.common.exception.SynchronisationException
listWebServices in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void saveGoal(org.wsmo.service.Goal arg0)
throws org.wsmo.common.exception.SynchronisationException
saveGoal in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void saveMediator(org.wsmo.mediator.Mediator arg0)
throws org.wsmo.common.exception.SynchronisationException
saveMediator in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void saveOntology(org.omwg.ontology.Ontology arg0)
throws org.wsmo.common.exception.SynchronisationException
saveOntology in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationException
public void saveWebService(org.wsmo.service.WebService arg0)
throws org.wsmo.common.exception.SynchronisationException
saveWebService in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationExceptionpublic void setDescription(java.lang.String arg0)
setDescription in interface org.wsmo.datastore.WsmoRepository
public java.lang.String getVersion()
throws org.wsmo.common.exception.SynchronisationException
getVersion in interface org.wsmo.datastore.WsmoRepositoryorg.wsmo.common.exception.SynchronisationExceptionpublic java.lang.String getDescription()
getDescription in interface org.wsmo.datastore.WsmoRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||