12.07.2015 Views

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DEV475</strong> <strong>Mastering</strong> <strong>Object</strong>-<strong>Oriented</strong> <strong>Analysis</strong> <strong>and</strong> <strong>Design</strong> <strong>with</strong> <strong>UML</strong>An <strong>Object</strong> Has StateAn <strong>Object</strong> Has State• The state of an object is one of the possibleconditions in which the object may exist.• The state of an object normally changes overtime.Name: J ClarkEmployee ID: 567138Date Hired: July 25, 1991Status: TenuredDiscipline: FinanceMaximum Course Load: 3 classesName: J ClarkEmployee ID: 567138HireDate: 07/25/1991Status: TenuredDiscipline: FinanceMaxLoad: 3Professor Clark<strong>Mastering</strong> <strong>Object</strong> <strong>Oriented</strong> <strong>Analysis</strong> <strong>and</strong> <strong>Design</strong> <strong>with</strong> <strong>UML</strong>Copyright © 2003 Rational Software, all rights reserved 10• The state of an object is one of the possible conditions that an object may existin, <strong>and</strong> it normally changes over time.• The state of an object is usually implemented by a set of properties calledattributes, along <strong>with</strong> the values of the properties <strong>and</strong> the links the object mayhave <strong>with</strong> other objects.• State is not defined by a “state” attribute or set of attributes. Instead, state isdefined by the total of an object’s attributes <strong>and</strong> links. For example, if ProfessorClark’s status changed from Tenured to Retired, the state of the Professor Clarkobject would change.2 - 10

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!