Skip to main content



      Home
Home » Modeling » UML2 » constraint ocl
constraint ocl [message #625001] Tue, 25 September 2007 10:16
Eclipse UserFriend
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 161 times)
Previous Topic:org.eclipse.ocl.uml.impl.BagTypeImpl not contained in the resource
Next Topic:Re: [UML] UML equivalent EcoreUtil.UsageCrossReferencer
Goto Forum:
  


Current Time: Sun Aug 31 05:22:05 EDT 2025

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

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

Back to the top