Calculating value of derived property

Discussions about Domain Specific Language customizations

Moderator: Moderators

Re: Calculating value of derived property

Postby rimvydas.vaidelis » Fri Aug 23, 2019 4:40 am

You need to cast to stereotype Risk before accessing the property value:

self.oclAsType(MyProfile::Risk).likelihood
rimvydas.vaidelis
Customer Support
Customer Support
 
Posts: 263
Posts Rating:14
Joined: Fri May 28, 2010 4:45 am

Previous

Return to DSL

Who is online

Users browsing this forum: No registered users and 1 guest

cron