Finding Classes Copyright © 1999 Patrick McDermott College of Alameda [email protected] A...

10
Finding Classes Copyright © 1999 Patrick McDermott College of Alameda [email protected] A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry into Antient Armour (1842)

Transcript of Finding Classes Copyright © 1999 Patrick McDermott College of Alameda [email protected] A...

Page 1: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

Finding Classes

Copyright © 1999 Patrick McDermott

College of [email protected]

A Quest:David, Earl of Huntingdon, 1120from A Critical Inquiry into Antient Armour (1842)

Page 2: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

A Class Tracks…

An Entity: A Thing the Business needs to know about.

At this stage, a business person should be able to understand every one of them.

“Entity” is best defined by examples…

Page 3: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

People

George Romney (1734-1802)Emma, Lady Hamilton (1761-1815)1786

Albrecht Dürer (1471-1528)Self-Portrait1498

Page 4: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

Places

Page 5: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

Things

Gustave Caillebotte (1848–94)Le pont de l’Europe

1877

Katsushika Hokusai 葛飾北斎 (1760-1849)Fuji from beneath Mannen Bridge in Fukagawa

Fukagawa mannenbashi shita深川万年橋下

36 Views of Mount Fuji富嶽三十六景 Fugaku Sanjūrokkei

ca. 1831-1834

Page 6: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

Events

Meeting of the RailsPromontory Point, Utah, 1869

Andrew J. Russell

Page 7: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

OrganizationsDorothea Lange (1895-1965)Richmond shipyards, 1943

Dorothea Lange (1895-1965)End of shift 3:30, Richmond, California

September 1943

Page 8: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

Examples of Classes

Tangible• People

– Employees– Students

• Places– Shipping Locations– Offices

• Things– Equipment– Vehicles

Intangible• Accounts• Cost Centers• Departments• Grades

Page 9: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

You need a Class if…• There’s a form• There’s a number• There’s a file• There are several copies• It’s Important• NOTE—

– Sections and boxes on Forms– The name might not be obvious

They’re Everywhere!

Page 10: Finding Classes Copyright © 1999 Patrick McDermott College of Alameda pmcdermott@peralta.edu A Quest: David, Earl of Huntingdon, 1120 from A Critical Inquiry.

Classes have Responsibilities• Personification Helps

– What if a person, not a computer, does it?– Obligation or Contract

• Know Things– Invoice: Know who the Customer is

• Do Things– Invoice: Compute Total