labs4capella / python4capella

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

Implement Requirement.set_attribute() #169

Closed ylussaud closed 1 week ago

ylussaud commented 1 year ago

As a workaround something like:

req.get_java_object().getOwnedAttributes().add(attr.get_java_object())
ylussaud commented 1 week ago

This is no longer needed with the addition of Requirement.get_owned_attributes():

req.get_owned_attributes().add(attr)