public abstract class AbstractCardinalityConstraint extends Object implements CardinalityConstraintIF
Modifier and Type | Field and Description |
---|---|
protected int |
maximum |
protected int |
minimum |
INFINITY
Constructor and Description |
---|
AbstractCardinalityConstraint() |
Modifier and Type | Method and Description |
---|---|
int |
getMaximum()
INTERNAL: Returns the maximum number of objects that the constraint
may match.
|
int |
getMinimum()
INTERNAL: Returns the minimum number of objects that the constraint
must match.
|
void |
setMaximum(int maximum)
INTERNAL: Sets the maximum number of objects that the constraint
may match.
|
void |
setMinimum(int minimum)
INTERNAL: Sets the minimum number of objects that the constraint
must match.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
matches
public int getMinimum()
CardinalityConstraintIF
getMinimum
in interface CardinalityConstraintIF
public int getMaximum()
CardinalityConstraintIF
getMaximum
in interface CardinalityConstraintIF
public void setMinimum(int minimum)
CardinalityConstraintIF
setMinimum
in interface CardinalityConstraintIF
public void setMaximum(int maximum)
CardinalityConstraintIF
setMaximum
in interface CardinalityConstraintIF