PPT-Folie
// structural interface ==> textual representation of UML
LineItemParty = <item> ItemParty <pricer> PricerParty <customer> Customer
ItemParty = <charges> ListOf(ChargerParty)
// behavioral interface ==> set of expected interfaces
LineItemParty { int quantity();}
PricerParty { float basicPrice(ItemParty item);
float discount(ItemParty item, int qty, Customer customer); }
ChargerParty { float cost(int qty, float unitP, ItemParty item); }