Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » what will be the return type for evaluation of different types of Ocl expression
what will be the return type for evaluation of different types of Ocl expression [message #564254] Fri, 27 January 2006 04:08
Shrawanika is currently offline ShrawanikaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

How can we know that what will be the return type for
evaluation of different types of Ocl expressions like -

evaluate(context,"self.name") : returns String

evaluate(context,"self.attribute->size()") : returns Integer

evaluate(context,"self.attribute.name") : returns Bag

evaluate(context,"self.attribute") : returns EList of Objects

Here the return type String or Integer can be known but what
about the different collection types like when it is going to return a Bag
or when it is going to be a EList return type? Where we can find this?

Thanks and Regards,
Shrawanika
Previous Topic:[Announce] EMFT QUERY 1.0.0 I200601261243 is available
Next Topic:Can Ocl provided by EMFT be used in some stand alone application?
Goto Forum:
  


Current Time: Mon Sep 26 08:37:08 GMT 2022

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

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

Back to the top