Skip to content

Fix #75: Containmnet principle implemented#78

Merged
antoineatstariongroup merged 3 commits intodevelopmentfrom
75-feature-handle-composite-aggregation-correctly
Feb 16, 2026
Merged

Fix #75: Containmnet principle implemented#78
antoineatstariongroup merged 3 commits intodevelopmentfrom
75-feature-handle-composite-aggregation-correctly

Conversation

@antoineatstariongroup
Copy link
Collaborator

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the SysML2.NET code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

Fix #75

This PR includes:

  • ContainerList implementation to automatically set parent value of a newly adding/removed element
  • Properties that are part of the composite aggregation (owner/owning properties) are accessible only via readonly accessor.
  • Extension methods allow to set the container of an element, by specifying the parent, the relationship to be used and the child instance

@antoineatstariongroup antoineatstariongroup linked an issue Feb 16, 2026 that may be closed by this pull request
5 tasks
@antoineatstariongroup antoineatstariongroup merged commit bd24ed7 into development Feb 16, 2026
5 of 6 checks passed
@antoineatstariongroup antoineatstariongroup deleted the 75-feature-handle-composite-aggregation-correctly branch February 16, 2026 09:15
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.

[Feature]: Handle Composite Aggregation correctly

2 participants