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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Module 6 - Use-Case <strong>Analysis</strong>The Role of an Entity ClassThe Role of an Entity ClassActor 1Actor 2Store <strong>and</strong> manage information in the system<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 19Entity classes represent stores of information in the system. They are typically used torepresent the key concepts that the system manages. Entity objects (instances of entityclasses) are used to hold <strong>and</strong> update information about some phenomenon, such asan event, a person, or a real-life object. They are usually persistent, having attributes<strong>and</strong> relationships needed for a long period, sometimes for the lifetime of the system.The main responsibilities of entity classes are to store <strong>and</strong> manage information in thesystem.An entity object is usually not specific to one Use-Case Realization <strong>and</strong> sometimes itis not even specific to the system itself. The values of its attributes <strong>and</strong> relationshipsare often given by an actor. An entity object may also be needed to help performinternal system tasks. Entity objects can have behavior as complicated as that of otherobject stereotypes. However, unlike other objects, this behavior is strongly related tothe phenomenon the entity object represents. Entity objects are independent of theenvironment (the actors).6 - 19

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

Saved successfully!

Ooh no, something went wrong!