public class ExpectationImpl extends Object implements ModifiableExpectation
| Constructor and Description |
|---|
ExpectationImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ExpectationVisitor expectationVisitor,
boolean available)
accepts a visitor
|
boolean |
canMatch() |
Action |
getAction() |
Expression[] |
getArguments() |
String |
getId() |
String |
getMethod() |
Multiplicity |
getMultiplicity() |
boolean |
isSatisfied() |
void |
setAction(Action action) |
void |
setArguments(Expression[] argumentConstrants) |
void |
setId(String id) |
void |
setMethod(String method) |
void |
setMultiplicity(Multiplicity multiplicity) |
public void setId(String id)
setId in interface ModifiableExpectationconstraint - public String getId()
getId in interface Expectationpublic void setMethod(String method)
setMethod in interface ModifiableExpectationconstraint - public String getMethod()
getMethod in interface Expectationpublic void setMultiplicity(Multiplicity multiplicity)
setMultiplicity in interface ModifiableExpectationmultiplicity - public Multiplicity getMultiplicity()
getMultiplicity in interface Expectationpublic void setArguments(Expression[] argumentConstrants)
setArguments in interface ModifiableExpectationargumentConstrants - public Expression[] getArguments()
getArguments in interface Expectationpublic void setAction(Action action)
setAction in interface ModifiableExpectationaction - The action to set.public Action getAction()
getAction in interface Expectationpublic boolean accept(ExpectationVisitor expectationVisitor, boolean available)
Visitablepublic boolean canMatch()
public boolean isSatisfied()
isSatisfied in interface VisitableCopyright © 2005-2013 Agical AB. All Rights Reserved.