Presentation is loading. Please wait.

Presentation is loading. Please wait.

UML for database design1 Business analysis- Naiburg and Maksinchuk (UML for database design ) The first phase systems analysis. Identify business actors.

Similar presentations


Presentation on theme: "UML for database design1 Business analysis- Naiburg and Maksinchuk (UML for database design ) The first phase systems analysis. Identify business actors."— Presentation transcript:

1 UML for database design1 Business analysis- Naiburg and Maksinchuk (UML for database design ) The first phase systems analysis. Identify business actors and their roles prior to system use cases. Distinguish between –Business actors. –Actors. In ARGOUML these can be represented as stereotypes.

2 UML for database design2 Business Use case elements Distinguish between –Business use cases. –System Use cases. Activity diagrams are used to indicate the activities carried out by actors involved in use cases. At least one activity diagram per use case. Initial business models are built. Database designers can see required elements for databases.

3 UML for database design3 Business Use case symbols

4 UML for database design4 Build up a context of the system to be examined

5 UML for database design5 Look in side the context for activities Initial analysis of EAB reveals 30 use cases so W.A.V.E. some away. Does the use case describe What to do and not how? Is the use case described from the Actors point of view. Does the use case include Value for the actor. Is the flow of events an Entire business process.

6 UML for database design6 Business Use case model expanded.

7 UML for database design7 Activity Diagrams in EAB Used to explain the detailed interaction between the Actors and the use case. Describes one use case usually. Describes the sequence of activities contained within the use case. Graphical alternative to textual templates.

8 UML for database design8 EAB Activity example

9 UML for database design9 Identify Business Objects Differentiate between –Business actors. –Business workers. –Business entities. –These too can be defined using classes with stereotypes in ARGOUML. After all actors are special instances of classes. Inquirer Facility Manager Clinical Records Business object model for Respond to Inquiry business use case

10 UML for database design10 Representing Business Objects in ARGOUML and Rational Rose We use the class modelling element to represent the relationships between business objects. Create an ordinary class objects but set the stereotype to business entity or one of the others. To create the stereotype. Press the up arrow until you get to the model level in the hierarchy of model elements. You will recognise it by the menu bar. Then choose the add stereotype button. ARGOUML has a business, worker, and entity stereotype already.

11 UML for database design11 Representing Business Objects in ARGOUML and Rational Rose Once a stereotype is created then you can attach it to any class definition. Thus we can get the equivalent representation as shown. Note the attribute and operation compartments are hidden. The same effect can be achieved in rational rose. The relationship between objects is important from the point view of the database designer as it can indicate –Access to data object by certain entities (workers and actors) –Information which will need to be stored (business entities)

12 UML for database design12 Sequence diagrams and business objects Sequence diagram show the detailed interaction between objects. Can be used to show the interaction between business objects. From these diagrams we can gather new information for the object model.

13 UML for database design13 Example from EAB of business object model development From the following part of the Use Case model.

14 UML for database design14 Activity diagram for manage clinical records

15 UML for database design15 Sequence diagram for transfer records in

16 UML for database design16 Divulging further information about business models From sequence diagrams and activity diagrams we can get an indication elements of a business object model and their nature and relationships. For example from the sequence diagram we can see that there are two types of clinical records. We also see who has access to the clinical records. This is important for the database designer. From this information and a few more sequence diagrams we get a business object model for this part of the system.

17 UML for database design17 Business object model for manage clinical records ARGOUML Notation

18 UML for database design18 A complete Business object model for manage clinical records - book notation

19 UML for database design19 A complete business object model for manage clinical records ARGOUML Looking at further activities and sequence diagrams (see text book) we get a more complete picture.

20 UML for database design20 Stipulating roles of actors Again Use class generalisation (hierarchy) to represent roles of various actors with stereotypes. Only part Of Diagram show Here See text for Complete Diagrams.

21 UML for database design21 Stipulating roles of actors Book notation

22 UML for database design22 Why Business Model? Business practices and actors roles change when a computer system is introduced. Interaction between different types of actors gives an initial object model, which can be used for both –database design –class diagrams. Preloads system use case diagrams. A lot of the time there will be little difference between business and system use case models, if the business practices are initially well structured (although the role of some individuals might still change.

23 UML for database design23 Moving to the System Model All business modelling elements must be included in the system model. We look at all the models developed –Business use case model. –Activity diagrams and use case templates if available. –Sequence diagrams. –Business object model In the Business ModelIn the System Model Business use CasesBecomeSubsystems Business ActorsBecomeActors Business workersBecomeActors or Use Cases Business workers’ activities BecomeUse Cases

24 UML for database design24 Moving to the System Model We look to automate the activities of some of the business workers. We can do this by looking at the activity diagrams involving the business actors and combining activities carried out into a use case. We also want to carry over the external business actors to the system use case We also look at the Actor generalisations. –We use the generalised name on the system use case. –We look for overlap in the functions carried out by actors to come up with common use cases.

25 UML for database design25 System Use Case EAB By examining the various artefacts produced in the business analysis we come up with the following system diagram.

26 UML for database design26 EAB system Use case Assess Clinical Records sub-use case


Download ppt "UML for database design1 Business analysis- Naiburg and Maksinchuk (UML for database design ) The first phase systems analysis. Identify business actors."

Similar presentations


Ads by Google