Implementation of association as an object, Database Management System

Assignment Help:

Implementation of association as an object

  • Implement as a separate association object, independent of either class, as in Figure. An association object is a group of pairs of associated objects stored in the single variable-size object. For efficiency, we can implement an association object using two dictionary objects, one for forward direction and other for backward direction. This concept is useful for extending predefined classes from a library that cannot be modified. Distinct association objects are also helpful for sparse associations. In sparse associations mainly objects of the classes do not participate as space is used only for actual links.

 

101_Implementation of association as an object.png

Figure: Implementation of association as an object


Related Discussions:- Implementation of association as an object

A Biological Database on Viruses, How to create a biological database based...

How to create a biological database based on viruses. How to decide which attribute should be there in the table and schema? How to identify the primary keys, foreign keys, domain,

Define instance and schema, Define instance and schema? Instance: Colle...

Define instance and schema? Instance: Collection of data stored in the data base at a certain moment is Schema: The overall design of the data base is known as the data base

Describe integrity and security, Describe integrity and security? a)   ...

Describe integrity and security? a)      Domain constraint b)      Referential integrity A value that appears in one relation for a given set of attributes also appear fo

Special comparison operator used in where clause-dml, Special comparison op...

Special comparison operator used in where Clause a.   between. ...and...It gives range among two values (inclusive) Example: SELECT ENAME, SAL FROM EMP WHERE SAL BETWE

Attributes, Attributes and its types explain?

Attributes and its types explain?

Define the terms entity, Define the terms entity, attribute, role and relat...

Define the terms entity, attribute, role and relationship between the entities, giving examples for each of them.         Ans: Entity:   An entity is a "thing" or "object" in th

Complexity- drawbacks of data distribution, Complexity : A distributed DBMS...

Complexity : A distributed DBMS that is available, reliable, and secure is inherently more difficult than a centralised DBMS. Though, adequate data replication is essential to have

C PROBLEMS, how to solve the C type problems?

how to solve the C type problems?

Give an example of object representation, Give an example of Object Represe...

Give an example of Object Representation  For illustration, consider the implementation of a social security number within an employee object that is shown in Figure. The soci

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd