UML - Use of include and extend

Asked

Viewed 25 times

1

I’m setting up an UML as a case study and I found doubts when it came time to assemble.

First case:

The first exercise informs that there are two actors: the student and the secretary and this student asks information to the secretary about what lectures the company offers. If the student is interested in any of them, will ask for information such as: what would be the times, the date, the name of the speaker.

If it pleases the student, he will make an inscription to the lecture that he was interested in. If he has never participated in any company lecture, therefore, is not registered, must be registered in the company before making the registration.

So then by my reasoning:

The student will request information from the secretary (communication relationship);

So you’re going to check out the themes and that would be a request information extension since I need to request it first, right? And he is not obliged to check the theme. He goes into the question of "case you want"

So, will perform the inscription in this theme. That would be a theme only extend or need to pull from the student? I think you do not pull the student because to enroll in something need before checking. This I’m still grabbing...

But following: dai teria um include de inscrição -> manter registro pois é obrigatório o registro. I can just let him as include or in case should pull a student relationship?

Second case:

Now I need to make a web sales system

The user will inform the city and airport that will depart and the desired destination location. This informs if the ticket is only one way or one way back.

From there, the user will check whether the options that appear will please him. If yes, you should click to buy the tickets and you will choose how to pay.

The exercise says that the user interacts directly with the web page. I need this web page as an actor or not?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.