|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Capability
An interface representing a web service capability.
| Method Summary | |
|---|---|
void |
addAssumption(Axiom axiom)
Adds an assumption to the list of assumptions associated with this capability. |
void |
addEffect(Axiom axiom)
Adds an effect to the list of effects of this capability. |
void |
addPostCondition(Axiom axiom)
Adds a new post-condition to the list of post-conditions associated with this capability. |
void |
addPreCondition(Axiom axiom)
Adds a pre-condition to the list of pre-conditions of this capability. |
void |
addSharedVariable(Variable var)
Adds a new shared variable to the list of variables used by the logical expressions of this capability. |
Set<Axiom> |
listAssumptions()
Lists the assumptions associated with this capability. |
Set<Axiom> |
listEffects()
Lists the effects of this capability. |
Set<Axiom> |
listPostConditions()
Returns the list of post-conditions associated with this capability. |
Set<Axiom> |
listPreConditions()
Lists the pre-conditions of this capability. |
Set<Variable> |
listSharedVariables()
returns the set of shared variables used by the logical expressions of this capability. |
void |
removeAssumption(Axiom axiom)
Removes an assumption from the list of assumptions associated with this capability. |
void |
removeAssumption(Identifier id)
Removes an assumption from the list of assumptions associated with this capability. |
void |
removeEffect(Axiom axiom)
Removes an effect from the list of effects associated with this capability. |
void |
removeEffect(Identifier id)
Removes an effect from the list of effects associated with this capability. |
void |
removePostCondition(Axiom axiom)
Removes a post-condition from the list of post-conditions associated with this capability. |
void |
removePostCondition(Identifier id)
Removes a post-condition from the list of post-conditions associated with this capability. |
void |
removePreCondition(Axiom axiom)
Removes a pre-condition from the list of pre-conditions associated with this capability. |
void |
removePreCondition(Identifier id)
Removes a pre-condition from the list of pre-conditions associated with this capability. |
void |
removeSharedVariable(String name)
Removes a shared variable from the list of variables used by the logical expressions of this capability. |
void |
removeSharedVariable(Variable var)
Removes a shared variable from the list of variables used by the logical expressions of this capability. |
| Methods inherited from interface org.wsmo.common.TopEntity |
|---|
addMediator, addNamespace, addOntology, findNamespace, getDefaultNamespace, getWsmlVariant, listMediators, listNamespaces, listOntologies, removeMediator, removeNamespace, removeNamespace, removeOntology, removeOntology, setDefaultNamespace, setDefaultNamespace, setWsmlVariant |
| Methods inherited from interface org.wsmo.common.Entity |
|---|
addNFPValue, addNFPValue, getIdentifier, listNFPValues, listNFPValues, removeNFP, removeNFPValue, removeNFPValue |
| Method Detail |
|---|
void addSharedVariable(Variable var)
throws SynchronisationException,
InvalidModelException
var - The variable to be added
SynchronisationException
InvalidModelExceptionremoveSharedVariable(Variable var),
removeSharedVariable(String name)
void removeSharedVariable(Variable var)
throws SynchronisationException,
InvalidModelException
var - The variable to be removed.
SynchronisationException
InvalidModelExceptionremoveSharedVariable(String name)
void removeSharedVariable(String name)
throws SynchronisationException,
InvalidModelException
name - The name of the variable to be removed.
SynchronisationException
InvalidModelExceptionremoveSharedVariable(Variable var)
Set<Variable> listSharedVariables()
throws SynchronisationException
SynchronisationExceptionVariable
void addPostCondition(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The new post-condition to be added
to the lsit of post-conditions associated with this
capability.
SynchronisationException
InvalidModelExceptionremovePostCondition(Axiom axiom),
removePostCondition(Identifier id)
void removePostCondition(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The post-condition to be removed.
SynchronisationException
InvalidModelExceptionremovePostCondition(Identifier id)
void removePostCondition(Identifier id)
throws SynchronisationException,
InvalidModelException
id - The ID of post-condition to be removed.
SynchronisationException
InvalidModelExceptionremovePostCondition(Axiom axiom)
Set<Axiom> listPostConditions()
throws SynchronisationException
SynchronisationExceptionAxiom
void addPreCondition(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The pre-condition to be added
to the list of pre-conditions of this capability.
SynchronisationException
InvalidModelExceptionremovePreCondition(Axiom axiom),
removePreCondition(Identifier id)
void removePreCondition(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The pre-condition to be removed
from the list.
SynchronisationException
InvalidModelExceptionremovePreCondition(Identifier id)
void removePreCondition(Identifier id)
throws SynchronisationException,
InvalidModelException
id - The ID of the pre-condition to be removed
from the list.
SynchronisationException
InvalidModelExceptionremovePreCondition(Axiom axiom)
Set<Axiom> listPreConditions()
throws SynchronisationException
SynchronisationExceptionAxiom
void addEffect(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The effect to be added to the list
of effects of this capability.
SynchronisationException
InvalidModelExceptionremoveEffect(Axiom axiom),
removeEffect(Identifier id)
void removeEffect(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The effect to be removed from
the list.
SynchronisationException
InvalidModelExceptionremoveEffect(Identifier id)
void removeEffect(Identifier id)
throws SynchronisationException,
InvalidModelException
id - The ID of the effect to be removed from
the list.
SynchronisationException
InvalidModelExceptionremoveEffect(Axiom axiom)
Set<Axiom> listEffects()
throws SynchronisationException
SynchronisationExceptionAxiom
void addAssumption(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The new assumption to be added
to the list.
SynchronisationException
InvalidModelExceptionremoveAssumption(Axiom axiom),
removeAssumption(Identifier id)
void removeAssumption(Axiom axiom)
throws SynchronisationException,
InvalidModelException
axiom - The assumption to be removed from the list of assumtions.
SynchronisationException
InvalidModelExceptionremoveAssumption(Identifier id)
void removeAssumption(Identifier id)
throws SynchronisationException,
InvalidModelException
id - The ID of the assumption to be removed
from the list of assumtions.
SynchronisationException
InvalidModelExceptionremoveAssumption(Axiom axiom)
Set<Axiom> listAssumptions()
throws SynchronisationException
SynchronisationExceptionAxiom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||