Building The Analysis Model
Building The Analysis Model
Subject code:19CS302
B.Tech III Year – I semester
UNIT II
Building the analysis model
Session VI
S.NYAMATHULLA
ASSISTANT PROFESSOR
DEPARTMENT OF INFORMATION TEHCNOLOGY
agenda /outcomes
Why Data Modeling concepts?
Data Objects
Data Attributes
Relationships
Class - Based Modeling
Specifying Attributes
Defining Operations
Why Data Modeling concepts?
That arm() and disarm() are operations that apply to System class.
Class-Responsibility-Collaborator
In the body of the card you list the class responsibilities on the left and the
collaborators on the right
Class-Responsibility-Collaborator
Responsibilities are the attributes and operations that are relevant for the class.
Stated simply,
Collaborators are those classes that are required to provide a class with the
information needed to complete a responsibility.
collaboration implies either a request for information or a request for some action
Class-Responsibility-Collaborator
• Entity classes, also called model or business classes, are extracted directly
from the statement of the problem (e.g., Floor Plan and Sensor).
• Boundary classes are used to create the interface (e.g., interactive screen or
printed reports) that the user sees and interacts with as the software is
used.
Class Types
• Controller classes : manage a “unit of work” from start to finish. That is,
controller classes can be designed to manage .
The creation or update of entity objects;
Validation of data communicated between objects or between the user and the
application.
Collaborations
• Classes fulfill their responsibilities in one of two ways:
A class can use its own operations to manipulate its own attributes,
thereby fulfilling a particular responsibility, or
A class can collaborate with other classes.
Collaborations identify relationships between classes
Collaborations are identified by determining whether a class can fulfill
each responsibility itself
Collaborations
• Three different generic relationships between classes
Dependencies
Analysis Packages