|Re: Custom primitive types in OCL [message #1207261 is a reply to message #1206816]
||Sun, 24 November 2013 13:31
| Damjan Temelkovski
Registered: November 2013
Thank you Ed,|
You are incredibly helpful. I am only starting to learn OCL, so perhaps I don't know the right way to access the needed property. But, so far I couldn't find some information about using custom types in OCL.
This is what I am trying to achieve:
I am sure I saw a constraint for the Nfp somewhere that was in the form "self.Nfp1 < (5, CustomUnit)". I have tried this as well, and maybe it is not possible in OCL. I thought if I can overload the operator in OCL to work for CustomTypes, or if I can access the 'value' of the custom type, that it would work.
(Size: 83.68KB, Downloaded 165 times)
Powered by FUDForum
. Page generated in 0.01875 seconds