The following pictures shows the GUI: Panel of Transactions which is the GUI for the instances of UML class. This Session is displayed in other WebPage where the User can perform: Deposits, Transfers, and so on. If succed returns aSession (check simulation code). The method compares the password and user names of Card and ATMLogin (data entry in the web). argument is the Card selected by the User. This UML method belongs to ATMLogin class (check Sequence Diagram). When aCard is selected then method is executed. When the user clicks Login button in the UML Almighty prompt a list of Cards (to simulate Card insertion). The following is the Simulation Code for the UML Method of Class ATMLoginĪs we can see in the Sequence Diagram the login process returns (or starts) a new Session. From this Session the User can perform different operations.Ĭheck the GUI: Panel of Transaction (picture above) to see the GUI for the instances of Session class. This is the Sequence Diagram for the Login process (check the video)Īs we can see in the Sequence Diagram the login process returns (or starts) a new Session. This is the Web Page generated by UML Almighty for ATMLogin class, we named “ GUI: User and Password” to the GUI of ATMLogin class.įrom the GUI of ATMLogin the User can login into the ATM account. The following pictures shows the GUI: User and Password which is the GUI for the instances of UML association class. The transaction process will be shown in detail with Sequence Diagrams. The User can perform another Transaction or logout. If confirmed the Transaction is performed and then Panel of Transactions is displayed again. In this panel the User can perform: a Deposit, a Transfer, a Query or a Withdrawal. The process starts when the User enter the user name and password. Then select a Card (to simulate Card insertion).Īfter login succed the User has the Panel of Transactions to perform different tasks. The ATM bills are manage by the InnerCash handler. To simulate the Card insertion a list of Cards is displayed to select one. ![]() The Bank perform the different Transactions. With a Session the User can perform different Transactions.Įach Card belongs to an Account of a Bank. After enter the user name a Session is created. The ATMLogin has the user name and password. This relation is an association class ATMLogin. Each User (actor) start a Session in an ATM machine. Here the Customer start a new Session (insert a card and type user name and password) in the ATM machine and then Deposit an amount of money to his Account.ĪTM class represent the real ATM machines. If the entry data match the Card the Panel of Transactions is displayed. The User/Customer stars a new Session where the user name and password are entered. We will see two Use Cases in detail: ATM login and Perform a Deposit. The Simulation shows how different UML Diagrams fits with UML Almighty. The ATM Model is just a possible solution for this problem. ![]() (Check the Videos)Īfter installing the XMI file it take 10 minutes to finish the UML Almighty simulation (including the Prototype, the Executable UML and the UML Simulation itself). In this example will see how to create a Simulation with UML Almighty using an ATM Model.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |