UML Class Diagrams for Software Engineering Flashcards
What is a (data) model?
A model is systematic description of an object or phenomenon that shares important characteristics with the object or phenomenon.
What is a Business Domain?
In OOP a Business Domain is the set of classes that represent objects in the business model being implemented.
How Business Domain differs from Business Model?
The business model is an understanding and explanation of information and behaviors in the problem domain, while the business domain is an implementation of that model in a specific programming language.
Why is UML class diagrams the prime modelling instrument used to map out specific business domains?
UML class diagram will enable to pinpoint what makes a business unique and provides a good starting point for developing an information system.
Why is domain modelling important?
A domain model allows a deeper understanding of that domain which is crucial for creating software systems that can adapt to the ever changing requirements of their users.
When does a system design fail to adapt to changing requirements?
When the system’s design doesn’t embody the core concept of the business.
Why understanding the core concept of a business is essential?
Because to ensure adaptability the domain model capturing the core concepts needs to be
at the heart of the information system.
What is a modelling language?
A modeling language is a collection of modelling techniques.
What does UML consist of?
Unified Modelling Language is a collection of over 9 different
modelling techniques.
List UML modeling techniques
Structure Diagrams: Class Diagram. Component Diagram. Deployment Diagram. Object Diagram. Package Diagram. Profile Diagram. Composite Structure Diagram. Behavioral Diagrams: Use Case Diagram. Activity Diagram. State Machine Diagram. Sequence Diagram. Communication Diagram. Interaction Overview Diagram.
What is a modeling technique?
A modelling technique is what you use to write down a model.
It’s a collection of symbols, with a set of rules that define how these symbols can be composed in a valid way to form a model.
What is BPMN?
Business Process Model and Notation. It is a graphical representation for specifying business processes in a business process model.
What is a Class Diagram?
Is a technique to map out the structure
of a business domain.
It visualizes the business objects,
the information about these objects and how the objects are related to each other.
List a few modeling techniques
Entity Relationship Modelling, UML State charts, Flow Charts, Process Diagrams, Petri Nets, Event Process Chains, and so on.
What are Information Science perspectives about data?
Typical viewpoints in IS design are the data perspective, the behavioural perspective and
the interaction perspective.
List some Business Modeling techniques with the same viewpoint
Business process modelling can be done with BPMN Process diagrams or with Petri Nets.
Conceptual data modelling can be done with entity relationship modelling or
with UML Class diagrams.
What is the Entity Relationship Modeling Technique used for?
It was created for database conceptual design and was later extended with insights from semantic modelling, becoming the “Extended Entity
Relation modelling” technique.
What do different Data Modeling Techniques have in common?
they all rely on the same concept of
classes, represented as boxes, and associations, represented as lines that connect those boxes.
Those associations are adorned at their end with cardinalities.
The most prominent difference between the various techniques, is the way those cardinalities are represented.
What is a Class?
A class represents a collection of objects that conform to its intent and is the template or a model for a group of real world objects that are similar.
What is the “Intent of a Class”?
It is the definition of the concept that captures class membership. For example a person is a college student only if that person is subscribed for at least one study program at some university.
What is the “Extent of a Class”?
Is the representation of a collection of objects that conform to its intent.
What does the Intent class template focus on?
It captures characteristics that are relevant about the objects in the class.
What are the “attributes” of a Class?
The characteristics and information about every individual object in a class.
What is the use of data types?
Data types constrain the values that can be given for a particular attribute.
When an instance is given a value for an attribute, this value has to follow the constraints implied by its own data type.
Data types also define the permissible operations on a certain object property.
How does UML represents Class Diagrams?
With Boxes labeled with the Class’s name.
How does UML class diagram represent attributes and data type?
In a UML class diagram attributes and their data types are written in a box below the Class Name.