Derivation of xuml Models

Similar documents
CAAC China. CCAR 121 Subpart P Crew members Flight and Duty time Limits, and Rest Requirements Revision Oct-2017

LOCAL INDUSTRIAL ALCOHOL MANUFACTURER S PERMIT-

Guideline for Sponsors - Airworthiness / Aeronautical Activity

The Fly In/Fly-Out Guide

Regulations of the Department of Civil Aviation on Certification of Check Airmen B.E

N Registry Airworthiness & Maintenance Requirements

LESSON PLAN Introduction (3 minutes)

Advisory Circular AC19-1. Test Pilot Approvals 03 July Revision 0

Course Project. 1. Let staff make entries when a passenger makes reservations on a flight.

ENGINEERS FLYING CLUB OKLAHOMA CITY, OKLAHOMA OPERATIONS MANUAL

CARIBEX, INC. AIRCRAFT MANAGEMENT PROGRAM

RV10 Weight and Balance

NATA Aircraft Maintenance & System Technology Committee Best Practices. RVSM Maintenance

SERVICE LETTER REVISION

Mobile FliteDeck VFR Release Notes

Class F3K Hand Launch Gliders 5.7. CLASS F3K - HAND LAUNCH GLIDERS

Training and licensing of flight information service officers

Generic OpSpec A332 - DRAFT

Chapter 8 Process Improvement

SECTION TRAINING HELO. Date: 01/08/16 Page: 1 of Table of Contents Training, Helicopter

Civil Aviation Authority of Nepal, Civil Aviation Regulation, 2058 (2002)

Contracting of continuing airworthiness management tasks

CIVIL AVIATION PUBLICATION CAP 09 MAINTENANCE CONTROL MANUAL

1. General Provisions 1. Parties. These Terms & Conditions regulate the legal relationship between us, Skypicker.com s.r.o., ID No.

Ownership Options for the HondaJet Explained

ETHIOPIA ECAA CIVIL AVIATION RULES AND STANDARDS (ECAR) PART 8 OPERATIONS FATIGUE MANAGEMENT REST PERIODS, DUTY, AND FLIGHT TIME

A Multi-Agent Microsimulation Model of Toronto Pearson International Airport

GOVERNMENT GAZETTE REPUBLIC OF NAMIBIA

ASL AVIATION TERMS OF AIRCRAFT USE AND RENTAL AGREEMENT

The Importance of Flight Dispatching in Air Transportation

The Improvement of Baggage Handling System

Flight Duty Time and Flight Time Limitations Cabin Crew

Each room will automatically be selected with the same room type (standard, junior suite, ocean view, etc.).

The type rating of test pilots having flown the aircraft for its development and certification needs to be addressed as a special case.

The American Express Airpoints Platinum Reserve Card Benefits Terms and Conditions.

Subject: Flight Duty Time and Flight Time Limitations Cabin Crew

GENERAL REGULATORY CRITERIA Regulatory Experience and Expertise

CSCI 5832 Natural Language Processing

FAA FAR Part 21, Subpart F SO DIFFERENT TO CASR PART 21, SUBPART F

1. Purpose and scope. a) the necessity to limit flight duty periods with the aim of preventing both kinds of fatigue;

2018 Cathay Pacific Virtual 2 P a g e

e-crew Horizon Air Pilot Trip Trades Phase I Notes for the Crewmembers

Developing an Aircraft Weight Database for AEDT

