Project Mocha ETicket Airline Reservation System Programmers Kevin





















- Slides: 21
Project Mocha E-Ticket Airline Reservation System Programmers: Kevin, Iris, Brad
Package Structure (Application Organization) The main package The database package The logging package The model package The user interface package The utility package The xml package The main application class
Quick Update Current class hierarchy contains 17 classes and growing… (predicted 20 – 30) Presentation Classes are an extremely high level view Current CRCs DO NOT account for anonymous classes, inner classes, abstract classes and interfaces Classes DO NOT account for classes used in the Java API except by stating “Common Java Classes” The methodology used is rapid prototyping, thus class structure changes with each examination of the application. Iterative development plan, with small releases
The main package edu. fullerton. cpsc 461 ETRS (b) • starts application • closes application • displays main frame • displays available flights • handles search ui • handles payment ui • handles user help • handles about dialog • Search. View shows searchui • Payment. View shows payment ui • Splash. Window shows splash screen • (Logger) • (Help. View) • (About. Dialog) • Common Java Classes
The database package edu. fullerton. cpsc 461. db ETRSDb Queries for flight information Queries for Airport information Queries for Common Java Classes
The model package edu. fullerton. cpsc 461. model Airplane Common Java Classes
The model package edu. fullerton. cpsc 461. model Airport Common Java Classes
The model package edu. fullerton. cpsc 461. model Available. Flight Common Java Classes Airplane
The model package edu. fullerton. cpsc 461. model Customer Common Java Classes
The model package edu. fullerton. cpsc 461. model Flight. Schedule Common Java Classes
The model package edu. fullerton. cpsc 461. model Payment. Form (b) • contains Common Java payment data Classes
The model package edu. fullerton. cpsc 461. model Search. Form (b) • contains search data Common Java Classes
The model package edu. fullerton. cpsc 461. model Flight. Table. Model (b) • contains table data Common Java Classes
The model package edu. fullerton. cpsc 461. model Transaction Common Java Classes
The ui package edu. fullerton. cpsc 461. ui. splash Splash. Window (b) displays splash screen Common Java Classes
The ui package edu. fullerton. cpsc 461. ui. view Search. View * (b) • Displays search ui • Handles basic search information validation • Handles search for available flights • Search. Engine handles searching for available flights • Search. Engine handles searching for airports • Search. Form (Model) contains Search data • ETRSUtil handles input validation and valid date generation
The ui package edu. fullerton. cpsc 461. ui. view Payment. View* (b) • Displays payment ui • Handles basic user information validation • Handles credit card authorization • Credit. Card. Manager handles credit authorization • Payment. Form (Model) contains the Payment. View data • ETRSUtil handles input validation • Common Java Classes
The utility package edu. fullerton. cpsc 461. util ETRSUtil (b) • Validates user input Common Java Classes • Name • Address • City • Validates search criteria • Validates payment information
The utility package edu. fullerton. cpsc 461. util Search. Engine (b) Retrieves flights based on search criteria Retrieves airports Retrieves customer information Retrieves transaction information ETRSDb Search. Form Airport Airplane Transaction Customer Common Java Classes
The utility package edu. fullerton. cpsc 461. util Credit. Card. Manager (b) Communicates with the Credit Card vendors to authorize credit card purchases ETRSDb Payment. Form Book Common Java Classes
Additional Classes Testing n n Package test. edu. fullerton. cpsc 461 All classes have an associated test class Test classes have the same name as the class with “Test” pre-pended to the beginning of the class name. Tests initial methods Testing Methodology n n After each development cycle Guarantees functionality of the previous cycle





















