public class MultiplicityImpl extends Object implements Multiplicity
| Constructor and Description |
|---|
MultiplicityImpl(int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMatch()
Called to check if this constraint can match given its current state
|
Object |
clone() |
boolean |
equals(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) |
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()
MultiplicitycanMatch in interface MultiplicityMultiplicity.canMatch()public boolean isSatisfied()
MultiplicityisSatisfied in interface MultiplicityMultiplicity.isSatisfied()public void match()
Multiplicitymatch in interface MultiplicityMultiplicity.match()protected void setMax(int max)
public Object clone()
clone in interface Multiplicityclone in class ObjectCopyright © 2005-2013 Agical AB. All Rights Reserved.