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

Domain constraints, Domain Constraints Domain constraints are primarily...

Domain Constraints Domain constraints are primarily formed for defining the logically correct values for an attribute of a relation. The relation allows attributes of a relatio

Consistency, what do you mean by consistency in rdbms?

what do you mean by consistency in rdbms?

Dataware house(job scheduling strategy), Define a job scheduling strategy t...

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

Attribute, a set of possible data value of an attribute is called??

a set of possible data value of an attribute is called??

In case of entity integrity the primary key may be declared, In case of ent...

In case of entity integrity, the primary key may be declared? In a case of entity integrity primary key may be not Null.

Select statement-data manipulation language, SELECT Statement This stat...

SELECT Statement This statement is used for retrieving information from the databases. It can be coupled with many clauses. Let us talk about these clauses in more detail:

Define query processing, Define Query Processing Query processing is th...

Define Query Processing Query processing is the process of selecting the best plan or strategy to be employed in responding to a database request. The plan is then executed to

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