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

Prepare heart failure registry database, Prepare Heart Failure Registry dat...

Prepare Heart Failure Registry database How are you today? Please I would like you to design a Heart Failure registry where doctors will log in to enter information about their

Explain sequential file organization, Question 1 What do you mean by datab...

Question 1 What do you mean by database management system? Question 2 Write a note on Object-Oriented Model Question 3 Explain Sequential File Organization Question

Why like predicate used for, Why Like predicate used for? LIKE predicat...

Why Like predicate used for? LIKE predicate: The LIKE predicate searches for strings in which have a certain pattern.

What is a phantom deadlock, What is a Phantom Deadlock? In distributed...

What is a Phantom Deadlock? In distributed deadlock detection, the delay in propagating local information might cause the deadlock detection algorithms to recognize deadlocks

What are the types of reference, What are the types of reference?explain it...

What are the types of reference?explain it with suitable examples? Object oriented language given the ability to refer the object attribute of the type can be referred to the s

RDBMS, Benefits and limitations

Benefits and limitations

What are the ways of obtaining the connection parameters, What are the ways...

What are the ways of obtaining the connection parameters?  Hardwire the parameters into the program. Ask for the parameters interactively. Get the parameters

Concurrency control, Give the two reasons for allowing concurrency

Give the two reasons for allowing concurrency

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