|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--UML.Semantic.Foundation.DataTypes.MultiplicityRange
In the metamodel a MultiplicityRange defines a range of integers. The upper bound of the range cannot be below the lower bound.
| Field Summary | |
static int |
UNLIMITED
Used to express an unlimited bound. |
static int |
UNSPECIFIED
Used to express an unspecified bound. |
| Constructor Summary | |
MultiplicityRange(java.lang.String lower)
|
|
MultiplicityRange(java.lang.String lower,
java.lang.String upper)
|
|
| Method Summary | |
java.lang.String |
getElementType()
|
int |
getLower()
Gets the lower bound value. |
int |
getUpper()
Gets the upper bound value. |
void |
setElementType(java.lang.String type)
|
void |
setLower(java.lang.String value)
Sets the lower bound to the given value. |
void |
setUpper(java.lang.String value)
Sets the upper bound to the given value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int UNSPECIFIED
public static final int UNLIMITED
| Constructor Detail |
public MultiplicityRange(java.lang.String lower)
public MultiplicityRange(java.lang.String lower,
java.lang.String upper)
| Method Detail |
public void setLower(java.lang.String value)
public void setUpper(java.lang.String value)
public int getLower()
public int getUpper()
public void setElementType(java.lang.String type)
public java.lang.String getElementType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||