Mixin
A Mixin merges the content of another Application into the parent Application.
#
ExampleIn the following example, the definition of a BankTeller
contains a Mixin of the ATM
. This includes all of the children of ATM
in BankTeller
, implying (roughly) that a BankTeller
can do everything that an ATM can do.
ATM: Withdraw: ...
BankTeller: -|> ATM
Deposit: ...
#
See also- Application: parent element