-
Key: OCL2_-2
-
Legacy Issue Number: 6529
-
Status: closed
-
Source: Ecole Polytechnique Federale de Lausanne ( Alfred Strohmeier)
-
Summary:
Description: Provide an operation for creating a collection of new objects
Rationale:
Consider the case where you want to create a new smartcard for a set of persons. Any solution is currently longwinded. It would be nice to be able to have an operation oclIsNew that applies to a collection (or perhaps only to a Set), and states the number of objects to be created, e.g.:
let: s: Set(SmartCards) in s.oclIsNew(self.person->size())... -
Reported: OCL 2.0b2 — Mon, 10 Nov 2003 05:00 GMT
-
Disposition: Resolved — OCL 2.0
-
Disposition Summary:
closed no change
-
Updated: Sun, 8 Mar 2015 13:35 GMT