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, (notes)
SE_MLTPCTY_ZERO_OR_ONE, (notes)
SE_MLTPCTY_ZERO_OR_MORE, (notes)
SE_MLTPCTY_ONE_OR_MORE, (notes)
SE_MLTPCTY_EXACTLY_N, (notes)
SE_MLTPCTY_BOUNDED_ARRAY, (notes)
SE_MLTPCTY_UNBOUNDED_ARRAY (notes)
} SE_Multiplicity;


Enumerant Notes


SE_MLTPCTY_EXACTLY_ONE

 Exactly one instance of the target class shall participate
 in the relationship.

SE_MLTPCTY_ZERO_OR_ONE

 At most one instance of the target class shall participate
 in the relationship; it is possible that none shall be present.

SE_MLTPCTY_ZERO_OR_MORE

 While it is possible that no instances of the target class
 may be present, any number of instances are permitted.

SE_MLTPCTY_ONE_OR_MORE

 At least one instance of the target class shall participate
 in the relationship, but more than one may be present.

SE_MLTPCTY_EXACTLY_N

 Exactly N instances of the target class shall be present,
 where N is a number specified by the given SE_Requirement.

SE_MLTPCTY_BOUNDED_ARRAY

 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.

SE_MLTPCTY_UNBOUNDED_ARRAY

 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.



Prev: SE_Month. Next: SE_Octant.


Return to: Top of this Page, Type Index

Last updated: July 16, 2004 Copyright © 2004 SEDRIS