Model Validation warning: One or more parameters of behavior do not match [message #1840587] |
Tue, 20 April 2021 01:40 |
Jeremy Hillford Messages: 5 Registered: April 2021 |
Junior Member |
|
|
Hey all,
I've been getting a model validation warning that I haven't been able to resolve. In trying to debug it I've isolated it in a basic project (project layout viewable in attachments).
I'm trying to create a class that declares an operation which accepts an integer, and I'd like to refine this operation using an interaction (sequence diagram.)
Right now I've got a class, "testClass", with an operation "test_op1". The operation has a parameter "test_int" that is typed as "<EDataType> Integer". For this operation, I've defined the method as an Interaction, "test_interaction". At this point, when I run the validation I'm getting the warning "One or more parameters of behavior 'model:testPackage:testClass:test_interaction' do not match.", however, I don't see a way to add parameters to the interaction from the properties view.
To try to solve this, in the interaction I've added a lifeline (representing the testClass), and created a message_sync with the signature of test_op1 and an argument as literalInteger, but that didn't seem to work.
I'm a bit new to papyrus and UML modeling in general. If I've missed something or if there is more information needed just let me know, and I appreciate any help that is provided.
Thanks
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02940 seconds