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, waitmatchespublic int getMinimum()
CardinalityConstraintIFgetMinimum in interface CardinalityConstraintIFpublic int getMaximum()
CardinalityConstraintIFgetMaximum in interface CardinalityConstraintIFpublic void setMinimum(int minimum)
CardinalityConstraintIFsetMinimum in interface CardinalityConstraintIFpublic void setMaximum(int maximum)
CardinalityConstraintIFsetMaximum in interface CardinalityConstraintIF