Kaz Remember these boy!!!! For Asssesment Flashcards
mention the point to consider when identifying classes .
retained information
needed services
multiple attributes
common attributes
common operations
essential requirements
descibe the type of classes
entity class. represnts things stored in the database
boundary. cretes the interface that the user sees and interacts with. its made to present how entity objects are presented.
controller class.manage the unit work from start to finish.u can manage
- create or update objects.
-instantiate boundry class as they obtain from entity classses
what is a crc card and draw one
top- class name
left- responsibilities. anything the class knows or does.
right - collaborators, these are classes that have info in order for a responsibity to be complete.
cd modifiers
+ public
- private
protected(curvy minus)
CD relationships and draw symbols
association
aggregation (unshaded diamond starts from whole class)
generalization (arrow pionting super class)
composition(shaded diamond)
aggregation
the whole-part relationship between two classes where one class is considered a whole, made up of one or more classes comprising its parts.
Composition
Another type of aggregation, in which the part classes used to make the whole class cannot exist on their own
Generalization
Type of a relationship between a more general class and a specific class.
Multiplicity
Shows how many objects of one class are related to objects of another class
2 types of requirements classifications
Functional requirements describe system functions
Non-functional requirements are constraint on the system
2 requirement documents
User requirements
Statements in natural language plus diagrams of the services the system provides and its operational constraints. Written for customers.
System requirements
A structured document setting out detailed descriptions of the system’s functions, services and operational constraints. Defines what should be implemented so may be part of a contract between client and contractor.
describe an immutable class