|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.agical.rmock.core.match.multiplicity.impl.MultiplicityImpl
public class MultiplicityImpl
(c) Agical AB 2005
| Constructor Summary | |
|---|---|
MultiplicityImpl(int min,
int max)
|
|
| Method Summary | |
|---|---|
boolean |
canMatch()
Called to check if this constraint can match given its current state |
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
int |
getMatchCount()
|
int |
getMax()
|
int |
getMin()
|
int |
hashCode()
|
boolean |
isSatisfied()
Indicates if this constraint has been satisfied. |
void |
match()
Called to notify the constraint that it has been matched. |
protected void |
setMax(int max)
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiplicityImpl(int min,
int max)
| Method Detail |
|---|
public int getMatchCount()
getMatchCount in interface Multiplicitypublic int getMin()
getMin in interface MultiplicityMultiplicity.getMin()public int getMax()
getMax in interface MultiplicityMultiplicity.getMax()public boolean canMatch()
Multiplicity
canMatch in interface MultiplicityMultiplicity.canMatch()public boolean isSatisfied()
Multiplicity
isSatisfied in interface MultiplicityMultiplicity.isSatisfied()public void match()
Multiplicity
match in interface MultiplicityMultiplicity.match()public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected void setMax(int max)
public java.lang.Object clone()
clone in interface Multiplicityclone in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||