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.

Module 2 - Concepts of <strong>Object</strong> OrientationA More Formal DefinitionA More Formal Definition• An object is an entity<strong>with</strong> a well-definedboundary <strong>and</strong> identitythat encapsulates state<strong>and</strong> behavior.• State is represented byattributes <strong>and</strong>relationships.• Behavior is representedby operations, methods,<strong>and</strong> state machines.AttributesOperations<strong>Object</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>Copyright © 2003 Rational Software, all rights reserved 9• An object is an entity that has a well-defined boundary. That is, the purpose ofthe object should be clear.• An object has two key components: attributes <strong>and</strong> operations.• Attributes represent an object’s state, <strong>and</strong> operations represent the behavior ofthe object.• <strong>Object</strong> state <strong>and</strong> behavior are discussed on the next few slides.2 - 9

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

Saved successfully!

Ooh no, something went wrong!