Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » operation return type as Tuple
operation return type as Tuple [message #754848] Fri, 04 November 2011 11:40 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 351
Registered: June 2011
Senior Member
Hi,

I want to create an ocl operation with return type as Tuple.
For example if we want Integer to be return type of operation then we do like

eOperation.setEType(EcorePackage.eINSTANCE.getEInt())

and when we want to have a class as return type then

eOperation.setEType(etypeClass);

i want to have operation's return type as tuple holding class object and integer togather.

Any idea?

Thanks!

Warmest Regards

[Updated on: Fri, 04 November 2011 11:41]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[Announce] Eclipse OCL 4.0.0 (Juno) M3 is now available
Next Topic:How to initialize the attributes of variables in an OCL query
Goto Forum:
  


Current Time: Thu May 23 12:55:43 EDT 2013

Powered by FUDForum. Page generated in 0.07292 seconds