Anda di halaman 1dari 61

Sheffield Hallam University

WEB APPLICATION DESIGN AND MODELLING (A-2011/2) WADAM

Software

SKELETON CODE
Version 6 DL 16/12/2011

Web Application Travel Itinerary Planning System

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Hallam Internet Systems Ltd

Document Version Control System - Google web docs Document Management Control - Google web docs
Version

v4

Document Authors Mr Adrian Ashley Mr. Mohamed Hagras Mr. Akilu Rilwan Muhammad Mr. Zhao Jian

Student ID 12030388 21046615 20049705


21040874

Date 16/12/2011 16/12/2011 16/12/2011 16/12/2011

Travel Itinerary Planning System


Project Plan

CONTENTS
1.0 INTRODUCTION

2|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System 1.1 OBJECTIVES Version 2 - 03/12/2011 2.0 CLASS DIAGRAM 3.0 USE CASE DESCRIPTION & SEQUENCE DIAGRAM

4.0 SKELETON CODE DIRECTORY


5.0 RISK MONITORING

5.1 Risk Verification and quality control

Bibliography
Glossary
APPENDIX A - Project Management APPENDIX B - QUALITY CONTROL APPENDIX C - Extended Use case diagram APPENDIX D - Risk Management Class diagram APPENDIX E Google Map Investigation Map API APPENDIX F Google Map Investigation Map API

1.0 INTRODUCTION
Customers contact details Mr Dharam Shadija, Mr Steve Lofthouse

3|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


We at Innovative travel solutions are known for pioneering travel solutions for example the ability for people to be able to search for flights for any airline on a single website was first developed by us over 10 years ago. We have had another brilliant innovation which will help people organise their travel itineraries online. This will allow users to share information about their travel with their loved ones and friends. Users should be able to create their itinerary online using our website. They could add Flight details, train details and hotels information into their itinerary. This is private information and should be only accessible to that particular user. The system should allow users to create any number of itineraries. Our system should allow people visiting our site to become users on our site. Hallam Internet Systems - Team members established 19/10/2011 Mr Adrian Ashley B.Sc (Hons) Student ID 12030388 Mr. Mohamed Hagras Mr. Akilu Rilwan Muhammad Mr. Zhao Jian Student ID 21046615 Student ID 20049705 Student ID 21040874

1.1 OBJECTIVES Version 2 - 2/12/2011


To develop the class diagram of the new system. Deliverables: skeleton code Deliver date : 16/12/2011

2.0 CLASS DIAGRAM


For clarity we have submitted the rational rose original file so that it can be reviewed Please see Appendix C, for a larger diagram

4|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Figure 1 Class Diagram by Rational Rose (please see the attached file)

3.0 USE CASE DESCRIPTIONS & SEQUENCE DIAGRAM


1. Use Case Description: Register

5|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Register RG-01 Non-registered user User selects Register System prompts for user details User enters details, checks approve on terms and conditions and submits System store users details into the database System displays account created successfully. User is not registered User a new registered Actor Input 1 Select Register 2 3 User enters details 4 5 Actor Input 4.1 4.2 4.3

Preconditions post conditions Flow of events

Alternates

System Response Prompt for user details store users details into the database Account created successfully. System Response If unable to create account Display warning message "User already exists " Display message "Please enter new details"

2. Use Case Description:

Login

6|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Login LIN-01 Registered user: itinerary owner User select login System prompt for user account User supply login account System validate user account System starts users session System display login success message User is login successfully User is not logged in User is logged in Actor Input System Response 1 Select login 2 Prompt for user account 3 Enter login details Validate user account Starts users session Display login success message Actor Input System Response 3.1 Display message: "invalid user account" 3.2 Display message "Please enter account login"

Preconditions post conditions Flow of events

Alternates

2.1 Skeleton Code : Login 3. Use Case Description: Logout

7|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Logout LT-01 Registered user: itinerary owner User select logout System prompt for logout confirmation User verify logout selection System confirms user logout System display logout success User is logout successfully User is logged into the system User is logged out successfully Actor Input System Response 1 Select logout 2 Prompt for logout confirmation 3 User Confirm 4 Logout user 5 Display logout success

Preconditions post conditions Flow of events

i) ii)

8|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Use Case ID Primary Actor Brief Description

Create travel Itinerary CTI-01 Registered user: itinerary owner User selects create new travel itinerary User search for itinerary contents (flight, hotel etc...). User selects the contents he likes from the search results. User selects publish to share it with his friends or make it private. User submit content System updates user's travel itinerary. User logged in new travel itinerary Actor Input 1 Select create itinerary 2 3 Select privacy level share with friends or private 4 insert itinerary content Flight, Hotels, Events 5 6 Select publish itinerary 7 8 User Confirm details 9 10 Actor Input

Preconditions post conditions Flow of events

System Response Display the itinerary entry form -

in each content details Confirm publish literary and privacy level Update the database Publish the itinerary System Response

Alternates

4. Use Case Description: Create travel itinerary.

