EVL: How to define a Generic Constraint [message #1726179] |
Thu, 10 March 2016 06:10  |
Eclipse User |
|
|
|
Hi,
I want to enforce some first-order predicates on a UML model. To define the quantifier formulas like FORALL and THERE EXISTS on the model elements like stereotypes, classifiers and etc, I need to define constraints which are required to have generic types. These constraints' generic types must be bound to the real model elements to satisfy the defined quantifier formulas.
Is there a mechanism like the generic type definition on the generic functions of the programming languages like C++ and Java to define such generic constraints?
If the answer to the above question is negative, would you recommend any similar method or trick to define the mentioned quantifier formulas in the EVL language?
Best regards,
Alireza
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.53135 seconds