Part 406. Certification Procedures. (Effective December 29, 1960

GOVERNMENT OF INDIA OFFICE OF THE DIRECTOR GENERAL OF CIVIL AVIATION TECHNICAL CENTRE, OPP SAFDURJUNG AIRPORT, NEW DELHI

BUSINESS AVIATION SUPPORT SERVICES AIRCRAFT MANAGEMENT. Taking You Under Our Wing

Appendix A - Definitions

GAMA/Build A Plane 2017 Aviation Design Challenge

CHG 0 9/13/2007 VOLUME 2 AIR OPERATOR AND AIR AGENCY CERTIFICATION AND APPLICATION PROCESS

SEASONAL CAMPGROUND ADMISSION AGREEMENT

TRAINING COURSE INFORMATION CE-500 Initial Type Rating & CE-500 Single Pilot Exemption Initial

Airport Departure Flow Management System (ADFMS) Architecture. SYST 798 / OR 680 April 22, Project Sponsor: Dr. Lance Sherry, CATSR

DGAC Costa Rica. MCAR OPS 1-Subpart Q LIMITATIONS OF FLIGHT TIME AND TIME OF SERVICE AND REST REQUIREMENTS. 30-June-2009

Civil Aviation Order (Exemption from the provisions of the Civil Aviation Regulations 1988 certain ultralight aeroplanes) Instrument 2015

CIVIL AVIATION AUTHORITY PAKISTAN AGRICULTURAL RATING/OPERATION CONTENTS

Marco Island Executive Airport 2016 Rates and Charges

MEMORANDUM FROM: SUBJECT: DATE: FEBRUARY 28, 2014

Paperless Aircraft Operations - IATA s Vision and Actions - Chris MARKOU IATA Operational Costs Management

PASS RIDING LISTING PROCESSES FOR AIRPORT and CUSTOMER SUPPORT CREWMEMBERS

City of Lafayette. Request for Proposals Municipal Airport Fixed Based Operator

Alpha Systems AOA Classic & Ultra CALIBRATION PROCEDURES

[Docket No. FAA ; Product Identifier 2018-CE-012-AD; Amendment. AGENCY: Federal Aviation Administration (FAA), DOT.

FareStar Ticket Window Product Functionality Guide

Atennea Air. The most comprehensive ERP software for operating & financial management of your airline

ARINC Project Initiation/Modification (APIM)

ultimate traffic Live User Guide

Aviation Data and Analysis Seminar February Economics of Airports and Air Navigation Services Providers

Part 141. Aviation Training Organisations Certification. CAA Consolidation. 10 March Published by the Civil Aviation Authority of New Zealand

Pre-Solo Written Exam

AMC and GM to Part-CAT Issue 2, Amendment 3

FAR Part 117 Flight and Duty Limitations and Rest Requirements: Flightcrew Members (with FAA Corrections as of November 19, 2013)

FLIGHT ENDURANCE. Participants analyze flight principles with rubber band powered model aircraft.

Learn to Fly: Private Pilot Ground School DeCal

Premier Avionics, LLC.

BEARHHAWK Weight and Balance

Decisions on which type of approach to use vary with each airline, and sometimes even for each flight. aero quarterly qtr_02 10

myldtravel USER GUIDE

Redelivery Management and Technical Aspects of Leases

Weight and Balance User Guide

AIRCRAFT RENTAL RULES AND REGULATIONS

ROYAL MALAYSIAN CUSTOMS GOODS AND SERVICES TAX GUIDE ON AIRLINE INDUSTRY

IRISH AVIATION AUTHORITY DUBLIN POINT MERGE. Presented by James O Sullivan PANS-OPS & AIRSPACE INSPECTOR Irish Aviation Authority

ATC Simulators. The manufacturer of

SAN FRANCISCO INTERNATIONAL AIRPORT

PALANGA AIRPORT INCENTIVE SCHEME

TRANSPORT CANADA PROFESSIONAL AVIATION CURRENCY PROGRAM Effective: 1 April 2007

TERMS OF REFERENCE. Drone Advisory Committee (DAC) Role Name or Title Organization. Director, UAS Integration Office. Director, UAS Integration Office

Civil Aviation Rules, 2052 (1996)

Terminal Space and Ratemaking

Mr. Randall Fiertz Director, Airport Compliance and Field Operations Federal Aviation Administration 800 Independence Ave, SW Washington, DC 20591

e-crew Horizon Air Trip Trades Notes for the Flight Attendants

CIVIL AVIATION REQUIREMENT SECTION 2 - AIRWORTHINESS SERIES E PART XI

The In-Flight Monetisation & Services Platform PRODUCT BROCHURE

A New Era. in Offshore Aviation. a SEACOR company

STUDENT INFORMATION Name LAST FIRST MIDDLE Address City State ZIP Telephone. Pilot Cert. TYPE CERT # DATE ISSUED Emergency Contact Phone Relationship

REVIEW OF THE STATE EXECUTIVE AIRCRAFT POOL

DRS RWANDA STANDARD. Flexible polyurethane foam for mattresses Specification Part 2: Mattresses. first edition mm-dd.

AMC and GM to Part-SPO Amendment 3

DGCA FDTL 2016: FLIGHT DUTY TIME AND FLIGHT TIME LIMITATIONS - CABIN CREW MEMBER

Takeoff. Travel Information For American Students Going Abroad Departures

Transcription:

Derivation of xuml Models Multiple Relationships Associative Relationships Competitive Relationships Specification Relationships Reflexive Relationships Examples

Multiple Associations between Pairs of Classes Multiple Roles for Classes o..* o..* Apartment Is rented by o..* rents o..* Tenant is occupied by lives in

There is a university in the city of Austin, Texas with 50,000 students. University which has departments. Departments have names, chairpersons, a mail stop and some professors. Students have majors in a given department and advisors but advisors may be in a department separate from the student s major. The system keeps track of how many credit hours each student has passed. Of course, students and professors all have UIDs. Professors have offices. 1. University (U) * name address enrollment 4. Professor (P) * UID name office Department (R4) 1..* 1..1 R1 1..* belongs to 1..* R4 is advised by R2 organizes advises 1..* 1..1 2. Department (D) * Dept. name Mail Stop Chairperson 1..* R3 1..* supervises majors 3. Student (S) * UID name credit advisor (R2) Major Dept. (R3) 3 9/13/2008

Specification Classes An airplane leasing company owns many instances of a given airplane and leases several different types of airplanes. Each airplane is characterized by a model number, an empty weight, a wingspan, a stall profile and a fuel consumption rate. The leasing company keeps track of the leasee and the maintenance status of each plane. The data kept includes the pilot, the mechanic, operational status and number of hours flown for each airplane. 4 9/13/2008

Specification classes abstract Aircraft Specification * Model Number.Stall Profile. Weight.Wingspan.Fuel consumption(r3) design is specified by 1..1 0..* R1 specifies design of concrete Aircraft * ID. Model Number (R1). Maintenance. Status. Assigned Pilot. Assigned Mechanic. Hours Flown Why two classes rather than one? 5 9/13/2008

Associative Classes and M to N Relationships M N relationships cannot be readily represented by referential attributes. M N relationship associative object 14. COMMITTEE (CO) * committee name other 1..* R2 1..* serves on is made up of 15. CLUB MEMBER (CLM) * member name address dues status 16. COMMITTEE MEMBERSHIP (COM) * member name (R2) * committee name (R2) expiration date 6 9/13/2008

Interaction classes - Associative classes An airlines reservation system sells reservations on flights and assigns seats on flights. The flights are characterized by departure airport, date and time and arrival airport, date and time. The passengers are characterized by name and telephone number. A reservation is for a passenger on a flight with a given seat at a specific cost. A passenger may book reservations on several flights and each flight has many passengers. 7 9/13/2008

Interaction Object - Associative Object Passenger * ID. Name. Phone Number is reserved for 0..* 0..* reserves Flight * ID. Departure Date. Departure Time. Departure Airport. Arrival Date. Arrival Time. Arrival Airport Reservation * Passenger ID(R1) * Flight ID(R1). cost. class. seat number 8 9/13/2008

Associate Relationships Scheduled Access An airlines reservation system sells reservations on flights and assigns seats on flights. Seats are scheduled on a first come first served basis and the flight is not overbooked. The flights are characterized by departure airport, date and time and arrival airport, date and time. The passengers are characterized by name and telephone number. A reservation is for a passenger on a flight with a given seat at a specific cost. A passenger may book reservations on several flights and each flight has many passengers. 9 9/13/2008

Interaction Object - Associative Object Request * Passenger ID(R1) * Flight ID(R1). cost. class. seat number A The symbol A indicates a special type of state machine called an Assigner which will be defined later. Passenger * ID. Name. Phone Number 0..* requests 0..*is reserved for reserves Reservation * Passenger ID(R1) * Flight ID(R1). cost. class. seat number 0.. seeks 0..* has reservation Flight * ID. Departure Date. Departure Time. Departure Airport. Arrival Date. Arrival Time. Arrival Airport 10 9/13/2008

Associate Relationships Scheduled Access The specification for one concrete example of the Consistent and Auditable Data Objects Problem is updating the locations of airplanes being tracked and updated by agents at radar consoles. Agents have a unique identifier. The airplane, which has a unique identifier and a location specified as a string, may appear on one or more radar consoles at a given time. Any or all of the agents who sees a given airplane on their radar screen may request to update the location of that plane but consistency requires that only one agent at a time update the position of any given plane. Security requires that must be a record of updates to the positions of the airplanes so there is accountability in case of a collision. 11 9/13/2008

Approximate Class Diagram for The Consistent and Auditable Data Objects Problem RequestPermission *AP-ID *AG-ID TimeOfRequest A Airplane *AP-ID. Location Requests to update Is updated R1 Is requested by Is updated by Agent *AG-ID R2 LocationUpdate *AP-ID *AG-ID.TimeOfUpdate 12 9/13/2008

Role classes as Associative classes A silicon wafer is formed and then is inspected at an inspection station. Each wafer is processed through inspection stations by one or more inspection scripts. An inspection script has an area to cover, a temperature and a scan method. There are many wafersand several inspection stations. A wafer may undergo inspection under the control of several scripts. A wafer is regarded as in process until it completes all of its inspections. Wafer * ID contains 0..* 100* R1 Inspection Station * ID is loaded in Wafer in Process * Wafer ID (R1) * Station ID (R1). Inspection Script (R2) directs processing 0..* R2 0..* is processed by Inspection Script * ID. area to cover. temperature. scan method 13 9/13/2008

Requirements Statement for Hotel Room Reservation System A hotel is developing a system for matching available rooms to requests for reservations from potential guests. The potential guest provides a request for a room for some dates and the system is to match the available supply of rooms available for specific dates to the requests for rooms on a given date. 14 9/13/2008

is reserved for 1. Guest for Date (D) * Guest ID (R1). Date. Status R1 4. Guest (G) * Guest ID Name Address Number of nights stayed R3 3. Reservation (V) * Room ID (R3) * Guest ID (R3) * Date (R3) 2. Room for Date (R) * Room ID (R2). Date. Status has reserved 5. Room (M) * Room ID. Noise Index. Bed Type R2 In practice this reservation situation would be competitive and a Request class would be required. 15 9/13/2008

3. Request) * Guest ID (R3) * Date (R3) A 1. Guest for Date (D) * Guest ID (R1). Date. Status R1 4. Guest (G) * Guest ID Name Address Number of nights stayed R3 3. Reservation (V) * Room ID (R3) * Guest ID (R3) * Date (R3) 2. Room for Date (R) * Room ID (R2). Date. Status 5. Room (M) * Room ID. Noise Index. Bed Type R2 In practice this reservation situation would be competitive and a Request class would be required. 16 9/13/2008

Dog Adoption Agency A dog adoption agency accepts requests for dogs from potential adopters (=parents). The potential parent specifies the characteristics of the dog desired. Dogs are sent to the agency to be assigned to parents. When a parent makes an application then the agency tries to match the request. If a dog is available then an assignment is made. Note the possible competition for dogs considered desirable. The parent also has the option of returning the dog after a six months probationary period and either asking for a new dog or withdrawing from the adoption program. 17 9/13/2008

Competitive assigner where instance of Relationship Object has State Model 1. Dog(D) Dog_id Breed Status has adopted R1 is in custody of 2. Parent (P) *Parent_id Address Preferred Breed Status 3. Adoption (A) *Parent_id(R1) *Dog_id(R1). Date of Adoption. Status Parent has 6 months to finalize adoption. Normally associate objects do not have state machines, this one does because the parent can return the dog within six months. This is managed in the associate object. 18 9/13/2008

is a Relationships Specialization of classes to serve more differentiated roles. Similar to inheritance in object-oriented programming languages. 2. DOCUMENTATION * documentation title type product ID (R1) date R1 is a 3. INSTALLATION MANUAL (IM) * name (R1) other 4. REFERENCE MANUAL (RM) * name (R1) other 5. MAINTENANCE MANUAL (MM) * name (R1) other 19 9/13/2008

Examples of classes/relationships (Shlaer/Mellor) Juice Factory Process Control System 10. TANK (T) * tank ID capacity building (R10) "is a" 4. STORAGE TANK (S) * tank ID (R100) 5. MIXING TANK (M) * tank ID (R100) mixer on/off 6. HEATING TANK (H) * tank ID (R100) heater ID (R36) 20 9/13/2008

EXAMPLE OF COMBINING "has" AND "is a" RELATIONSHIPS 2. DOCUMENTATION * documentation title type product ID (R1) date R2 is a R1 defines 1. PRODUCT * product ID other 3. INSTALLATION MANUAL (IM) * name (R1) other 4. REFERENCE MANUAL (RM) * name (R1) other 5. MAINTENANCE MANUAL (MM) * name (R1) other 21 9/13/2008

Role classes A flat object has a front side and a back side. An object model for a circumstance where it is needed to include front and back sides can be represented as follows. Side * ID. Color. Texture. BitmapID(R1). Flat Shape ID(R2,3) Back Side ID FS-ID(R3) R3 Flat Shape * FS-ID is drawn on R1 Bitmap * ID has drawn Front Side ID.FS-ID(R2) R2 22 9/13/2008

Requirements Analysis for Checking Accounts There are three types of accounts: checking accounts, savings accounts and automatically-funded accounts or "Christmas Club" accounts. Some types of accounts bear interest and some types of accounts do not bear interest. For example, a regular checking account does not bear interest. On the other hand, a savings account, a Christmas Club account or a checking account with interest are all interest-bearing accounts. All accounts have an account ID, a balance and a customer ID. A checking account has fees determined by the number of transactions each month. A savings account has a limit on the number of transactions in a given month. A Christmas Club account is tied to a checking account from which a weekly deposit amount is transferred. An interest-bearing checking account has an interest rate which it pays as does a savings account and a Christmas Club account. An interest-bearing checking account also has a limit on the number of transactions per month. The task is to construct an information model reflecting the "has a" and "is a" relationships of this requirements analysis. 23 9/13/2008

is source for R4 R1 2. CHECKING *account ID (R1) 5. REGULAR CHECKING * Account ID (R2). number of trans this month 1. ACCOUNT *Account ID. Balance. Customer ID(R10) 3. SAVINGS * account ID (R1, R3). # of trans this month R2 6. CHECKING WITH INTEREST * Account ID (R2, R3) R3 is funded from 4. CHRISTMAS *Account ID (R1, R3). weekly deposit.checking account(r4) 7. INTEREST BEARING ACCOUNT *Account ID. Interest Rate R3 More complex is a relationships. 24 9/13/2008

TIMER OBJECTS Timers are an explicit element of the method Timer instances are created and reused. Multiple timer objects are created as needed. States for Timer set, counting, firing, resetting Events for Timer TIM1: set_timer (timer ID), duration, event label, instance ID) TIM2: reset_timer (timer ID) TIM6: tick_occurred (timer ID) TIM7: fire (timer ID) 25 9/13/2008

