Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » AQL and oclIsUndefined()
AQL and oclIsUndefined() [message #1719483] Fri, 08 January 2016 10:15 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 195
Registered: June 2010
Senior Member
Hi,

It seems that oclIsUndefined() is not present in AQL anymore.

Can I simply subtitute x.oclIsUndefined() by x != null in general?

(I am aware of the fact that guarding against oclIsUndefined() is not necessary in a lot of places in aql anymore.)

Greetings,
Wilbert.
Re: AQL and oclIsUndefined() [message #1719534 is a reply to message #1719483] Fri, 08 January 2016 17:13 Go to previous message
Cedric Brun is currently offline Cedric BrunFriend
Messages: 431
Registered: July 2009
Senior Member
Almost except the syntax which is the same as OCL, meaning you can substitute with x <> null



http://cedric.brun.io news and articles on eclipse and eclipse modeling.
Previous Topic:Is it possible to use Sirius without generated java code?
Next Topic:how to test an enumerated value with AQL
Goto Forum:
  


Current Time: Wed Jan 20 04:31:42 GMT 2021

Powered by FUDForum. Page generated in 0.01283 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top