The State of Status Copyright © 1999 Patrick McDermott UC Berkeley Extension pmcdermott@msn.com

Preview:

Citation preview

The State of Status

Copyright © 1999 Patrick McDermott

UC BerkeleyExtension

pmcdermott@msn.com

Etymology

• State• Status

• Mode

State vs. Value

• State same as value?• Bank account with $123,456 different

STATE than $123,457?

State

• Coke Machine• Not for each amount: price changes, so does

state diagram; Yen dif from $ • 2do: Graphix

Course

• Tentative• Under-enrolled• Open• Closed• Cancelled

Order

• Placed• Pending• Filled• Closed

Employee

• Prospect• Applicant• Candidate• Employee• Retiree

2, not 1

• Paid• Fulfilled

Task

• Created• Assigned• Closed

– no more hours

Assumed Serial State

• Order of an Order• DMV

• See Note Page

Questions

• Can they be separate classes?– Different Enough?

• Can you swim upstream?• Can you Re-Open?

– Re-start– Different then?

Employee

• Prospect• Applicant

Separate Class

PROSPECT

APPLICANT

EMPLOYEE

RETIREE

Generalization

PROSPECT APPLICANT CURRENT RETIREE

EMPLOYEE

Status Attribute

EMPLOYEE

StatusCode: char

Status CodesP – ProspectA – ApplicantE – EmployeeR – Retiree

Recommended