• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • MCore: Business Modelling & Operations
  • Bugs
MCore: Business Modelling & Operations

OVERRIDE_OCL does not work for operations with same name but

ECore + OCL to add static and dynamic semantics to models

Brought to you by: aigdalov, gavmkutter, ghillairet, max_stepanov, and 3 others
  • Summary
  • Files
  • Reviews
  • Support
  • Wiki
  • Tickets ▾
    • Bugs
    • Feature Requests
  • News
  • Code
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • v1.0_(example)

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#21 OVERRIDE_OCL does not work for operations with same name but

open
nobody
None
5
2010-07-07
2010-07-07
Massimiliano Zattera
No

If you have a base class with two operations op(string) and op(int) for
example, and you try to override op() in a subclass, OVERRIDE_OCL annotation
can't tell which one of the two operations you want to override.

Moreover, if you just go on and implement the model, the generated Java code
will contain compilation errors.

See attached project as an example.

Discussion

  • Massimiliano Zattera

    Massimiliano Zattera - 2010-07-07
     
    DoubleOverrideTest.zip
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
MongoDB Logo MongoDB