Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Feature Value Spec (OCL Expression)
Feature Value Spec (OCL Expression) [message #199432] Tue, 29 July 2008 19:28 Go to next message
Raphael is currently offline RaphaelFriend
Messages: 47
Registered: July 2009
Member
Hi!

In my gmfmap, I have one "Link Mapping" with a "Feature Seq Initializer"
and a "Value Expression" for the "Feature Seq Initializer".

When I try to put just this OCL (self.sourceClass) in the "Value
Expression", 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: Feature Value Spec (OCL Expression) [message #199442 is a reply to message #199432] Tue, 29 July 2008 21:15 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:Multiple Deletes Issue
Next Topic:[GMF Dashboard] 'Type Link Model Facet' error
Goto Forum:
  


Current Time: Mon May 25 06:22:30 GMT 2020

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

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

Back to the top