Skip to content

Polymorphic events are used in SM without the correct mapping to UML integration exists #85

@gbatori1

Description

@gbatori1

The EATF model (sent to Akos, Abel earlier) contains polymorphic events but there is no mapping defined for them in the UML Integration. The expected outcome of using the EATF model is an error from the Mode Compiler but by checking the UML Integration and CPP model I realized that the polymorphic events are mapped to normal XTClassEvents and used in subtype State Machines which is wrong behavior of the Model Compiler.

Example:
CallLeg21Established defined in the CallLeg Class and it is used for example in the subtype CircuitSwitchLeg Class.

Until the polymorphic events are introduced when only those XTClassEvents, which have corresponding UML Signals, are allowed to be assigned to a transition of a State Machine which have a corresponding UML Reception defined in the same UML Class as the State Machine. So during transformation the UML Signal, UML SignalEvent, UML Reception should be taken into consideration.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions