Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [Epsilon] ! Operator
[Epsilon] ! Operator [message #617736] Tue, 10 June 2008 16:02
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009
Member
Hello,

In EOL I am trying to invoke an operation performing checks on the same
model element type for several models. The following code returns an error
when using the ! operator :

var tmp_model := ATMModel;

tmp_model.checkOp();

operation Any checkOp() {
self!Property.println();
-- returns: ' Undefined variable, type or model: 'self!Property' '

self.hasType('Property');
-- ok, has expected result

ATMModel!Property.println();
-- ok as well, but I don't want to hardcode ATMModel here
}

Is there a workaround for this?

Thank you in advance,
Anne
Previous Topic:[Epsilon] Problems with HUTN
Next Topic:[Epsilon] ! Operator
Goto Forum:
  


Current Time: Wed Sep 25 22:53:26 GMT 2024

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

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

Back to the top