Assigning responsibility for operation, Database Management System

Assignment Help:

Assigning Responsibility for Operation

Many operations might have obvious target objects, but some of these operations could be used at numerous places in an algorithm, by one of many objects. These operations are complex high level operations which can be overlooked in laying out the object classes as they are not an inherent part of any of the class.

Now, obvious question is, how do you know what class owns an operation? It is easy when only one of the objects is involved in operation: You are simply informing the object to perform an operation. But when more than one of the objects is involved in an operation it becomes quite hard. Therefore, we must know which object plays main role in operation. For this, ask yourself following questions:

  • Is an object acted on when any other object performs action? In general, we shall associate the operation with the target of operation, instead of one initiating it.
  • Whether an object is modified by operation or when another object is only performing query for getting some information from it. The object that has changed in whole process known as target of the operation.
  • Which class is center of all classes and associations involved in operation? If classes and associations form a star around any single class, it is target of the operation.
  • If object is some real world object represented internally, then what real object could you push, activate , move, or otherwise manipulate to initiate operation?

 


Related Discussions:- Assigning responsibility for operation

Importance of file organisation in database, Importance Of File Organisatio...

Importance Of File Organisation In Database To execute a database efficiently, there are various design tradeoffs needed. One of the most vital ones is the file Organisation. F

What is message switching, What is Message switching Message switching ...

What is Message switching Message switching transmits data units which can be arbitrarily long. Packet switching has a utmost packet size, if any message longer than that, it s

What is cardinality ratio, What is Cardinality Ratio? Cardinality Rati...

What is Cardinality Ratio? Cardinality Ratios - The cardinality ratios for relationship kinds specifies the maximum number of relationship instances in which an entity can pa

DW Job Scheduling, Define a job scheduling strategy that will meet business...

Define a job scheduling strategy that will meet business requirement of reporting availability by 6am CST for the following cubes? Show the job scheduling dependencies in a pictori

Explain generalization and aggregation in e_r diagram, Explain the concept ...

Explain the concept of generalization and aggregation in E_R diagrams. Give one example for each one of them? Generalization: Consider extending the entity set account throug

Determine the strong and weak entity, Determine the Strong and Weak Entity ...

Determine the Strong and Weak Entity Based on the method of foreign key, there might be arise a situation when we have to relate an entity having a primary key of its own and a

What are the disadvantages of relational data, What are the disadvantages o...

What are the disadvantages of relational data ? Disadvantages • Performance - If the number of tables among that relationships to be established are large and the tables t

Example for while until, Assume you are given a uniprocessor system with on...

Assume you are given a uniprocessor system with one gigabyte of memory and a 300 gigabyte disk. The OS on the machine has a demand paged virtual memory system with a local page rep

What is serializability, What is serializability? Explain its types? Th...

What is serializability? Explain its types? The data base system must control concurrent implementation of transactions, to ensure that the data base state remains consistent.

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