|
||||||||||
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
InvalidModelException
removeSharedVariable(Variable var)
,
removeSharedVariable(String name)
void removeSharedVariable(Variable var) throws SynchronisationException, InvalidModelException
var
- The variable to be removed.
SynchronisationException
InvalidModelException
removeSharedVariable(String name)
void removeSharedVariable(String name) throws SynchronisationException, InvalidModelException
name
- The name of the variable to be removed.
SynchronisationException
InvalidModelException
removeSharedVariable(Variable var)
Set<Variable> listSharedVariables() throws SynchronisationException
SynchronisationException
Variable
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
InvalidModelException
removePostCondition(Axiom axiom)
,
removePostCondition(Identifier id)
void removePostCondition(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The post-condition to be removed.
SynchronisationException
InvalidModelException
removePostCondition(Identifier id)
void removePostCondition(Identifier id) throws SynchronisationException, InvalidModelException
id
- The ID of post-condition to be removed.
SynchronisationException
InvalidModelException
removePostCondition(Axiom axiom)
Set<Axiom> listPostConditions() throws SynchronisationException
SynchronisationException
Axiom
void addPreCondition(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The pre-condition to be added
to the list of pre-conditions of this capability.
SynchronisationException
InvalidModelException
removePreCondition(Axiom axiom)
,
removePreCondition(Identifier id)
void removePreCondition(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The pre-condition to be removed
from the list.
SynchronisationException
InvalidModelException
removePreCondition(Identifier id)
void removePreCondition(Identifier id) throws SynchronisationException, InvalidModelException
id
- The ID of the pre-condition to be removed
from the list.
SynchronisationException
InvalidModelException
removePreCondition(Axiom axiom)
Set<Axiom> listPreConditions() throws SynchronisationException
SynchronisationException
Axiom
void addEffect(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The effect to be added to the list
of effects of this capability.
SynchronisationException
InvalidModelException
removeEffect(Axiom axiom)
,
removeEffect(Identifier id)
void removeEffect(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The effect to be removed from
the list.
SynchronisationException
InvalidModelException
removeEffect(Identifier id)
void removeEffect(Identifier id) throws SynchronisationException, InvalidModelException
id
- The ID of the effect to be removed from
the list.
SynchronisationException
InvalidModelException
removeEffect(Axiom axiom)
Set<Axiom> listEffects() throws SynchronisationException
SynchronisationException
Axiom
void addAssumption(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The new assumption to be added
to the list.
SynchronisationException
InvalidModelException
removeAssumption(Axiom axiom)
,
removeAssumption(Identifier id)
void removeAssumption(Axiom axiom) throws SynchronisationException, InvalidModelException
axiom
- The assumption to be removed from the list of assumtions.
SynchronisationException
InvalidModelException
removeAssumption(Identifier id)
void removeAssumption(Identifier id) throws SynchronisationException, InvalidModelException
id
- The ID of the assumption to be removed
from the list of assumtions.
SynchronisationException
InvalidModelException
removeAssumption(Axiom axiom)
Set<Axiom> listAssumptions() throws SynchronisationException
SynchronisationException
Axiom
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |