UNIT - II Object Model
UNIT - II Object Model
CHAPTER 3
SYSTEM MODELS
SYSTEM MODELS
• 1.Context models
• 2. Behavioural models
• 3.Data models
• 4.Object models
• 5.Structured model
SYSTEM MODELS
• 1.Context models
• 2. Behavioural models
• 3.Data models
• 4.Object models
• 5.Structured model
Context Models
• For example
• a person or a car can be viewed as a data object
in the sense that either can be defined in terms
of a set of attributes. The description of the data
object incorporates the data object and all of its
attributes.
• the data object can be represented as a table as
shown in following table. The headings in the
table reflect attributes of the object.
DATA MODELING
DATA MODELING
• Data Attributes
• Data attributes define the properties of a data
object and take on one of three different
characteristics.
• They can be used to
• (1) name an instance of the data object,
• (2) describe the instance
• (3) make reference to another instance in
another table.
DATA MODELING
• Relationships
• Data objects are connected to one another in
different ways. Consider the two data objects,
person and car.
• These objects can be represented using the
following simple notation and relationships are
• 1) A person owns a car,
• 2) A person is insured to drive a car