Skip to main content

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?

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

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: 7665
Registered: July 2009
Senior Member

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.


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: Thu Jul 18 03:22:55 GMT 2024

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

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

Back to the top