The SEDRIS Data Representation Model
APPENDIX C - Types SE_Multiplicity |
---|
/* * ENUM: SE_Multiplicity * * This data type specifies the multiplicities allowed for * defined between classes, and is used by SE_Requirement. These * multiplicities relate directly to the multiplicity symbols * shown on the diagrams of the DRM. * * See the examples for SE_Requirement for more details. */typedef enum
SE_MLTPCTY_EXACTLY_ONE, | 1 | |
SE_MLTPCTY_ZERO_OR_ONE, | 2 | |
SE_MLTPCTY_ZERO_OR_MORE, | 3 | |
SE_MLTPCTY_ONE_OR_MORE, | 4 | |
SE_MLTPCTY_EXACTLY_N, | 5 | |
SE_MLTPCTY_BOUNDED_ARRAY, | 6 | |
SE_MLTPCTY_UNBOUNDED_ARRAY | 7 |
1 Exactly one instance of the target class shall participate in the relationship.
2 At most one instance of the target class shall participate in the relationship; it is possible that none shall be present.
3 While it is possible that no instances of the target class may be present, any number of instances are permitted.
4 At least one instance of the target class shall participate in the relationship, but more than one may be present.
5 Exactly N instances of the target class shall be present, where N is a number specified by the given SE_Requirement.
6 At least N instances of the target class shall be present, and no more than M instances, where N and M are numbers specified by the given SE_Requirement.
7 At least N instances of the target class shall be present, where N is a number specified by the given SE_Requirement. However, there is no upper bound on the number of instances of the target class that may be present.
|