Skip to content

ST6RI-8 Implement computation of derived meta-attributes#5

Merged
seidewitz merged 14 commits intomasterfrom
ST6RI-8
Dec 13, 2018
Merged

ST6RI-8 Implement computation of derived meta-attributes#5
seidewitz merged 14 commits intomasterfrom
ST6RI-8

Conversation

@seidewitz
Copy link
Member

  • Updated to 2018-11 baseline metamodel (exported to SysML.uml).
  • Switched from standard Ecore code gen to UML2-based code gen, in order to better handle subsetting and redefinition, as used in the SysML MOF metamodel.
  • Added handwritten Java code to compute derived meta-attributes. (Also created a Complete OCL file with derivations, but this was not used in the end.)
  • Updated .uml metamodel and code as necessary to handle problems with subsetting of composite properties, due to EMF limitations on containment.
  • Added Java code to handle initialization of certain required properties based on containment structure that are not set during parsing (such as the "specific" property of a Generalization). (This is probably better handled as a separate post-parsing processing step in the future.)
  • Updated tests to reflect updated metamodel and use of derived attributes.

@seidewitz seidewitz self-assigned this Dec 7, 2018
Copy link

@balazsgrill balazsgrill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked into the changes, especially of the scope provider implementation and I think they're correct.

@seidewitz seidewitz merged commit 74a01d5 into master Dec 13, 2018
@seidewitz seidewitz deleted the ST6RI-8 branch April 4, 2019 23:11
seidewitz added a commit that referenced this pull request Feb 25, 2024
ST6RI-738 Syntax-related issues from KerML FTF Ballot #5
seidewitz added a commit that referenced this pull request Feb 27, 2024
ST6RI-739 Model-library-related issues from KerML FTF Ballot #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants