Skip to main content



      Home
Home » Modeling » OCL » OCL Expression
OCL Expression [message #59841] Tue, 29 July 2008 15:33 Go to next message
Eclipse UserFriend
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 17:14 Go to previous message
Eclipse UserFriend
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: Wed Apr 16 13:25:15 EDT 2025

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

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

Back to the top