TIMER OBJECTS Object Definition: TIM1: Set Timer TIMER (TIM) * Timer ID time remaining event label identifier data other data TIM2 TIM6: Tick occurs 1. SET set values initiate "ticks" 2. counting down set values if (t < tr) then generate TIM7 TIM2: Reset Timer TIM6 TIM2 TIM7: Fire Timer 2. RESET 3. Firing generate event as defined by Timer, Event label and Timer, Instance ID; generate TIM2: Reset Timer (timer ID) 26 9/13/2008 TIM2

Reflective Relationships The Drug Manufacturing Problem When a patent on a given prescription drug expires it becomes available for manufacture by companies other than the original patent holders. Potential manufacturers of the drug may apply for licenses to manufacture the drug. Each drug may require certain other drugs for its manufacture. To become licensed to manufacture a given drug requires that the manufacturer already hold a valid license for those drugs required for the manufacture of the drug for which the application is made or have an application for a license to all of the constituent drugs. A given manufacturer cannot simultaneously hold licenses for more than k drugs. If there are simultaneous applications by a single manufacturer or licenses for a given drug and its constituent drugs either all are approved or all are rejected. The applications are evaluated in FIFO order and those applicants who qualify are licensed to manufacture the drug for some fixed duration. Applications which do not qualify are rejected and deleted from the system. 27 9/13/2008