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 Multiplicity
public int getMin()
getMin
in interface Multiplicity
Multiplicity.getMin()
public int getMax()
getMax
in interface Multiplicity
Multiplicity.getMax()
public boolean canMatch()
Multiplicity
canMatch
in interface Multiplicity
Multiplicity.canMatch()
public boolean isSatisfied()
Multiplicity
isSatisfied
in interface Multiplicity
Multiplicity.isSatisfied()
public void match()
Multiplicity
match
in interface Multiplicity
Multiplicity.match()
protected void setMax(int max)
public Object clone()
clone
in interface Multiplicity
clone
in class Object
Copyright © 2005-2013 Agical AB. All Rights Reserved.