com.ontotext.wsmo4j.factory
Class WsmoFactoryImpl
java.lang.Object
com.ontotext.wsmo4j.factory.WsmoFactoryImpl
- All Implemented Interfaces:
- org.wsmo.factory.WsmoFactory
public class WsmoFactoryImpl
- extends Object
- implements org.wsmo.factory.WsmoFactory
|
Method Summary |
org.wsmo.common.UnnumberedAnonymousID |
createAnonymousID()
|
void |
createAttribute(org.omwg.ontology.Attribute attribute)
Method is not part of the interface. |
org.omwg.ontology.Axiom |
createAxiom(org.wsmo.common.Identifier id)
|
org.wsmo.service.Capability |
createCapability(org.wsmo.common.IRI id)
|
org.omwg.ontology.Concept |
createConcept(org.wsmo.common.Identifier id)
|
org.wsmo.mediator.GGMediator |
createGGMediator(org.wsmo.common.IRI id)
|
org.wsmo.service.Goal |
createGoal(org.wsmo.common.IRI id)
|
org.omwg.ontology.Instance |
createInstance(org.wsmo.common.Identifier id)
|
org.omwg.ontology.Instance |
createInstance(org.wsmo.common.Identifier id,
org.omwg.ontology.Concept concept)
|
org.wsmo.service.Interface |
createInterface(org.wsmo.common.IRI id)
|
org.wsmo.common.IRI |
createIRI(org.wsmo.common.Namespace ns,
String localPart)
|
org.wsmo.common.IRI |
createIRI(String fullIRI)
|
org.wsmo.common.Namespace |
createNamespace(String prefix,
org.wsmo.common.IRI iri)
|
org.omwg.ontology.Ontology |
createOntology(org.wsmo.common.IRI id)
|
org.wsmo.mediator.OOMediator |
createOOMediator(org.wsmo.common.IRI id)
|
org.omwg.ontology.Relation |
createRelation(org.wsmo.common.Identifier id)
|
org.omwg.ontology.RelationInstance |
createRelationInstance(org.wsmo.common.Identifier id,
org.omwg.ontology.Relation rel)
|
org.omwg.ontology.RelationInstance |
createRelationInstance(org.omwg.ontology.Relation rel)
|
org.wsmo.service.WebService |
createWebService(org.wsmo.common.IRI id)
|
org.wsmo.mediator.WGMediator |
createWGMediator(org.wsmo.common.IRI id)
|
org.wsmo.mediator.WWMediator |
createWWMediator(org.wsmo.common.IRI id)
|
org.omwg.ontology.Axiom |
getAxiom(org.wsmo.common.Identifier id)
|
org.wsmo.service.Capability |
getCapability(org.wsmo.common.IRI id)
|
org.omwg.ontology.Concept |
getConcept(org.wsmo.common.Identifier id)
|
org.wsmo.mediator.GGMediator |
getGGMediator(org.wsmo.common.IRI id)
|
org.wsmo.service.Goal |
getGoal(org.wsmo.common.IRI id)
|
org.omwg.ontology.Instance |
getInstance(org.wsmo.common.Identifier id)
|
org.wsmo.service.Interface |
getInterface(org.wsmo.common.IRI id)
|
org.omwg.ontology.Ontology |
getOntology(org.wsmo.common.IRI id)
|
org.wsmo.mediator.OOMediator |
getOOMediator(org.wsmo.common.IRI id)
|
org.omwg.ontology.Relation |
getRelation(org.wsmo.common.Identifier id)
|
org.omwg.ontology.RelationInstance |
getRelationInstance(org.wsmo.common.Identifier id)
|
org.omwg.ontology.Variable |
getVariable(String name)
Return existing Varible instance |
org.wsmo.service.WebService |
getWebService(org.wsmo.common.IRI id)
|
org.wsmo.mediator.WGMediator |
getWGMediator(org.wsmo.common.IRI id)
|
org.wsmo.mediator.WWMediator |
getWWMediator(org.wsmo.common.IRI id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsmoFactoryImpl
public WsmoFactoryImpl(Map<String,Object> map)
createGoal
public org.wsmo.service.Goal createGoal(org.wsmo.common.IRI id)
- Specified by:
createGoal in interface org.wsmo.factory.WsmoFactory
createWebService
public org.wsmo.service.WebService createWebService(org.wsmo.common.IRI id)
- Specified by:
createWebService in interface org.wsmo.factory.WsmoFactory
createCapability
public org.wsmo.service.Capability createCapability(org.wsmo.common.IRI id)
- Specified by:
createCapability in interface org.wsmo.factory.WsmoFactory
createInterface
public org.wsmo.service.Interface createInterface(org.wsmo.common.IRI id)
- Specified by:
createInterface in interface org.wsmo.factory.WsmoFactory
createOntology
public org.omwg.ontology.Ontology createOntology(org.wsmo.common.IRI id)
- Specified by:
createOntology in interface org.wsmo.factory.WsmoFactory
createOOMediator
public org.wsmo.mediator.OOMediator createOOMediator(org.wsmo.common.IRI id)
- Specified by:
createOOMediator in interface org.wsmo.factory.WsmoFactory
createWWMediator
public org.wsmo.mediator.WWMediator createWWMediator(org.wsmo.common.IRI id)
- Specified by:
createWWMediator in interface org.wsmo.factory.WsmoFactory
createWGMediator
public org.wsmo.mediator.WGMediator createWGMediator(org.wsmo.common.IRI id)
- Specified by:
createWGMediator in interface org.wsmo.factory.WsmoFactory
createGGMediator
public org.wsmo.mediator.GGMediator createGGMediator(org.wsmo.common.IRI id)
- Specified by:
createGGMediator in interface org.wsmo.factory.WsmoFactory
createAxiom
public org.omwg.ontology.Axiom createAxiom(org.wsmo.common.Identifier id)
- Specified by:
createAxiom in interface org.wsmo.factory.WsmoFactory
createConcept
public org.omwg.ontology.Concept createConcept(org.wsmo.common.Identifier id)
- Specified by:
createConcept in interface org.wsmo.factory.WsmoFactory
createRelation
public org.omwg.ontology.Relation createRelation(org.wsmo.common.Identifier id)
- Specified by:
createRelation in interface org.wsmo.factory.WsmoFactory
createInstance
public org.omwg.ontology.Instance createInstance(org.wsmo.common.Identifier id)
- Specified by:
createInstance in interface org.wsmo.factory.WsmoFactory
createAttribute
public void createAttribute(org.omwg.ontology.Attribute attribute)
- Method is not part of the interface. It's internally used by the ConceptImpl
to register the Attribute to the EntityRegistry
- Parameters:
attribute - to add to the list of the created objects
createInstance
public org.omwg.ontology.Instance createInstance(org.wsmo.common.Identifier id,
org.omwg.ontology.Concept concept)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
createInstance in interface org.wsmo.factory.WsmoFactory
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
createRelationInstance
public org.omwg.ontology.RelationInstance createRelationInstance(org.omwg.ontology.Relation rel)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
createRelationInstance in interface org.wsmo.factory.WsmoFactory
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
createRelationInstance
public org.omwg.ontology.RelationInstance createRelationInstance(org.wsmo.common.Identifier id,
org.omwg.ontology.Relation rel)
throws org.wsmo.common.exception.SynchronisationException,
org.wsmo.common.exception.InvalidModelException
- Specified by:
createRelationInstance in interface org.wsmo.factory.WsmoFactory
- Throws:
org.wsmo.common.exception.SynchronisationException
org.wsmo.common.exception.InvalidModelException
createNamespace
public org.wsmo.common.Namespace createNamespace(String prefix,
org.wsmo.common.IRI iri)
- Specified by:
createNamespace in interface org.wsmo.factory.WsmoFactory
createIRI
public org.wsmo.common.IRI createIRI(String fullIRI)
- Specified by:
createIRI in interface org.wsmo.factory.WsmoFactory
createIRI
public org.wsmo.common.IRI createIRI(org.wsmo.common.Namespace ns,
String localPart)
- Specified by:
createIRI in interface org.wsmo.factory.WsmoFactory
createAnonymousID
public org.wsmo.common.UnnumberedAnonymousID createAnonymousID()
- Specified by:
createAnonymousID in interface org.wsmo.factory.WsmoFactory
getGoal
public org.wsmo.service.Goal getGoal(org.wsmo.common.IRI id)
- Specified by:
getGoal in interface org.wsmo.factory.WsmoFactory
getWebService
public org.wsmo.service.WebService getWebService(org.wsmo.common.IRI id)
- Specified by:
getWebService in interface org.wsmo.factory.WsmoFactory
getInterface
public org.wsmo.service.Interface getInterface(org.wsmo.common.IRI id)
- Specified by:
getInterface in interface org.wsmo.factory.WsmoFactory
getCapability
public org.wsmo.service.Capability getCapability(org.wsmo.common.IRI id)
- Specified by:
getCapability in interface org.wsmo.factory.WsmoFactory
getOntology
public org.omwg.ontology.Ontology getOntology(org.wsmo.common.IRI id)
- Specified by:
getOntology in interface org.wsmo.factory.WsmoFactory
getOOMediator
public org.wsmo.mediator.OOMediator getOOMediator(org.wsmo.common.IRI id)
- Specified by:
getOOMediator in interface org.wsmo.factory.WsmoFactory
getWWMediator
public org.wsmo.mediator.WWMediator getWWMediator(org.wsmo.common.IRI id)
- Specified by:
getWWMediator in interface org.wsmo.factory.WsmoFactory
getWGMediator
public org.wsmo.mediator.WGMediator getWGMediator(org.wsmo.common.IRI id)
- Specified by:
getWGMediator in interface org.wsmo.factory.WsmoFactory
getGGMediator
public org.wsmo.mediator.GGMediator getGGMediator(org.wsmo.common.IRI id)
- Specified by:
getGGMediator in interface org.wsmo.factory.WsmoFactory
getAxiom
public org.omwg.ontology.Axiom getAxiom(org.wsmo.common.Identifier id)
- Specified by:
getAxiom in interface org.wsmo.factory.WsmoFactory
getConcept
public org.omwg.ontology.Concept getConcept(org.wsmo.common.Identifier id)
- Specified by:
getConcept in interface org.wsmo.factory.WsmoFactory
getInstance
public org.omwg.ontology.Instance getInstance(org.wsmo.common.Identifier id)
- Specified by:
getInstance in interface org.wsmo.factory.WsmoFactory
getRelation
public org.omwg.ontology.Relation getRelation(org.wsmo.common.Identifier id)
- Specified by:
getRelation in interface org.wsmo.factory.WsmoFactory
getRelationInstance
public org.omwg.ontology.RelationInstance getRelationInstance(org.wsmo.common.Identifier id)
- Specified by:
getRelationInstance in interface org.wsmo.factory.WsmoFactory
getVariable
public org.omwg.ontology.Variable getVariable(String name)
- Return existing Varible instance
- Specified by:
getVariable in interface org.wsmo.factory.WsmoFactory
- Parameters:
name - The name of the var
- Returns:
- existing var
Copyright © 2004-2008 Ontotext Lab.. All Rights Reserved.