MARGINALIZATION (Different learners in Marginalized Group
Module 1 uml - usecase digram
1. CST 205 - Object Oriented Programming Using Java
Prof. Sarju S
17 August 2020
2. Page 2 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Approaches to Software Design - Functional Oriented Design, Object
Oriented Design, Case Study of Automated Fire Alarm System.
► Object Modeling Using Unified Modeling Language (UML) – Basic Object
Oriented concepts, UML diagrams, Use case model, Class diagram,
Interaction diagram, Activity diagram, State chart diagram.
► Introduction to Java - Java programming Environment and Runtime
Environment, Development Platforms -Standard, Enterprise. Java Virtual
Machine (JVM), Java compiler, Bytecode, Java applet, Java Buzzwords,
Java program structure, Comments, Garbage Collection, Lexical Issues.
4. Page 4 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► A standardized modeling language consisting of an integrated set of
diagrams,
► developed to help system and software developers for specifying,
visualizing, constructing, and documenting the artifacts of software
systems
► as well as for business modeling and other non-software systems.
5. Page 5 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► The first thing to notice about the UML is that there are a lot of different
diagrams (models) to get used to.
► The reason for this is that it is possible to look at a system from many
different viewpoints.
► A software development will have many stakeholders playing a part
► Analysts
► Designers
► Coders
► Testers
► Quality Assurance
► The Customer
► Technical Authors
6. Page 6 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://cdn-images.visual-paradigm.com/guide/uml/learn-the-14-uml-diagram-types/01-uml-diagram-types.png
8. Page 8 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► A UML use case diagram is the primary form of system/software
requirements for a new software program underdeveloped.
► Use cases specify the expected behavior (what), and not the exact
method of making it happen (how).
► Use cases once specified can be denoted both textual and visual
representation (i.e. use case diagram).
► A key concept of use case modeling is that it helps us design a system
from the end user's perspective.
► It is an effective technique for communicating system behavior in the
user's terms by specifying all externally visible system behavior.
9. Page 9 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► It only summarizes some of the relationships between use cases,
actors, and systems.
► It does not show the order in which steps are performed to achieve the
goals of each use case.
10. Page 10 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► These days use case modeling is often associated with UML, although it
has been introduced before UML existed. Its brief history is as follow:
► In 1986, Ivar Jacobson first formulated textual and visual modeling techniques for
specifying use cases.
► In 1992 his co-authored book Object-Oriented Software Engineering - A Use Case
Driven Approach helped to popularize the technique for capturing functional
requirements, especially in software development.
11. Page 11 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Use case diagrams are typically developed in the early stage of
development
► Specify the context of a system
► Capture the requirements of a system
► Validate a systems architecture
► Drive implementation and generate test cases
► Developed by analysts together with domain experts
12. Page 12 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://cdn-images.visual-paradigm.com/guide/uml/what-is-use-case-diagram/02-use-case-diagram-annotated.png
13. Page 13 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Actor
► Someone interacts with use case (system function).
► Named by noun.
► Actor plays a role in the business
► Similar to the concept of user, but a user can play different roles
► For example:
► A prof. can be instructor and also researcher
► plays 2 roles with two systems
► Actor triggers use case(s).
► Actor has a responsibility toward the system (inputs), and Actor
has expectations from the system (outputs).
14. Page 14 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Use Case
► System function (process - automated or manual)
► Named by verb + Noun (or Noun Phrase).
► Each Actor must be linked to a use case, while some use cases
may not be linked to actors. Use Case
15. Page 15 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Communication Link
► The participation of an actor in a use case is shown by connecting
an actor to a use case by a solid link.
► Actors may be connected to use cases by associations, indicating
that the actor and the use case communicate with one another
using messages.
16. Page 16 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Boundary of system
► The system boundary is potentially the entire system as defined
in the requirements document.
► For large and complex systems, each module may be the system
boundary.
► For example, for an ERP system for an organization, each of the
modules such as personnel, payroll, accounting, etc.
System
17. Page 17 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► There can be 5 relationship types in a use case diagram.
► Association between actor and use case
► Generalization of an actor
► Extend between two use cases
► Include between two use cases
► Generalization of a use case
18. Page 18 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► An actor must be associated with at least
one use case.
► An actor can be associated with multiple use
cases.
► Multiple actors can be associated with a
single use case.
Source: https://creately.com
19. Page 19 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Generalization of an actor means that one
actor can inherit the role of the other actor.
► The descendant inherits all the use cases of
the ancestor.
► The descendant has one or more use cases
that are specific to that role.
Source: https://creately.com
20. Page 20 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► The extending use case is dependent on
the extended (base) use case.
► The extending use case is usually
optional and can be triggered
conditionally.
► The extended (base) use case must be
meaningful on its own.
Source: https://creately.com
21. Page 21 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Include relationship show that the
behaviour of the included use case is
part of the including (base) use case.
► The main reason for this is to reuse the
common actions across multiple use
cases.
► In some situations, this is done to
simplify complex behaviours.
► The base use case is incomplete without the
included use case.
► The included use case is mandatory and not
optional. Source: https://creately.com
22. Page 22 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://www.uml-diagrams.org
23. Page 23 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://www.uml-diagrams.org
24. Page 24
Thank You
Prof. Sarju S
Department of Computer Science and Engineering
St. Joseph’s College of Engineering and Technology, Palai
sarju.s@sjcetpalai.ac.in