company logo

Collection size

Collection size is an ODABA specific extension, which allows limiting the number of instances in a collection to a maximum number. Typical cases are singular collections, where the dimension is set to one. Dimension 0 defines a collection with unlimited number of instances.

When no size is defined, the default is 1 , when referring to a single object and undefined ( 0 ), when referring to a collection ( set<...> ).

Definition: 

collection_size := '[' [ number ] ']'