Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Help with this example?
Help with this example? [message #1755520] Sat, 04 March 2017 12:09 Go to next message
Raul Pere is currently offline Raul PereFriend
Messages: 1
Registered: March 2017
Junior Member
Hello guys,

I'm currently learning OCL and for this I'm doing some exercise and I can't figure out to code the syntax for this. The diagram is the attached one, and the exercise is:

Every year, the number of passengers that arrive to a country (paĆ­s), coming from a different and european country, can't be higher than the number of passengers leaving the first country to a non-european one.

How could I code this on OCL, please?

Translation:
billete - ticket
vuelo - flight
aeropuerto - airport
ciudad - city
pais - country
continente - continent

Thanks
Re: Help with this example? [message #1755670 is a reply to message #1755520] Mon, 06 March 2017 17:28 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5521
Registered: July 2009
Senior Member
Hi

I'm sorry. Few Eclipse committers will do your homework for you. Present a specific rather than a total problem and you may get a more useful response.

Regards

Ed Willink
Previous Topic:Validation Problems of OCL Constraints contained in a static UML Profile
Next Topic:Validation problem with Dynamic Instance
Goto Forum:
  


Current Time: Tue Dec 12 12:27:37 GMT 2017

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

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