9|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Create travel itinerary sequence diagram

10 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Use Case ID Primary Actor Brief Description

Preconditions post conditions Flow of events

Alternates

ATIC-01 Registered user: itinerary owner User selects the travel itinerary he wants to add contents to. User puts the new contents into the fields of the itinerary contents. User selects publish to share it with his friends or make it private. User submits. User is logged in Updated user travel itinerary Actor Input System Response 1 Selects the itinerary Selects the itinerary entry 2 Fill the itinerary contents' fields 3 Select update itinerary 4 Confirm update itinerary entries 5 User Confirm changes 6 Update the database 7 Publish the itinerary Actor Input System Response

5. Use Case Description:

Add travel itinerary content.

11 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Use Case ID Primary Actor Brief Description

ETIC-01 Registered user: itinerary owner User selects the travel itinerary he wants to manage. User selects edit or delete his travel itinerary contents. User selects publish to share it with his friends or make it private. User submits. User is logged in Updated user travel itinerary Actor Input 1 Selects the itinerary Selects the itinerary entry 2 Select function edit or delete 3 Select update itinerary 4 5 User Confirm changes 6 7 Actor Input

Preconditions post conditions Flow of events

System Response Confirm update itinerary entries Update the database Publish the itinerary System Response

Alternates

6. Use Case Description:

Edit travel itinerary contents.

7. Use Case Description:

Delete travel itinerary.

12 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description DTI-01 Registered user: itinerary owner User selects delete itinerary User selects the travel itinerary the user wants to delete System updates user's travel itineraries database. User is logged in Updated user travel itinerary Actor Input 1 Selects itinerary 2 Selects delete 3 4 User Confirm changes 5 6 Actor Input

Preconditions post conditions Flow of events

Alternates

System Response Confirm delete itinerary Delete itinerary Publish update System Response

8. Use Case Description:

View friend's itinerary

13 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description VFI-01 Registered user: itinerary owner's friend User selects his friend from his friend's list. User selects the itinerary he wants to view from his friend's itineraries list. System views the selected itinerary. Preconditions post conditions Flow of events User is logged in Actor Input 1 Selects friend from friends list 2 3 Selects itinerary from itineraries list 4 Alternates Actor Input System Response Load friends available itineraries to share Load itinerary content for the user to view System Response

9. Use Case Description:

Add Friends

14 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID ADD-01 Primary Actor Registered user: itinerary owner Brief Description User selects find friends. User enters his friend email. User select add friend. System sends a friend request to your friend. If your friend accepts system adds your friend to your friend list. Preconditions User is logged in post conditions Updated friends Flow of events Actor Input System Response 1 Selects add friends 2 Enter friends email 3 Search the database 4 add friend 5 Sends friend request 6 <friends Accepted > Add friend to users friend list Alternates 3.1 3.2 Actor Input System Response Display message "Unable to find your friend" Redirect to the find friend page again.

10. Use Case Name:

Accept Friend Request.

15 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID ACCEPT ACC-01 Primary Actor Registered user: itinerary owner Brief Description User selects friend requests. User selects his friend from the friend requests list. User selects accept. System adds his friend into his friends list and him into his friends friends list. Preconditions User is logged in post conditions Updated friends list Flow of events Actor Input System Response 1 Selects friend requests 2 Selects specific accept 3 Select accept 4 adds his friend into his friends list and him into his friends friends list Alternates Actor Input System Response 3.1 User doesn't accept the friend request.

11. Use Case Name:

Remove Friend.

16 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Remove Friend RF-01 Registered user: itinerary owner Select friend from list Select remove Remove friend from list and user from friends list User is logged in Updated friends list Actor Input 1 Select friend from list 2 Select remove 3 Actor Input

Preconditions post conditions Flow of events

Alternates

System Response Remove friend from list and user from friends list System Response

12. Use Case Name:


traveling to friends.

Send Recommendations and notes about

17 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Send Recommendations and notes about traveling to friends. SRF-01 Primary Actor Registered user: itinerary owner's friend Brief Description Selects send notes Selects friend from list Types the note he wants to send Selects send Preconditions User is logged in post conditions Flow of events Actor Input System Response 1 Selects send notes 2 Select friend from list 3 Types the note he wants to send 4 Selects send Sends the note to user's friend Alternates Actor Input System Response

13. Use Case Name: Add Recommendations and notes about


traveling to friends.

18 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Add Recommendations and notes about traveling from friends to an itinerary make them public or private. ARN-01 Registered user: itinerary owner Selects view friends notes Selects add notes to an itinerary. Selects the itinerary he wants to add the note to. Selects make the note public or private Submits. User is logged in Updated itinerary contents. Actor Input System Response 1 Selects view friends notes 2 Selects add notes to an itinerary. 3 Selects the itinerary he wants to add the note to. send 4 Selects make the note public or private 5 Submits Updates user's itinerary Actor Input System Response

Preconditions post conditions Flow of events

Alternates

