net.sf.farrago.cwm.core
Interface CwmMultiplicityRangeClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmMultiplicityRangeClass$Hib
public interface CwmMultiplicityRangeClass
- extends RefClass
MultiplicityRange class proxy interface.
In the metamodel a MultiplicityRange defines a range of integers. The
upper bound of the range cannot be below the lower bound. The lower bound
must be a nonnegative integer. The upper bound must be a nonnegative
integer or the special value unlimited, which indicates there is no upper
bound on the range.
Note: This type should not be subclassed,
implemented or directly instantiated by clients. It is generated from a
MOF metamodel and implemented by Enki or MDR.
createCwmMultiplicityRange
CwmMultiplicityRange createCwmMultiplicityRange()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmMultiplicityRange
CwmMultiplicityRange createCwmMultiplicityRange(int lower,
int upper)
- Creates an instance object having attributes initialized by the passed
values.
- Parameters:
lower
- Specifies the positive integer lower bound of the range.upper
- Specifies the upper bound of the range, which is a
positive integer or the special value ?unlimited? indicating no upper
bound is defined.
- Returns:
- The created instance object.