labs4capella / python4capella

Python for Capella
Eclipse Public License 2.0
52 stars 10 forks source link

Add a method RequirementAddOn.add_module(Architecture, CapellaModule) and RequirementAddOn.remove_module(Architecture, CapellaModule) #173

Closed ylussaud closed 1 week ago

ylussaud commented 1 year ago

We need to add the concept of Architecture to the Capella API.

The the implementation should look like this:

architecture.get_java_object().getOwnedExtensions().add(capellaModule.get_java_object())
architecture.get_java_object().getOwnedExtensions().remove(capellaModule.get_java_object())