Question

In: Computer Science

What is the enhanced ER Model? Explain extended ER features: Specialization, Generalization, and Aggregation with your...

What is the enhanced ER Model? Explain extended ER features: Specialization, Generalization, and Aggregation with your clear definitions/ideas/differences in your own words and give at least one appropriate example for each one of them?

Solutions

Expert Solution

ER Model

ER Model is used to model the logical view of the system from data perspective which consists of these components:

Entity, Entity Type, Entity Set –

An Entity may be an object with a physical existence – a particular person, car, house, or employee – or it may be an object with a conceptual existence – a company, a job, or a university course.

An Entity is an object of Entity Type and set of all entities is called as entity set. e.g.; E1 is an entity having Entity Type Student and set of all students is called Entity Set. In ER diagram, Entity Type is represented as:

Generalization and Specialization –

These are very common relationship found in real entities. However this kind of relationships was added later as enhanced extension to classical ER model. Specialized class are often called as subclass while generalized class are called superclass, probably inspired by object oriented programming. A sub-class is best understood by “IS-A analysis”. Following statements hopefully makes some sense to your mind “Technician IS-A Employee”, “Laptop IS-A Computer”.

An entity is specialized type/class of other entity. For example

  • Freshman IsA Student, an eagle IsA bird
  • The two entities represented by IsA are always descriptions of the same real-world object
  • Typically used in databases to be implemented as Object Oriented Models.
  • The upper entity type is the more abstract entity type (supertype) from which the lower entities inherit its attributes

Specialization-needed when an entity set has subsets that have additional attributes or that participate in special, separate relationships

Process of breaking up a class into subclasses

Ex: Faculty contains AdjunctFac and FullTimeFac

  • All Faculty have attributes facid, lastName, firstName, rank.

  • AdjunctFac also have coursePayRate

  • FullTimeFac have annualSalary

Specialization can be total (every member of superclass must be in some subclass) or partial

The circle is another symbol for IsA

E-ER diagram –shows specialization circle (IsA relationship), and inheritance symbol (subset symbol)

Specialization can also involve just one subclass – no need for circle, but show inheritance symbol

The sub-entities are most likely invoking the disjointedness constraint

Generalization Abstraction

Recognizing that classes have common properties and identifying a superclass for them

Ex. Student and Faculty are both people

Bottom-up process, as opposed to top-down process of specialization

Probably the covering constraint applies, but not disjointedness.

EER diagram is similar for specialization


Related Solutions

What is enhanced ER Model? Explain extended ER features: Specialization, Generalization and Aggregation with your clear...
What is enhanced ER Model? Explain extended ER features: Specialization, Generalization and Aggregation with your clear definitions/ideas/differences in your own words and give at least one appropriate example for each one of them.
What is enhanced ER Model? Explain extended ER features: Specialization, Generalization and Aggregation with your clear...
What is enhanced ER Model? Explain extended ER features: Specialization, Generalization and Aggregation with your clear definitions/ideas/differences in your own words and give at least one appropriate example for each one of them.
Determine the relationships between aggregation, generalization, and association. Explain how each type of association is depicted...
Determine the relationships between aggregation, generalization, and association. Explain how each type of association is depicted on a class diagram. Provide an example or examples to support your answer. Please make sure that your example is different from other students.
Answer to the following questions. 1.What is Generalization and Specialization 2. What is a Recursive Relationship...
Answer to the following questions. 1.What is Generalization and Specialization 2. What is a Recursive Relationship 3. What is the purpose of a query and What is a stored procedure 4. What is an index  
Derive and explain the key features of the flexible price monetary model. What, in your opinion,...
Derive and explain the key features of the flexible price monetary model. What, in your opinion, are its strengths and weaknesses?
what is the importance of the data model and how would generalization and specilization apply in...
what is the importance of the data model and how would generalization and specilization apply in the healthcare data management environment?
Explain what is meant by specialization and trade and why countries are better-off through specialization and...
Explain what is meant by specialization and trade and why countries are better-off through specialization and trade.
(a) What two key features of the atom did the Bohr model fail to explain?
Evaluate the Bohr model of the atom. (a) What two key features of the atom did the Bohr model fail to explain? (b) How did quantum theory explain these features?
1. i) What are the main features of the Solow growth model? Explain how the steady...
1. i) What are the main features of the Solow growth model? Explain how the steady state level of capital determined in the Solow growth model. Why is the steady state stable? Explain your answer with a diagram. ii) Explain the main features of the balanced growth path implied by the Solow growth model. iii) Can austerity policies can have a positive effect on growth? Using economic knowledge, assess that statement in the context of the Solow growth model.
what are the features of the new model strategic purchasing?
what are the features of the new model strategic purchasing?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT