[Impressum]
[E-Mail]
Platform-specific Terminal Model (2)
The platform-specific activity diagrams contain only the
partitions for
the platform, other partitions are removed. In the platform-specific
terminal model, only the partitions of the terminal component classes
are shown. Every activity diagram contains only one partition.
Sometimes the activity diagram in the platform-independent model has a
partition for a superclass component. E.g. to request the balance of a
copycard, the DepositMachine as well as the CopyingMachine can be used.
Thus, the Terminal partition in the activity diagram getBalance is
defined for the abstract superclass Terminal. In the platform-specific
model this partition is duplicated for every subclass. The MEL
expressions that are used in the platform-independent model are
translated to Java expressions (for the terminal platform). These
expressions are written into the code that is generated from the
platform-specific model.
- getBalance (for CopyingMachine and DepositMachine):
Back