Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Customizing ocl environnement
Customizing ocl environnement [message #32332] Sat, 07 July 2007 21:46 Go to next message
Eclipse UserFriend
Originally posted by: asma.charfi.com

Hi,
Can we add more than one operation to ower OCL environnement .
if yes, how can we use Calloperation method twice?
asma
Re: Customizing ocl environnement [message #32505 is a reply to message #32332] Mon, 09 July 2007 15:16 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.ca.ibm.com

Hi, Asma,

You can add as many operations as you need.

I don't understand what you mean by using Calloperation twice. If you are
implementing your additional operations in Java, then you simply have to
make sure that your implementation of
EvaluationEnvironment::callOperation(...) understands all of your
additional operations. How you accomplish that is entirely up to you, but
probably some modular design that does not use a big if...elseif...
structure in the callOperation(...) method would be appropriate.

Cheers,

Christian


charfi asma wrote:

> Hi,
> Can we add more than one operation to ower OCL environnement .
> if yes, how can we use Calloperation method twice?
> asma
Previous Topic:Referring to all attributes of a class/element.
Next Topic:OCL Grammar for Validation
Goto Forum:
  


Current Time: Sat Apr 20 05:12:51 GMT 2024

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

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

Back to the top