Skip to content

[Feature]: Adapt containment pattern #224

@antoineatstariongroup

Description

@antoineatstariongroup

What type of issue is this?

  • Bug report
  • Feature request

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of the SysML2.NET
  • I have searched open and closed issues to ensure it has not already been reported

Description

For now, the containment via OwnedRelationship and OwnedRelatedElement is only duable via the AssingOwner extension method.

However, some Relationship can be owned by an Element without needing to have an OwnedRelatedElement (for exemple, FeatureType can be Owned by an Attribute but it does not need an OwnedRelatedElement.

In those case, we should be able to assign the Ownership of the FeatureType by the Attribute but the current pattern does not allow it.

Steps to Reproduce

System Configuration

  • SysML2.NET version:
  • Environment (Operating system, version and so on):
  • .NET Framework version:
  • Additional information:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions