constraint ocl [message #476213] |
Tue, 25 September 2007 14:16 |
Eclipse User |
|
|
|
Originally posted by: briandwilliam.hotmail.com
hi,
I have an ocl constraint who is defined on a connection in my gmfmap , it's
for initialise a label of my connection.
my connection does not appear on the diagram !
however it appears in the model !!! and the string label property is not
defined ????
my constraint ocl is applied on a link mapping of my generator model
(gmfmap) :
if
self.redefinitionAccrochePort.contenu.redefinitionDescripteu rDeReferencePort
Syn.redefinitionRefDescSyn.direction->forAll(d
| d = Direction::IN) then
self.role='receveur'
else
self.role='emetteur'
endif
the constraint is valid but doesn't works correcty !
have you got an idea ??
thanks
-
Attachment: model.jpeg
(Size: 75.33KB, Downloaded 140 times)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02649 seconds