Child pages
  • Association print out in the Gendoc output
Skip to end of metadata
Go to start of metadata

Problem Statement:

Missing Gendoc script of printing out the associations.

Documents:

  • test model: iisomi-ec-test.zip
  • gd-template-v9.docx, gd-output-v9.docx
    updated script that …
    1. Has a section for named Associations
    2. Has a section for unnamed associations
    3. Shows the owner of the MemberEnd of an Association
    4. Provides the name of the owner of the MemberEnd of an Association
    5. Cleans up the code a little bit (removed unnecessary if statements, only print out Association Warnings section when there are unnamed associations)

Table of Contents:

2022-08-12 IISOMI Meeting Minutes

  • Bernd Zeuner  To create a sub-section 8.xx "Adding ExtendedComposite associations" in TR-515 Papyrus guidelines document. Is dependent on outcome of discussion on ITU-T vs. ONF Gendoc Style.

2022-09-09 IISOMI Meeting Minutes

  • Scott presented the options of printing the associations, including the option of printing the no-name associations as EMPTY. 
  • An alternative to EMPTY, no-name association should be identified in the the content list as shown in the model explorer. No decision yet.
  • Scott still needs to investigate why the sortedBy instruction of the Gendoc script doesn't properly sort/order the associations as intended.
  • All: Need to discuss what properties to be included from the Applied Stereotypes for the association-end in the table of the association print out.

Enhance the 3rd column to include Owner, i.e., → becoming Navigable/Owner.

2022-09-16 IISOMI Meeting Minutes

  • Scott presented results of the testing demonstrating the two loops for printing associations.  One loop loops over the unnamed associations and the other loop loops over the named associations.  In the case of the named associations, they are sorted.
  • The owner of the MemberEnd has been added to the MemberEnd table
  • Add guideline that states all associations should be named.  If there are unnamed associations they will be listed first in the association table and not sorted by name.
  • AI:  Scott Mansfield provide another example of the template file, that puts the unnamed association in a WARNINGS  appendix
  • AI:  Scott Mansfield  for MemberEnd, add the name of the owner in parenthesis.

 

2022-11-04 IISOMI Meeting Minutes

  • Nigel Davis Provide Bernd with ONF Style converted script from Scott related to associations (See action from 2022-08-12).
    • Date changed from   on  

2022-11-18 IISOMI Meeting notes

Date of actions changed as noted above.

2023-07-21 IISOMI Meeting Minutes

Andrea Mazzini shows that it is possible to check whether an attribute is also a navigable association end:

Below the template snippet:


  • No labels