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 IdentityAn <strong>Object</strong> Has Identity• Each object has a unique identity, even ifthe state is identical to that of anotherobject.Professor “J Clark”teaches BiologyProfessor “J Clark”teaches Biology<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 12In the real world, two people can share the same characteristics: name, birth date,job description. Yet, there is no doubt that they are two individuals <strong>with</strong> their ownunique identities.The same concept holds true for objects. Although two objects may share the samestate (attributes <strong>and</strong> relationships), they are separate, independent objects <strong>with</strong> theirown unique identity.2 - 12

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

Saved successfully!

Ooh no, something went wrong!