14. Use Case Name: Invite a friend or more to an itinerary so it will be owned by them too.

19 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Invite a friend or more to an itinerary so it will be owned by them too.IAFOM-01 Registered user: itinerary owner Selects invite friends to itinerary. Selects the itinerary he wants to invite his friends into. Selects his friends from his friends list. Submits. User is logged in Updated itinerary contents. Actor Input System Response 1 Selects invite friends to itinerary. 2 Selects the itinerary he wants to invite his friends into. 3 Selects his friends from his friends list. 4 Submits. Sends an invitation to a friend Actor Input System Response

Preconditions post conditions Flow of events

Alternates

15. Use Case Name: Accept friends invitation to share the ownership of an itinerary with him.

20 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Accept friends invitation to share the ownership of an itinerary with him. AFITS-01 Registered user: itinerary owner's friend Selects friends' invitations. Selects the invitation he wants. Selects accept. User is logged in Updated user's itineraries list. Actor Input 1 Selects friends' invitations. 2 Selects the invitation he wants. 3 Selects accept. Actor Input Reject the invitation.

Primary Actor Brief Description

Preconditions post conditions Flow of events

System Response Add the itinerary into his itineraries. System Response

Alternates

16. Use Case Name: Create a group with role based so everyone included inside the group will have different privileges and make it private or public.

21 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID

Create a group with role based so everyone included inside the group will have different privileges and make it private or public.CAGWRB-01
Registered user: Group Admin Selects Create Group. Adds group details. Submits. User is logged in Updated user's itineraries list. Actor Input 1 Selects Create Group. 2 Adds group details. 3 Submits. Actor Input

Primary Actor Brief Description

Preconditions post conditions Flow of events

System Response Creates the group. System Response

Alternates

17. Use Case Name:

Invite members to the group

22 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Invite members to the group.IMTTG-01 Registered user: Group Admin Selects the group from his groups list. Selects add members to the group. Selects members from his friends list. Submits. User is logged in Updated user's itineraries list. Actor Input System Response 1 Selects the group from his groups list. 2 Selects add members to the group. 3 Selects members from his friends list. 4 Submits. Sends an invitation to these members. Actor Input System Response

Preconditions post conditions Flow of events

Alternates

18. Use Case Name:

Accept group invitation.

23 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Accept group invitation.AGI-01 Registered user: Group Member Selects friends' invitations. Selects the invitation he wants. Selects accept. User is logged in Updated user's itineraries list. Actor Input 1 Selects friends' invitations. 2 Selects the invitation he wants. 3 Selects accept. Actor Input Reject.

Preconditions post conditions Flow of events

Alternates

System Response Add the user into the group. System Response

19. Use Case Name:

Set roles to the group members.

24 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Set roles to the group members.SRTTGM-01 Registered user: Group Admin Selects the group from the groups list. Selects Set roles. Selects a member from group members. Selects the role he wants to assign to this member User is logged in Updated user's itineraries list. Actor Input System Response 1 Selects the group from the groups list. 2 Selects Set roles. 3 Selects a member from group members. 4 Selects the role he wants to assign to this member Updates this member's role. Actor Input System Response

Preconditions post conditions Flow of events

Alternates

20. Use Case Name:

Edit a group.

25 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description Edit a group.EAG-01 Registered user: Group Admin Selects the group from the groups list. Selects edit group. Edits the details he wants to change. Submits. User is logged in Updated user's itineraries list. Actor Input System Response 1 Selects the group from the groups list. 2 Selects edit group. 3 Edits the details he wants to change. 4 Submits. Updates the group details. Actor Input System Response

Preconditions post conditions Flow of events

Alternates

21. Use Case Name: board.

Post comments on group's discussion

26 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


Use Case ID Primary Actor Brief Description

Post comments on group's discussion board.PCOGD01


Registered user: Group Member Selects the group from the groups list. Selects post a comment. Write the comment he wants. Submits. User is logged in Updated user's itineraries list. Actor Input System Response 1 Selects the group from the groups list. 2 Selects post a comment. 3 Write the comment he wants. 4 Submits. Updates the group details. Actor Input System Response

Preconditions post conditions Flow of events

Alternates

4.0 SKELETON CODE DIRECTORY


Class Code 1 2 Login Session code check list x x Java Coded Tested Validation

27 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


3 4 5 6 7 8 9 10 11 12 13 14 Database Register User User Account Itinerary Google Map X x x x x

15 16 17 18 19 20 21 22 23 24 25

