UML, Use case diagram

8

I have a question regarding the use-case diagram, it follows the original version I put together:

However,whenIwrotethedescriptionofusecases,Ihadanideathatmightbetterrepresenttheneedforthesystem.

Thepedagogicalnucleusregistersstagebuttoregisterthestageitisnecessaryinformationofthecompanyinwhichtheinterningis,soontoregistercompanyisanextensionofregistrationstagethatisstillrelatedtotheactorcorepedagogical?

Thereisalsotheusecaseofdesignatingteacher,who,afterregistrationbythepartofthepedagogicalnucleus,thestagecoordinatorassignsateachertobeanadvisoroftheinterning,wouldbethenDesignateateachertoincludeastageregister,alsolinkedwithastagecoordinatorwhohasaccess?

I'vecreatedanexamplediagramthatbestexplainsmyquestion:

Summarizing my doubt: are there any extend and include links, or am I understanding the wrong concept?

    
asked by anonymous 07.09.2015 / 01:51

1 answer

11

It is important to reinforce the include and extend concepts . Maybe that's the only way you can resolve your doubts yourself. So come on ...

  • include:

    When we use include , we are indicating that always that use case A runs, use case B will run. It can then be simplified by saying that A includes B.
  • extend:

    When we use extend , the use case will not necessarily run every time. That is, the use case may or may not be run as well. It is important to remember that the end of the arrow will be on the side that receives the extended functionality.

Nowlet'sgetdowntoyourproblem:

Thecorepedagogicalactor,whoregisterstheinternshipandwillnotnecessarilysignupforthecompany.Forthesimplereasonofthepossibilityexiststhatithasalreadybeenregisteredbefore.Soyouhavecorrectlyusedextend.However,hewillnotbedirectlyconnectedtotheactor.

Attentioninthedirectionofthearrowsintheinclude!Asyouwrote,itimpliesthatwhentheactorappointstheteacherhewillhavetoregisterthestage(AincludesB,remember?).

Graphic Example http://i60.tinypic.com/2jcdkkz.jpg

    
07.09.2015 / 03:47