The IDL interfaces
account
,
checkingAccount
, and
bank
map to the Common Lisp classes
BankingDemo:account
,
BankingDemo:checkingAccount
, and
BankingDemo:bank
.
Notice how IDL interface inheritance (
checkingAccount:
account
) maps naturally onto Common Lisp class inheritance: the class
BankingDemo:checkingAccount
is defined as a subclass of
BankingDemo:account
.