Data type: COLL : Collection

Description of: COLL : Collection

A collection data type is a collection of one or many instances of a particular element type. One particular semantic variation of the collection data type is specified in the S parameter of the collection.

The notion of a collection data type should once and forever supersede the traditional notion of "repeatability." [This means, the MDF meta model needs to be modified where it mentions "repeated" etc.]

The T parameter defines the type being collected.

The S parameter is the kind of collection. Collections are of one of the following kinds:

SET an unordered collection of unique element type instances.

BAG an unordered collection of element type instances. Instances may occur more than once in the bag.

LIST an ordered collection of element type instances.

The R parameter defines the multiplicity (min,,max) for the collection.