Do you have examples how to setup inheritance in the model? I set up a basic scenario in which I setup an inheritance relationship between the super class and derived class. I had an attribute in the derive class. I instantiated the classes in OAL but i could not access the “inherited attribute” in the derived class. Any insight on setting up inheritance where i can inherit attributes?
In xtUML, traditional inheritance is not completely present. Here are some specifics.
– On state machines, event inheritance _polymorphic events_ are supported. Events to a supertype can be received at the subtype.
– In the MASL dialect of xtUML, operation inheritance (_deferred operation_) is supported.
– Attributes are instantiated in the instance of the class in which they are defined. In xtUML, the hierarchy of classes is instantiated as a _related instance chain_. Access to attributes in a supertype is via navigation.