State Diagrams

1445 Words3 Pages

State Diagrams Upon review of the HR and Finance application it is the purpose of this discussion to identify some of the objects associated with the applications and clarify the states in which those objects can go through as the system is interacted with. Whether or not there are any guards set in place before states can move forward or terminate are also clarified in this discussion. The objects that will be examined are: systemLogin, newOrder, addNewCustomer, editCustomer, addEmployee, and systemExit. The first object is systemLogin; this is where the user of the system will initially begin. This object has five possible states in which it can operate depending on the data entered or requested. 1. Login Prompt- this is the entry level state, here the user will enter the data to access the system. After the data is entered and the submit button is pressed the login prompt screen will become hidden. 2. Login Invalid – entry level is login failed screen, here the user will be given two options either to retry (in which the system will return to the login prompt state) or forgot password. Once one of the options are selected the login invalid screen is hidden 3. Retrieve Password – entry level is supply email address screen, the user will enter the email and then submit. There are two possible states as a result of the data entered, either the system will display a password sent screen or password not found screen. If the password is sent then the user will be sent back to the login prompt screen. If the user is sent to the password not found screen they will be sent back to the retrieve password screen. 4. Valid User- Entry level of this state will display the system menu. 5. Contact System Administration- entry level of this state is a message that displays that in order to use the system the users account must be unlocked to use the system. The next object is newOrder this object is initiated by an external event by an order being presented via phone, web, or personal contact from a sales associate. This object has 4 possible states 1. Order Form Screen- entry level is a screen for the data to be entered, from this state the user will complete the fields in the form and then click on the place order button, upon exit of this state the order form screen is hidden. 2. Validating order- there are two

Open Document