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

Databases and data warehouses , Databases and data warehouses both are data...

Databases and data warehouses both are databases and both contains number of rows and columns of tables containing data. Data warehouse is really different from databases because d

Explain the object-oriented decomposition, Explain the Object-oriented deco...

Explain the Object-oriented decomposition Object-oriented decomposition targets at identifying individual sovereign objects that encapsulate both a state and certain behavio

What are composite objects, What are composite objects? Objects that ha...

What are composite objects? Objects that have other objects are known as complex objects or composite objects.

Describe the composite key, Describe the Composite Key Composite Key: ...

Describe the Composite Key Composite Key: Sometimes one key is not enough to uniquely recognize a row. E.g. in a single class Roll is enough to search a student, but in the w

Purchase orber , Run the following queries. For each query show 1) What yo...

Run the following queries. For each query show 1) What you expect the output to be based upon the data 2) the SQL code and 3) the output running the query in Oracle. 1. Show all c

.DBMS, please describe the data base management with the easy example &giv...

please describe the data base management with the easy example &give the application?

Normalization, Process of normalization is the integral part of designing a...

Process of normalization is the integral part of designing a database. Justify this statement with suitable database design

Draw an er diagram for organization of a student database, Draw an ER diagr...

Draw an ER diagram that shows the organization of a simple student database. The database captures the information about letter grades obtained by university students who enrolled

What is the use of unique function, What is the use of unique function? ...

What is the use of unique function? UNIQUE function: If UNIQUE is specified then only unique values are used to computed the mean.

Data fragmentation in distributed database system, brief history,definition...

brief history,definition,current trends and future trends if any of data fragmentation

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