/*==========================================================<> Notes x * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> Booking x * Hallam Internet Systems Ltd * ---------------------------------------------------------<> Booking Status x * Document - Quality - Version Control Accommodation x * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian meetings x * --------------------------------------------------------<> * Date 16/12/2011 restaurants x *===========================================================<> * Class Name : Login ship x * Class Interactions / Dependencies : Database, Session * transport (interface) ===========================================================<> */ flight x class Login { train //========================================< Attributes> x private String userName = ""; vehicle rental String userPassword = ""; x private //========================================< Methods > bike rental x public String getUserName() { return userName; car rental x } boat rental x public void setUserName(String userName) { notifications this.userName = userName; x } travel agent x public String getUserPassword() { group x return userPassword; group } board x public void setUserPassword(String userPassword) { group board comment x this.userPassword = userPassword; } public boolean validateUser(String usrName, String password ) { boolean isValid; /* 1-Login(1.1 validateLogin)Database 2-Database(1.1.1 isvalid)Database 3-Database(1.1.2 isValid)Login */ if (isValid) { // 4-Database)1.1.3 strat_session)Session // 1.1.2.1 displayMessage(Succsess) }else{ } } } // 1.1.2.2 displayMessage(Fail)

1 Login

28 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Session * Class Interactions / Dependencies : * ===========================================================<> */ package com.travelitinerary; class Session { //========================================< Attributes> private boolean isActive; private String sessionID; //========================================< Methods > public boolean isIsActive() { return isActive; }

2 Session

public void setIsActive(boolean isActive) { this.isActive = isActive; } public void startSession(String sessionID) { if (isActive == true) { this.sessionID = sessionID; } } public void endSession() { if (isActive == false) { this.sessionID = ""; } }

29 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Database * Class Interactions / Dependencies : * ===========================================================<> */ package com.travelitinerary; import java.sql.DriverManager; import java.sql.SQLException; /** * * @author Akil */ public class Database { //========================================< Attributes> private boolean isValid; //========================================< Methods > public void validateLogin() throws SQLException, ClassNotFoundException{ //Validate user from the database /* *1. if (user account exist){ *2. isValid == true *3. start session * } *4. else{ *5. Display login error * } */ } public void createNewUser(){ /* *1. validate user input *2. if(user input is correct){ *3. create new account * } * else{ * Return create account failed msg * } */ } public void deleteUserrecord(){ } public void updateUserrecord(){ } public void deleteItinerary(){ } public String[] getFriendList(){ return friendlist; } public void updateItinerary(){} public void updateFriendList(){}

3 Database

public void updateRecord(){} public String getRecord(){ return ""; } }

30 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * Date 16/12/2011 *===========================================================<> * Class Name : Register_user * Class Interactions / Dependencies : Database * ===========================================================<> */ class Register_user { //========================================< Attributes> private String first_Name = ""; private String last_Name = ""; private String userName = ""; private String userPassword = ""; private String email_Address = ""; //========================================< Methods > public String getFirst_Name() { return first_Name; } public String getLast_Name() { return last_Name; } public String getUserName() { return userName; } public String getUserPassword() { return userPassword; } public String getEmail_Address() { return email_Address; } public void registeUser(String first_Name, String last_Name, String email_Address, String userName, String userPassword) { //------------------------------------------<> this.first_Name = first_Name; this.last_Name = last_Name; this.email_Address = email_Address; this.userName = userName; this.userPassword = userPassword; } public String getUserDetails(){ String strDetails; strDetails = first_Name+','+last_Name+','+ email_Address+','+userName+','+ userPassword; return strDetails; } public void displayMessage(String Msg){ // Display message to user } public void Set_user_details(){ // not used 31 } }

4 Register User

|Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : UserAccount * Class Interactions / Dependencies : Session * ===========================================================<> */ class UserAccount { //========================================< Attributes> private String date_registered = ""; private String first_Name = ""; private String last_Name = ""; private String userName = ""; private String userPassword = ""; private String email_Address = ""; private String accountNumber = ""; private String[] friendlist; //---------------------------------------------public String getDate_registered() { return date_registered; } public void setDate_registered(String date_registered) { this.date_registered = date_registered; } public String getAccountNumber() { return accountNumber; } public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } public String return } public String return } public String return } public String return } public String return } getFirst_Name() { first_Name; getLast_Name() { last_Name; getUserName() { userName; getUserPassword() { userPassword; getEmail_Address() { email_Address;

5 UserAccount User

32 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

public void delete_userAccount(String first_Name, String last_Name, String email_Address, String userName, String userPassword) { //------------------------------------------<> /* 1-userAccount(getusername)Database 2-Database if(isvalid==true) 3-Database(Delete user account) 4-Database(ask for confirmation) 5-Database(delete) */} public String Sen_Email_invitations(Sting email){ /* send an email to register */ } public void logout_User(){ /* 1-displayMessage(confirm logout) if(isConfirmid==true) { UserAccount(end_session)Session } else { /// continue session } */ } public void delete_friends(String username){ friendlist /* 1-userAccount(getusername)Database 2-Database if(isvalid==true) 3-userAccount(Delete user from friendlist) 4-Database(update friendlist) */ } }

33 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

public void edit_userAccount(String first_Name, String last_Name, String email_Address, String userName, String userPassword) { //------------------------------------------<> this.first_Name = first_Name; this.last_Name = last_Name; this.email_Address = email_Address; this.userName = userName; this.userPassword = userPassword; } public String getUserDetails(){ String strDetails; strDetails = first_Name+','+last_Name+','+ email_Address+','+userName+','+ userPassword; return strDetails; } public void displayMessage(String Msg){ // Display message to user } public void Set_user_details(){ // not used } public String[] getFriendlist() { return friendlist; } public void setFriendlist(String[] friendlist) { this.friendlist = friendlist; } public String invitefriends(Sting username){ /* 1-userAccount(getusername)Database 2-Database(1.1.1 isvalid)userAccount 3-userAccount(1.1.2 send_friend_request)Notification */ } public String passwordRecovery(Sting username) { /* 1-userAccount(getusername)Database 2-Database if(isvalid==true) 3-Database(getpassword)userAccount 4-Return (password) 34 | P a g e */ }

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Itinerary * Class Interactions / Dependencies : * ===========================================================<> */ public class Itinerary { //-----------------------------< Attribute > private List itinerary_List = new LinkedList(); private boolean isPrivate = true; private boolean isConfirmedPublished = false; private int itineraryID; //------------------------------< Method > public create_itinerary(){ // create users itinarary List itinerary_List = new List(); } public delete_itinerary(){ // delete uses itinerary delet ( itinerary_List ); displayMessage (itinerary List removed ) } public add_content(){ // Append an element to the list itinerary_List.add( content ); } public delete_content(){ // delete user content // Remove element content inside list boolean b = itinerary_List.remove( content ); // true if (b==true) displayMessage (content removed ) else displayMessage (content not removed ) } public edit_itinerary(){ // add user content // } public view_Shared_Information( ){ if content.isShared == true { displayMessage (content ) } } public display_message(String msg){ showMessage(msg); } public int Get_itineraryID(){ return } public Set_itineraryID(int n ){ itineraryID = int n; } }

6 Itinerary

35 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Note * Class Interactions / Dependencies : Google_Map_Pointer * ===========================================================<> */ public class Google_Map_Pointer { private double latitude_MAP; private double longtitude_MAP; private double zoom; private String pointContent; private String Google_Map_PointID; public String getGoogle_Map_PointID() { return Google_Map_PointID; } public void setGoogle_Map_PointID(String google_Map_PointID) { Google_Map_PointID = google_Map_PointID; } public double getLatitude_MAP() { return latitude_MAP; } public void setLatitude_MAP(double latitude_MAP) { this.latitude_MAP = latitude_MAP; } public double getLongtitude_MAP() { return longtitude_MAP; } public void setLongtitude_MAP(double longtitude_MAP) { this.longtitude_MAP = longtitude_MAP; } public double getZoom() { return zoom; } public void setZoom(double zoom) { this.zoom = zoom; } public String getPointContent() { return pointContent; } public void setPointContent(String pointContent) { this.pointContent = pointContent; } public void Google_Map_Pointerdelete(){

7 Google Map

/* 1-Google_Map_Pointer(Google_Map_PointID)Database 2-Database(isValid) Google_Map_Pointer(delete Google_Map_Pointer) 3-Google_Map_Pointer(delete 36 | P a g e Google_Map_Pointer)Database */ }

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Note * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Note { //========================================< Attributes> private boolean isprivate; private String noteID; private String source; private String destination; private String contents; private String itineraryID; //========================================< Methods > public boolean isIsprivate() { return isprivate; . } public void setIsprivate(boolean isprivate) { this.isprivate = isprivate; } public String getNoteID() { return noteID; } public void setNoteID(String noteID) { this.noteID = noteID; } public String getSource() { return source; } public void setSource(String source) { this.source = source; } public String getDestination() { return destination; } public void setDestination(String destination) { this.destination = destination; } public String getContents() { return contents; } public void setContents(String contents) { this.contents = contents; } public void add_notes_toItimerary(String itineraryID,String noteID) { this.itineraryID = itineraryID; this.noteID = noteID; } public void updateNote(){ /* 1-Note(NoteID)Database 2-Note(isValid) Note(edit Note) 3-Note(update_Note)Database */ }

8 Note

public void deleteNote(){ /* 1-Note(NoteID)Database 2-Database(isValid) Note(delete Note) 3-Note(delete Note)Database */ }

37 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

9 Booking
/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Booking * Class Interactions / Dependencies : Accommodation, Meetings, Restaurants, Vehicle * ===========================================================<> */ package com.travelitinerary; import java.util.Date; public class Booking { //========================================< Attributes> private Date dateTimeFrom; private Date dateTimeTo; private String locationGSPLatitude; private String locationGSPLongitude; private double currency; //========================================< Methods > public void makeBooking(){ /* *1. check accomodation status *2. Booking(isDepositeRequired)Accommodation *3. */ } public void editBooking(){ } public void deleteBooking(){ } public void setGpsLocation(){ } public String getGpsLocation(){ return locationGSPLatitude+"," +locationGSPLongitude; } 38 | P a g e public void budgetAlert(){ }

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

10

Booking Status

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Booking_Status * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Booking_Status { //========================================< Attributes> private boolean isConfirumed; private boolean isProvisional; //========================================< Methods > public void cancel() { isConfirumed=false; } public boolean isConfirumed() { return isConfirumed; } public void setConfirumed(boolean isConfirumed) { this.isConfirumed = isConfirumed; } public boolean isProvisional() { return isProvisional; } public void setProvisional(boolean isProvisional) { this.isProvisional = isProvisional; } }

39 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Accommodation * Class Interactions / Dependencies : Booking * ===========================================================<> */ package com.travelitinerary; public class Accommodation extends Booking { //========================================< Attributes> private String accommodationName; private boolean isNoneSmoking; private boolean isDepositRequired; private double depositAmount; //========================================< Methods > public void setSmokingStatus(boolean status) { /* *1. set smoking status *2. isNoneSmoking = status */ } public boolean getSmokingStatus() { /* *1. return smoaking status *2. Booking(isNoneSmoking) */ return false; } public void setDepositStatus(boolean deposit) { /* *1. set accommodation deposit *2. isDepositRequired = deposit *3. */ } /** * @param depositAmount the depositAmount to set */ public double getDepositAmount(double depositAmount) { /* *1. return deposit amount *2. Booking(depositAmout) */ return depositAmount; }

11

Accommodation

40 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

12

meetings

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Meetings * Class Interactions / Dependencies : Booking * ===========================================================<> */ package com.travelitinerary; public class Meetings extends Booking{ //========================================< Attributes> private String meetingAgenda; //========================================< Methods > public String getAgenda() { return meetingAgenda; } public void setAgenda(String agenda) { this.meetingAgenda = agenda; } public void deleteMeetingAgenda() { } public void editMeetingAgenda() { }

13

Ship
41 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Ship * Class Interactions / Dependencies : Booking, Transport * ===========================================================<> */ package com.travelitinerary; public class Ship extends Booking implements Transport { //========================================< Attributes> private int cabinNumber; private String seaport; //========================================< Methods > public int getCabinNumber() { return cabinNumber; } public void setCabinNumber(int cabinNumber) { /*==========================================================<> this.cabinNumber = cabinNumber; * Travel Itinerary Planning System 2012 } * ---------------------------------------------------------<> * Hallam Internet Systems Ltd public String getSeaport() { * ---------------------------------------------------------<> return seaport; * Document - Quality - Version Control } * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu setSeaport(String seaport) { Jian Mr. Zhao public void /Rilwan Muhammad * --------------------------------------------------------<> this.seaport = seaport; * Date 16/12/2011 } *===========================================================<> } * Class Name : Restaurants * Class Interactions / Dependencies : Booking * ===========================================================<> */ package com.travelitinerary; /** * * @author Akil */ public class Restaurants extends Booking{ //========================================< Attributes>

14

Restaurants

private String name; private boolean smoking; private String kosherHalal;

42 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Flight * Class Interactions / Dependencies : Booking, Transport * ===========================================================<> */ package com.travelitinerary; public class Flight extends Booking implements Transport{ //========================================< Attributes> private String airport; //========================================< Methods > /** * @return the airport */ public String getAirport() { return airport; }

15 Flight

/** * @param airport the airport to set */ public void setAirport(String airport) { this.airport = airport; } }

43 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Train * Class Interactions / Dependencies : Booking, Transport * ===========================================================<> */ package com.travelitinerary; public class Train extends Booking implements Transport{ //========================================< Attributes> private String station; //========================================< Methods > /** * @return the station */ public String getStation() { return station; } /** * @param station the station to set */ public void setStation(String station) { this.station = station; } }

16 Train

44 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * Date 16/12/2011 *===========================================================<> * Class Name : Note * Class Interactions / Dependencies : Vehicle_Rental * ===========================================================<> */ public class Vehicle_Rental { //========================================< Attributes> private String providerName; private double location_GPS_latitude; private double location_GPS_longtitude; private double driver_age; private String driver_residence; private String collect_point; private boolean validate_driving_license; //========================================< Methods > public String getProviderName() { return providerName; } public void setProviderName(String providerName) { this.providerName = providerName; } public double getLocation_GPS_latitude() { return location_GPS_latitude; } public void setLocation_GPS_latitude(double location_GPS_latitude) { this.location_GPS_latitude = location_GPS_latitude; } public double getLocation_GPS_longtitude() { return location_GPS_longtitude; } public void setLocation_GPS_longtitude(double Vehicle location_GPS_longtitude) { this.location_GPS_longtitude = location_GPS_longtitude; Rental } public double getDriver_age() { return driver_age; } public void setDriver_age(double driver_age) { this.driver_age = driver_age; } public String getDriver_residence() { return driver_residence; } public void setDriver_residence(String driver_residence) { this.driver_residence = driver_residence;} public String getCollect_point() { return collect_point; } public void setCollect_point(String collect_point) { this.collect_point = collect_point; } public boolean isValidate_driving_license() { return validate_driving_license; } public void setValidate_driving_license(boolean validate_driving_license) { 45 | P a g e this.validate_driving_license = validate_driving_license;} }

17

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

18

Bike Rental

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : BikeRental * Class Interactions / Dependencies : VehicleRental * ===========================================================<> */ package com.travelitinerary; public class BikeRental extends VehicleRental{ }

46 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : CarRental * Class Interactions / Dependencies : VehicleRental * ===========================================================<> */ package com.travelitinerary; public class CarRental extends VehicleRental{ //========================================< Attributes> private String carGroup; private int numberOfDoors; private int engineSize; }

19

Car Rental

47 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

20

Boat Rental

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu /Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : BoatRental * Class Interactions / Dependencies : VehicleRental * ===========================================================<> */ package com.travelitinerary; /** * * @author Akil */ public class BoatRental extends VehicleRental{ }

48 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Notification * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Notification { //========================================< Attributes> private String notificationID; private String source; private String destination; private String request; private boolean requestresult; //========================================< Methods > public String getNotificationID() { return notificationID; Notification } public void setNotificationID(String notificationID) { this.notificationID = notificationID; } public String getSource() { return source; } public void setSource(String source) { this.source = source; } public String getDestination() { return destination; } public void setDestination(String destination) { this.destination = destination; } public String getrequest() { return request; } public void setrequest(String request) { this.request = request; } public String send_friend_request(){ /* 1-Notification(create request) 2-User_Account(Get Request) */ return request; } public void friend_request_result(boolean result){ requestresult=result; } public String send_Group_invitation(){ 1-Notification(create request) 2-User_Account(Get Request) return request; } public void Group_invitatio_result(boolean result){ requestresult=result; } public String send_itinerary_ownership(){ 1-Notification(create request) 2-User_Account(Get Request)

21

return request; } public void itinerary_ownership_result(boolean result){ requestresult=result; } public String alert(){ 1-Notification(create request) 2-User_Account(Get Request) 49 | P a g e return request;}

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

22

Travel Agent

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Travel_Agent * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Travel_Agent { //========================================< Attributes> private String fax; private String company_name; //========================================< Methods > public String getFax() { return fax; } public void setFax(String fax) { this.fax = fax; } public String getCompany_name() { return company_name; } public void setCompany_name(String company_name) { this.company_name = company_name; } }

50 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Group * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Group { //========================================< Attributes> private String Name; private String groupID; private String admin; private String[][] membersandRole; //========================================< Methods > public String getName() { return Name; } public void setName(String name) { Name = name; } public String getGroupID() { return groupID; } public void setGroupID(String groupID) { this.groupID = groupID; } public String getAdmin() { return admin; } public void setAdmin(String admin) { this.admin = admin; }

23 Group

public String[][] getMembersandRole() { return membersandRole; } public void setMembersandRole(String[][] membersandRole) { this.membersandRole = membersandRole; } 51 | P a g e }

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * Document - Quality - Version Control * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian * --------------------------------------------------------<> Group Board * Date 16/12/2011 *===========================================================<> * Class Name : Group_Board * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Group_Board { //========================================< Attributes> private String entryID; private String entryAuthor; private String entrySubject; private String entryBody; //========================================< Methods > public String getEntryID() { return entryID; } public void setEntryID(String entryID) { this.entryID = entryID; } public String getEntryAuthor() { return entryAuthor; } public void setEntryAuthor(String entryAuthor) { this.entryAuthor = entryAuthor; } public String getEntrySubject() { return entrySubject; } public void setEntrySubject(String entrySubject) { this.entrySubject = entrySubject; } public String getEntryBody() { return entryBody; } public void setEntryBody(String EntryBody) { this.EntryBody = EntryBody; } public void String entrySubject { this.entryBody = entryBody; } public void createEntry(String entryID,String entryAuthor,String entrySubject,String EntryBody){ setEntryID(entryID); setEntryAuthor(entryAuthor); setEntrySubject(entrySubject); setEntryBody(EntryBody); } public void updateEntry(){ 1-Group_Board(entryID)Database 2-Database(isValid) Group_Board(edit entry) 3-Group_Board(update_entry)Database } public void deleteEntry(){ 1-Group_Board(entryID)Database

24 Board

2-Database(isValid) Group_Board(delete entry) 3-Group_Board(delete entry)Database

52 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

/*==========================================================<> * Travel Itinerary Planning System 2012 * ---------------------------------------------------------<> * Hallam Internet Systems Ltd * ---------------------------------------------------------<> * Document - Quality - Version Control Group Board * Mr Adrian Ashley Mr. Mohamed Hagras * Mr. Akilu Rilwan Muhammad Mr. Zhao Jian Comments * --------------------------------------------------------<> * Date 16/12/2011 *===========================================================<> * Class Name : Group_Board_Comments * Class Interactions / Dependencies : Database * ===========================================================<> */ public class Group_Board_Comments { //========================================< Attributes> private String commentID; private String commentAuthor; private String commentBody; //========================================< Methods > public String getCommentID() { return commentID; } public void setCommentID(String commentID) { this.commentID = commentID; } public String getCommentAuthor() { return commentAuthor; } public void setCommentAuthor(String commentAuthor) { this.commentAuthor = commentAuthor; } public String getCommentBody() { return commentBody; } public void setCommentBody(String commentBody) { this.commentBody = commentBody; } public void createComment(String CommentID,String CommentBody,String CommentSubject){ setCommentID(CommentID); setCommentBodyCommentBody); setCommentSubject(CommentSubject); } public void updateComment(){ /* 1-Group_Board_Comments(CommentID)Database 2-Group_Board_Comments(isValid) Group_Board(edit Comment) 3-Group_Board(update_Comment)Database */ } public void deleteEntry(){ /* 1-Group_Board_Comments(CommentID)Database 2-Database(isValid) Group_Board_Comments(delete Comment) 53 | 3-Group_Board_Comments(delete Comment)Database */

25

Page

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

5.0 RISK MANAGEMENT Version 2 - 2/12/2011


According to the project plan v17, the Risk management is in full operation for the project and adhered to. the present object is to submit a class diagram, TABLE 3, Risk of Organisational Roles Responsibility Mohamed Hagras Mr Akilu Rilwan Muhammad Mr. Zhao Jian Project Manager

Risk Monitoring

Adrian Ashley

Mohamed Hagras Mr Akilu Rilwan Muhammad Adrian Ashley Mr. Zhao Jian Mohamed Hagras Adrian Ashley

Communications Administrator

Class Diagram Client Interview new requirements SPECIFICATION REQUIREMENTS Responsibilities overall project tasks sequence and activity Providing staff needs Team Meeting attendance recording Client Interview new requirements Update Project requirements Change management Document standards
UML Maintenance

Journal Update 2/12/11

2/12/11

Documentations & Backup Administrator Staff Training Administrator

2/12/11

Maintaining staff training for the project Risk monitoring, Document control

2/12/11

4.1 Risk Verification and quality control


The clarification has reduced the risk to the project, the request and response is listed below

54 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


[Tracking ID QC CLASS DIAGRAM - ]

Bibliography
client, i. w., n.d. interview with client. [Online] Available at: https://rcpt.yousendit.com/1287167602/b0eedff4b4c44d4c7543982905cfe740 [Accessed 17 11 2011]. dictionary.reference.com, n.d. http://dictionary.reference.com/browse/noun. [Online] Available at: http://dictionary.reference.com/browse/noun [Accessed 17 11 2011]. IEEE, 2011. mtibugs.com. [Online] Available at: http://mtibugs.com/Howsrs.php [Accessed 09 11 2011]. Manual, A. D. F. C., 2005. Application Development Framework Case Manual. [Online] Available at: http://download.oracle.com/docs/cd/B25016_08/doc/dl/web/B19163_01/adfcase_i ntro.htm [Accessed 20 10 2011]. Mr Dharam Shadija, M. S. L., 2011. Lectures Sheffield Hallam Univerity. [Online] Available at: https://shuspace.shu.ac.uk [Accessed 3 11 2011]. oxforddictionaries.com, n.d. http://oxforddictionaries.com/definition/verb. [Online] Available at: http://oxforddictionaries.com/definition/verb [Accessed 17 11 2011]. simon bennet , John skelton, ken lunn, 2001. UML. s.l.:schaum's outline series. www.freedomscientific.com, 2011. FreedomScientific. [Online] Available at: http://www.freedomscientific.com/products/fs/jaws-productpage.asp [Accessed 20 10 2011].

55 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

Glossary
QC Quality Control RM Risk Management UML Unified Modelling Language GPS Global Positing System

Further Reading
Software Specifications Quality Assurance Plan Configuration Management Plan Risk Management Plan Project Schedule

Project Resources
Rational Rose - For used case diagram

56 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

APPENDIX A Project Management

Ref 3.The Spiral Model diagram from (Boehm 1987)

57 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System


http://www.ics.uci.edu/~wscacchi/Papers/SE-Encyc/Process-Models-SE-Encyc.pdf

APPENDIX B QUALITY CONTROL


Hand in assignmen t

APPENDIX C Extended Class diagram


Figure 1 Class diagram by Rational Rose ( Please see the attached See rational )

58 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

APPENDIX E Risk Management Class diagram


Risk Management RM 02 - Class Diagrams

As the project is monitored for project risks, it has been determined that there is a risk of misunderstandings or misinterpretation of any class implementation therefore sequence diagrams were developed .

59 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

APPENDIX F Google Map Investigation Map API


Test Google map for location to help develop the class diagram

APPENDIX G Google Map Investigation Map API


Test Google map for location to help develop the class diagram

60 | P a g e

2012
WEB APPLICATION DESIGN AND MODELLING WADAM

Travel Itinerary Planning System

61 | P a g e

Anda mungkin juga menyukai