MELJUN CORTES Screen Definition

Embed Size (px)

Citation preview

  • 7/29/2019 MELJUN CORTES Screen Definition

    1/26

    SCREEN DEFINITION

    UserLogInUI

    Prototype

    Screen Class Definition

    List of Attributes1. UserName

    A unique identifier for a coach or club staff member2. Password

    A corresponding access key, not necessarily, but probablyunique, associated with each user name. This is specified by theuser.

    List of Operations1. login (Users u)

    This method is called upon entry of username and password. Itpasses control to CheckUser, which checks it against the Userentity. This contains a list of all authorized users, their positions(coach or club staff) and the password associated with eachuser. Access is granted if the username is valid, and thepassword is valid for the entered username.

    2. displayErrorMessageThis method displays an error message in the event that eitherthe username or password is invalid. Depending on the results

    Ang Bulilit Liga Athlete Record Maintenance System Page 1

  • 7/29/2019 MELJUN CORTES Screen Definition

    2/26

    SCREEN DEFINITION

    generated by check user, the error could indicate that thepassword is correct or the username is invalid.

    State Chart Diagram

    Ang Bulilit Liga Athlete Record Maintenance System Page 2

  • 7/29/2019 MELJUN CORTES Screen Definition

    3/26

    SCREEN DEFINITION

    Event-Action Table

    Cur ren t

    S ta te

    Event Act ion Next

    Sta te

    - Access to the

    UserLogInUI ScreenDisplay an empty UserLogInUI;this does not have defaultvalues anywhere 1

    1

    enteruserNameField() +

    enterpasswordField

    Display the typed value insidethe text field for JTextFielduserNameField, and maskedpassword equivalent in

    JPasswordField passwordField 2

    2 clickokayButton() Execute CheckUser 3

    3 CheckUser returns true Execute AthleteRecordUI -

    3 CheckUser returns false Exits UserLogInUI -

    2clickCancelButton() Show Exit Confirmation Dialog

    Box 4

    4

    AnswerYES Exits the Athlete screen

    without saving any datadisplayed on the screen

    -

    4AnswerNO Close the Exit Confirmation

    Dialog Box 1

    Ang Bulilit Liga Athlete Record Maintenance System Page 3

  • 7/29/2019 MELJUN CORTES Screen Definition

    4/26

    SCREEN DEFINITION

    FindAthleteUI

    Prototype

    Ang Bulilit Liga Athlete Record Maintenance System Page 4

  • 7/29/2019 MELJUN CORTES Screen Definition

    5/26

    SCREEN DEFINITION

    Screen Class Definition

    List of Attributes1. AthleteID

    This is a unique numerical identifier assigned to each athleteupon joining the club; one of the allowed search parameters forfinding an athlete record.

    2. AthleteNameUser-defined query pertaining to record which user wants toretrieve or edit. Logically, the query would either be the athleteslast name, or a combination of the first and last name for easierretrieval.

    3. AthleteStatusSeven status descriptors which could be used for the retrieval ofrecord batches instead of individual records. Each member ofthe club is described by exactly one status descriptor at anygiven time. When retrieval is performed using this parameter, alist of matches similar to the one that appears above would begenerated, from which individual records could be retrieved.

    List of Operations1. FindAthlete

    Passes control to AthleteRecordMaintenance and retrievesrecord(s) from the athlete record database based on the searchparameters entered, if the record exists. Records that match thequery are not opened immediately; instead, hits appear on theMatch List, from which the user will actually retrieve the record.

    Ang Bulilit Liga Athlete Record Maintenance System Page 5

  • 7/29/2019 MELJUN CORTES Screen Definition

    6/26

    SCREEN DEFINITION

    2. RetrieveMatchfromListOpens record upon user selection from list of matches. Retrievalis also communicated through AthleteRecordMaintenance.

    3. DisplayErrorMessageDisplays an error message in the event that the athlete recorddoes not exist. This method would also prompt the user if s/hewants to search again. If the user is a member of the club staff,s/he is also prompted if s/he wants to add an athlete record,assuming that the search parameters are actually valid (i.e. thatthe error was not caused by a typographical error).

    State Chart Diagram

    Ang Bulilit Liga Athlete Record Maintenance System Page 6

  • 7/29/2019 MELJUN CORTES Screen Definition

    7/26

    SCREEN DEFINITION

    Event-Action Table

    Cur ren t

    S ta te

    Event Act ion Next

    Sta te

    - Access to theFindAthleteUI Screen

    Display an empty AthleteScreen except for identifiedscreen elements with defaultvalues 1

    1enterTextField() Display the typed value inside

    the text field 2 or 5

    2

    clickAthleteStatusCombo

    Box()

    Shows a list of athlete status

    3

    3selectFromList() Display the selected athlete

    status in the display field 2

    3 clickFindAthleteButton() Display matchList 5

    3clickCancelButton() Show Exit Confirmation Dialog

    Box 7

    2enterTextField() Display the typed value inside

    the text field 2

    2clickCancelButton() Show Exit Confirmation Dialog

    Box 6

    5 selectfromMatchList() Executes FindAthleteUI -

    6

    AnswerYES Exits the Athlete screenwithout saving any data

    displayed on the screen

    -

    6AnswerNO Close the Exit Confirmation

    Dialog Box 2

    7

    AnswerYES Exits the Athlete screenwithout saving any datadisplayed on the screen

    -

    7AnswerNO Close the Exit Confirmation

    Dialog Box 2

    Ang Bulilit Liga Athlete Record Maintenance System Page 7

  • 7/29/2019 MELJUN CORTES Screen Definition

    8/26

    SCREEN DEFINITION

    AthleteRecordUI

    Prototype

    Note that fields are uneditable

    Ang Bulilit Liga Athlete Record Maintenance System Page 8

  • 7/29/2019 MELJUN CORTES Screen Definition

    9/26

    SCREEN DEFINITION

    Screen Class Definition

    List of Attributes

    1. AthleteIDThis is a unique numerical identifier assigned to each athleteupon joining the club; one of the allowed search parameters forfinding an athlete record. This is a non-editable field in theAthleteRecordUI.

    2. AthleteNameContains the full name of the athlete. This is a non-editable fieldin the AthleteRecordUI.

    3. AthleteGenderIndicates the gender of the athlete. This is a non-editable field inthe AthleteRecordUI.

    Ang Bulilit Liga Athlete Record Maintenance System Page 9

  • 7/29/2019 MELJUN CORTES Screen Definition

    10/26

    SCREEN DEFINITION

    4. AthleteAddressContains the complete address of the athlete. This is a non-editable field in the AthleteRecordUI.

    5. AthletePhonenumberContains the athletes contact number. This is a non-editablefield in the AthleteRecordUI.

    6. AthletePrimarySportIndicates the athletes primary sport. This field must not have anull entry. This is a non-editable field in the AthleteRecordUI.

    7. AthleteSecondarySportIndicates the athletes secondary sport. This field may contain anull entry. This is a non-editable field in the AthleteRecordUI.

    8. AthleteStatusIndicates the status of an athlete. An athlete has one status at

    any given time. Currently, seven are defined. This is a non-editable field in the AthleteRecordUI.

    9. GuardianNameContains the full name of an athletes guardian. This is a non-editable field in the AthleteRecordUI.

    10. GuardianAddressContains the complete address of the said guardian. This is anon-editable field in the AthleteRecordUI.

    11. GuardianPhonenumberContains the guardians contact number. This is a non-editablefield in the AthleteRecordUI.

    List of Operations1. EditAthlete

    Allows an authorized user to shift from a read-only record viewto an editable view. Depending on the user type (coach or clubstaff), full or partial editing features may be activated. Forcoaches, editing will be limited to the status, while for club staffmembers, all fields will be editable.

    Ang Bulilit Liga Athlete Record Maintenance System Page 10

  • 7/29/2019 MELJUN CORTES Screen Definition

    11/26

    SCREEN DEFINITION

    State Chart Diagram

    Event-Action Table

    Cur ren t

    S ta te

    Event Act ion Next

    Sta te

    - Access to theAthleteRecordUI

    Screen

    Displays the retrieved athleterecord

    1

    1 clickEditButton() Execute EditAthleteUI/EditAthleteStatusUI, which

    would convert the read-only

    record to an editable record -

    2 clickOkButton() Exit AthleteRecordUI -

    Ang Bulilit Liga Athlete Record Maintenance System Page 11

  • 7/29/2019 MELJUN CORTES Screen Definition

    12/26

    SCREEN DEFINITION

    EditRecordUI

    Prototype

    *Note that fields are editable

    Ang Bulilit Liga Athlete Record Maintenance System Page 12

  • 7/29/2019 MELJUN CORTES Screen Definition

    13/26

    SCREEN DEFINITION

    Screen Class Definition

    List of Attributes1. AthleteID

    This is a unique numerical identifier assigned to each athleteupon joining the club; one of the allowed search parameters forfinding an athlete record.

    2. AthleteNameContains the full name of the athlete.3. AthleteGender

    Indicates the gender of the athlete.4. AthleteAddress

    Contains the complete address of the athlete.5. AthletePhonenumber

    Contains the athletes contact number.6. AthletePrimarySport

    Indicates the athletes primary sport. This field must not have anull entry.

    Ang Bulilit Liga Athlete Record Maintenance System Page 13

  • 7/29/2019 MELJUN CORTES Screen Definition

    14/26

  • 7/29/2019 MELJUN CORTES Screen Definition

    15/26

    SCREEN DEFINITION

    State Chart Diagram

    Ang Bulilit Liga Athlete Record Maintenance System Page 15

  • 7/29/2019 MELJUN CORTES Screen Definition

    16/26

    SCREEN DEFINITION

    Event-Action Table

    Cur ren t

    S ta te

    Event Act ion Next

    Sta te

    - Access to the

    EditAthleteUI ScreenDisplay retrieved athlete recordwith current values 1

    1enterTextField() Display the typed value inside

    the text field 2

    2 clickStatusComboBox() Shows a list of athlete status 3

    3selectFromList() Display the selected athlete

    status in the display field 2

    2enterTextField() Display the typed value inside

    the text field 2

    2clickSaveButton() Show Save Confirmation Dialog

    Box 5

    2clickCancelButton() Show Exit Confirmation Dialog

    Box 6

    5AnswerYES Exits the athlete record screen

    and saves the data entered bythe user on the screen -

    5AnswerNo Closes the Save Confirmation

    Dialog Box 2

    6

    AnswerYES Exits the athlete record screenwithout saving any datadisplayed on the screen

    -

    6AnswerNO Closes the Exit Confirmation

    Dialog Box 2

    Ang Bulilit Liga Athlete Record Maintenance System Page 16

  • 7/29/2019 MELJUN CORTES Screen Definition

    17/26

    SCREEN DEFINITION

    AddAthleteUI

    Prototype

    Ang Bulilit Liga Athlete Record Maintenance System Page 17

  • 7/29/2019 MELJUN CORTES Screen Definition

    18/26

    SCREEN DEFINITION

    Screen Class Definition

    List of Attributes1. AthleteID

    This is a unique numerical identifier assigned to each athleteupon joining the club; one of the allowed search parameters forfinding an athlete record.

    2. AthleteNameContains the full name of the athlete.3. AthleteGender

    Indicates the gender of the athlete. Since the club was originallyfor males, the default value is male.

    4. AthleteAddressContains the complete address of the athlete.

    5. AthletePhonenumberContains the athletes contact number.

    6. AthletePrimarySportIndicates the athletes primary sport. This field must not have a

    Ang Bulilit Liga Athlete Record Maintenance System Page 18

  • 7/29/2019 MELJUN CORTES Screen Definition

    19/26

    SCREEN DEFINITION

    null entry.7. AthleteSecondarySport

    Indicates the athletes secondary sport. This field may contain a

    null entry.8. AthleteStatus

    Indicates the status of an athlete. An athlete has one status atany given time. Currently, seven are defined. For a new record,the default value is active.

    9. GuardianNameContains the full name of an athletes guardian.

    10. GuardianAddressContains the complete address of the said guardian.

    11. GuardianPhonenumberContains the guardians contact number.

    List of Operations1. SaveAthlete

    Allows the user to save changes made to an athlete record. Thisactually passes control to CheckAthleteInfor method ofAthleteRecordMaintence to ensure that all entries are valid andcomplete. A message is returned to the user if there areincomplete data; otherwise, changes are saved to the database,and the user is informed that the save was successful.

    Ang Bulilit Liga Athlete Record Maintenance System Page 19

  • 7/29/2019 MELJUN CORTES Screen Definition

    20/26

  • 7/29/2019 MELJUN CORTES Screen Definition

    21/26

    SCREEN DEFINITION

    Event-Action Table

    Cur ren t

    S ta te

    Event Act ion Next

    Sta te

    - Access to theAddRecordUI Screen

    Display an empty AthleteScreen except for identifiedscreen elements with defaultvalues 1

    1enterTextField() Display the typed value inside

    the text field 2

    2 clickStatusComboBox() Shows a list of athlete status 3

    3selectFromList() Display the selected athlete

    status in the display field 2

    2enterTextField() Display the typed value inside

    the text field 2

    2clickSaveButton() Show Save Confirmation Dialog

    Box 5

    2clickCancelButton() Show Exit Confirmation Dialog

    Box 6

    5AnswerYES Exits the Add Athlete screen

    without saving and saves dataentered by user on the screen

    -

    5AnswerNO Close the Save Confirmation

    Dialog Box 2

    6

    AnswerYES Exits the Add Athlete screenwithout saving any datadisplayed on the screen

    -

    6

    AnswerNO Close the Exit Confirmation

    Dialog Box 2

    Ang Bulilit Liga Athlete Record Maintenance System Page 21

  • 7/29/2019 MELJUN CORTES Screen Definition

    22/26

    SCREEN DEFINITION

    EditAthleteStatusUI

    Prototype

    *All fields, except for athlete status, are uneditable in this UI.

    Ang Bulilit Liga Athlete Record Maintenance System Page 22

  • 7/29/2019 MELJUN CORTES Screen Definition

    23/26

    SCREEN DEFINITION

    Screen Class Definition

    Ang Bulilit Liga Athlete Record Maintenance System Page 23

  • 7/29/2019 MELJUN CORTES Screen Definition

    24/26

    SCREEN DEFINITION

    List of Attributes

    1. AthleteID

    This is a unique numerical identifier assigned to each athleteupon joining the club; one of the allowed search parameters forfinding an athlete record. This is a non-editable field in theEditAthleteStatusUI.

    2. AthleteNameContains the full name of the athlete. This is a non-editable fieldin the EditAthleteStatusUI.

    3. AthleteGenderIndicates the gender of the athlete. This is a non-editable field inthe EditAthleteStatusUI.

    4. AthleteAddress

    Contains the complete address of the athlete. This is a non-editable field in the EditAthleteStatusUI.

    5. AthletePhonenumberContains the athletes contact number. This is a non-editablefield in the EditAthleteStatusUI.

    6. AthletePrimarySportIndicates the athletes primary sport. This field must not have anull entry. This is a non-editable field in the EditAthleteStatusUI.

    7. AthleteSecondarySportIndicates the athletes secondary sport. This field may contain anull entry. This is a non-editable field in the EditAthleteStatusUI.

    8. AthleteStatusIndicates the status of an athlete. An athlete has one status atany given time. Currently, seven are defined. This is a non-editable field in the EditAthleteStatusUI.

    9. GuardianNameContains the full name of an athletes guardian. This is a non-editable field in the EditAthleteStatusUI.

    10. GuardianAddressContains the complete address of the said guardian. This is anon-editable field in the EditAthleteStatusUI.

    11. GuardianPhonenumber

    Contains the guardians contact number. This is a non-editablefield in the EditAthleteStatusUI.

    List of Operations1. SaveAthlete

    Allows the user to save changes made to an athlete record. Thisalso informs the user that the save was successful.

    Ang Bulilit Liga Athlete Record Maintenance System Page 24

  • 7/29/2019 MELJUN CORTES Screen Definition

    25/26

    SCREEN DEFINITION

    State Chart Diagram

    Ang Bulilit Liga Athlete Record Maintenance System Page 25

  • 7/29/2019 MELJUN CORTES Screen Definition

    26/26

    SCREEN DEFINITION

    Event-Action Table

    Cur ren t

    S ta te

    Event Act ion Next

    Sta te

    - Access to theEditAthleteStatusUI

    Screen

    Display retrieved athlete recordwith current values

    1

    1 clickStatusComboBox() Shows a list of athlete status 2

    2selectFromList() Display the selected athlete

    status in the display field 3

    3clickSaveButton Show Save confirmation Dialog

    Box 5

    3clickCancelButton() Show Exit Confirmation Dialog

    Box 6

    5AnswerYES Saves changes and exits the

    Edit Athlete Status screen-

    5AnswerNO Close the Exit Confirmation

    Dialog Box 3

    6

    AnswerYES Exits the Edit Athlete Statusscreen without saving any datadisplayed on the screen

    -

    6AnswerNO Close the Exit Confirmation

    Dialog Box 3

    Maria Pamela C. David

    Submission Details:Version: 1.0Date of Submission: 01/28/2006

    Ang Bulilit Liga Athlete Record Maintenance System Page 26