|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
public abstract class AbstractCardinalityConstraint
INTERNAL: Common base class for constraints which have cardinality facets.
| Field Summary | |
|---|---|
protected int |
maximum
|
protected int |
minimum
|
| Fields inherited from interface net.ontopia.topicmaps.schema.core.CardinalityConstraintIF |
|---|
INFINITY |
| Constructor Summary | |
|---|---|
AbstractCardinalityConstraint()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.ontopia.topicmaps.schema.core.ConstraintIF |
|---|
matches |
| Field Detail |
|---|
protected int minimum
protected int maximum
| Constructor Detail |
|---|
public AbstractCardinalityConstraint()
| Method Detail |
|---|
public int getMinimum()
CardinalityConstraintIF
getMinimum in interface CardinalityConstraintIFpublic int getMaximum()
CardinalityConstraintIF
getMaximum in interface CardinalityConstraintIFpublic void setMinimum(int minimum)
CardinalityConstraintIF
setMinimum in interface CardinalityConstraintIFpublic void setMaximum(int maximum)
CardinalityConstraintIF
setMaximum in interface CardinalityConstraintIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||