My problem is simple.
In a sequence diagram I have a message between 2 actors which is realized with the event message_1.
I would like this message to be realized with the event message_2 using java API.
In the java code, my message class is IRPMessage. Using "getFormalInterfaceItem()" I can get the corresponding event.
But the method "setFormalInterfaceItem(IRPInterfaceItem item)" doesn't exist so how can we change the associated event?