13.07.2015 Views

Object-Oriented Software Development with UML - UNU-IIST ...

Object-Oriented Software Development with UML - UNU-IIST ...

Object-Oriented Software Development with UML - UNU-IIST ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modelling Behaviour in State Diagrams 153CorePOST Store ManagerSalesSale salesLineItem Cashier CustomerProductsItem ProductCatalog ProductSpecificationPaymentsPaymentAuthorizationServiceCashPaymentCreditPaymentCheckPaymentCreditAuthorizationserviceCreditAuthorizationserviceAccountsReceivableBankCardCreditCardCheckFigure 9.22: Domain packageNote the use of the associative type Î ÀÍɈÆÅsÈ°è³Ì•ÈLë ÐÏ Ä†þÀ§ÈTÄ Ð Å¡between a payment and its authorization servatice.ƤÓ_ÁÍ - a reply arises out of the associationAuthorization Transactions PackageNotice that the names of some associations are left unspecified as they can be easily understood: transactionsare for the payment.9.5 Modelling Behaviour in State DiagramsA state diagram of an object showsall the messages that can be sent to the object,¾the order in which must be received,¾the effect of messages – what actions the object performs or what messages it sends to other objects¾after receiving a particular message.Report No. 259, July 2002<strong>UNU</strong>/<strong>IIST</strong>, P.O. Box 3058, Macau

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!