|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WsmoFactory
WsmoFactory interface, used to create WSMO entities (goals, ontologies, ...)
Method Summary | |
---|---|
UnnumberedAnonymousID |
createAnonymousID()
Creates an unnumbered ID (i.e. |
Axiom |
createAxiom(Identifier id)
Creates a new Axiom object. |
Capability |
createCapability(IRI id)
Creates a new Capability object. |
Concept |
createConcept(Identifier id)
Creates a new Concept object. |
GGMediator |
createGGMediator(IRI id)
Creates a mediator. |
Goal |
createGoal(IRI id)
Creates a goal. |
Instance |
createInstance(Identifier id)
Creates a new Instance object. |
Instance |
createInstance(Identifier id,
Concept concept)
Creates a new Instance object. |
Interface |
createInterface(IRI id)
Creates a new Interface object. |
IRI |
createIRI(Namespace ns,
String localPart)
Creates a new IRI object (for example 'ns:x'). |
IRI |
createIRI(String fullIRI)
Creates a new IRI object. |
Namespace |
createNamespace(String prefix,
IRI iri)
Creates a new Namespace object. |
Ontology |
createOntology(IRI id)
Creates a new Ontology object. |
OOMediator |
createOOMediator(IRI id)
Creates a mediator. |
Relation |
createRelation(Identifier id)
Creates a new Relation object. |
RelationInstance |
createRelationInstance(Identifier id,
Relation rel)
Creates a new RelationInstance object. |
RelationInstance |
createRelationInstance(Relation rel)
Creates a new RelationInstance object. |
WebService |
createWebService(IRI id)
Creates a new WebService object. |
WGMediator |
createWGMediator(IRI id)
Creates a mediator. |
WWMediator |
createWWMediator(IRI id)
Creates a mediator. |
Axiom |
getAxiom(Identifier id)
Return existing Axiom instance |
Capability |
getCapability(IRI id)
Return existing Capability instance |
Concept |
getConcept(Identifier id)
Return existing Concept insatnce |
GGMediator |
getGGMediator(IRI id)
Return exiasing GGMediator instance |
Goal |
getGoal(IRI id)
Return an existing Goal instance |
Instance |
getInstance(Identifier id)
Return existing Instance object |
Interface |
getInterface(IRI id)
Return an existing Interface instance |
Ontology |
getOntology(IRI id)
Return exisitng Ontology instance |
OOMediator |
getOOMediator(IRI id)
Return an existing OOMediator instance |
Relation |
getRelation(Identifier id)
Return existing Relation object |
RelationInstance |
getRelationInstance(Identifier id)
Return existing RelationInstance object |
Variable |
getVariable(String name)
Return existing Varible instance |
WebService |
getWebService(IRI id)
Return existing WebService instance |
WGMediator |
getWGMediator(IRI id)
Return existing WGMediator instance |
WWMediator |
getWWMediator(IRI id)
Return existing WWMediator instance |
Method Detail |
---|
Goal createGoal(IRI id)
id
- The ID of the new goal object.
WebService createWebService(IRI id)
id
- The ID of the new service.
Capability createCapability(IRI id)
id
- The ID of the new Capapbility.
Interface createInterface(IRI id)
id
- The ID of the new interface object.
Ontology createOntology(IRI id)
id
- The ID of the new ontology.
OOMediator createOOMediator(IRI id)
id
- The ID of the new mediator object.
WWMediator createWWMediator(IRI id)
id
- The ID of the new mediator object.
WGMediator createWGMediator(IRI id)
id
- The ID of the new mediator object.
GGMediator createGGMediator(IRI id)
id
- The ID of the new mediator object.
Axiom createAxiom(Identifier id)
id
- The ID of the new Axiom object.
Concept createConcept(Identifier id)
id
- The ID of the new Concept object.
Relation createRelation(Identifier id)
id
- The ID of the new relation.
Instance createInstance(Identifier id)
id
- The ID of the new instance object.concept
- The Concept this Instance object is an instance of
Instance createInstance(Identifier id, Concept concept) throws SynchronisationException, InvalidModelException
id
- The ID of the new instance object.concept
- The Concept of the this Instance object is an instance of
SynchronisationException
InvalidModelException
RelationInstance createRelationInstance(Relation rel) throws SynchronisationException, InvalidModelException
rel
- The relation this RelationInstance object is an instance of.
SynchronisationException
InvalidModelException
RelationInstance createRelationInstance(Identifier id, Relation rel) throws SynchronisationException, InvalidModelException
id
- The ID of the new RelationInstance object.rel
- The relation this RelationInstance object is an instance of.
SynchronisationException
InvalidModelException
Namespace createNamespace(String prefix, IRI iri)
prefix
- namespace prefix. If null then the namespace should be used only as a default namespaceuri
- the IRI of the namespace
IRI createIRI(String fullIRI)
fullIRI
- the IRI (as String)
createIRI(Namespace ns, String localPart)
IRI createIRI(Namespace ns, String localPart)
ns
- the namespace usedlocalPart
- the local part of the IRI (as String)
createIRI(String fullIRI)
UnnumberedAnonymousID createAnonymousID()
#createAnonymousID(byte number)
Goal getGoal(IRI id)
id
- The ID of the existing Goal objec
WebService getWebService(IRI id)
id
- The identifier of the WebService
Interface getInterface(IRI id)
id
- The identifier of the Interface instance
Capability getCapability(IRI id)
id
- The Capability identifier
Ontology getOntology(IRI id)
id
- The Ontology
OOMediator getOOMediator(IRI id)
id
- The ID of an existing OOMediator
WWMediator getWWMediator(IRI id)
d
- Teh ID of the WWMediator instance
WGMediator getWGMediator(IRI id)
id
- The ID of the WGMediator instance
GGMediator getGGMediator(IRI id)
id
- The ID of the GGMediator instance
Axiom getAxiom(Identifier id)
id
- The ID of the Axiom
Concept getConcept(Identifier id)
id
- The ID of the Concept
Instance getInstance(Identifier id)
id
- The ID of the Instance
Relation getRelation(Identifier id)
id
- The ID of the Relation
RelationInstance getRelationInstance(Identifier id)
id
- The ID of the RelationInstance
Variable getVariable(String name)
name
- The name of the var
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |