Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL Expression
OCL Expression [message #59841] Tue, 29 July 2008 19:33 Go to next message
Raphael is currently offline RaphaelFriend
Messages: 47
Registered: July 2009
Member
Hi!

When I use just this OCL (self.sourceClass), it works fine! The same
occurs if I just put this OCL (self.targetClass).

But I need to join this two OCL's in one, since my reference that will
hold them has cardinality 0..* .

Any help is appreciated!

Thanks,
Raphael
Re: OCL Expression [message #59867 is a reply to message #59841] Tue, 29 July 2008 21:14 Go to previous message
Raphael is currently offline RaphaelFriend
Messages: 47
Registered: July 2009
Member
I resolved... just put an Collection like:

Bag{sourceClass, targetClass}

in the OCL and it works fine!

Thanks anyway!
Previous Topic:Connecting editor action with OCL Constraint provider
Next Topic:Forward Declaration
Goto Forum:
  


Current Time: Tue Mar 19 07:31:18 GMT 2024

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

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

Back to the top