Thread View: borland.public.together.documentation
2 messages
2 total messages
Started by Robin Lebert
Thu, 06 Jul 2006 07:59
Sequence number in UML 1.4 sequence diagrams
Author: Robin Lebert
Date: Thu, 06 Jul 2006 07:59
Date: Thu, 06 Jul 2006 07:59
13 lines
1608 bytes
1608 bytes
Hi, I'm currently trying to access the sequence number of message links in UML 1.4 sequence diagrams via OCL (with getPropertyExt(...)) in a documentation template, but I don't know how to do it. The problem is, that I don't know the name of the property (maybe "sequenceNumber"?, "$sequenceNumber"?, "sequence_number"?, ...). It seems also, that the sequence number won't be stored in the XML files located in the model folder of the project. But if I select a message link in a sequence diagram, the property "sequence number" is displayed in the properties inspector. So, the information is available. But how can I access it in a documentation template? Thanks for your help. Best regards, Robin.
Re: Sequence number in UML 1.4 sequence diagrams
Author: ElenaA
Date: Tue, 25 Jul 2006 12:18
Date: Tue, 25 Jul 2006 12:18
25 lines
2348 bytes
2348 bytes
For the sequence number, there is unfortunately no way to get it in report currently. In Tg 2006, sequence number is a calculated property of message link reference (i.e. the message link itself doesn't have this property; it is calculated for each message reference via its positions, order, etc.). Unfortunately there is no way to get this property via EMF API, and thus to get its value in gendoc/ocl. We have a feature request to get it accessible via API - #31091 "Robin Lebert" <r.lebert@exxcellent.de> wrote in message news:44acc2d7@newsgroups.borland.com... > Hi, > > I'm currently trying to access the sequence number of message links in UML > 1.4 sequence diagrams via OCL (with getPropertyExt(...)) in a > documentation template, but I don't know how to do it. The problem is, > that I don't know the name of the property (maybe "sequenceNumber"?, > "$sequenceNumber"?, "sequence_number"?, ...). It seems also, that the > sequence number won't be stored in the XML files located in the model > folder of the project. But if I select a message link in a sequence > diagram, the property "sequence number" is displayed in the properties > inspector. So, the information is available. But how can I access it in a > documentation template? Thanks for your help. > > Best regards, Robin. >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads