Skip to main content



      Home
Home » Modeling » OCL » Help with this example?
Help with this example? [message #1755520] Sat, 04 March 2017 07:09 Go to next message
Eclipse UserFriend
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 12:28 Go to previous message
Eclipse UserFriend
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: Thu May 22 07:20:33 EDT 2025

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

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

Back to the top