Question

In: Computer Science

Explain the backgrounds and the rationale for the following modelling advice: When you are in doubt...

Explain the backgrounds and the rationale for the following modelling advice: When you are in doubt whether you should model a relationship as an association or an aggregation, model it as an association.

Solutions

Expert Solution

Explain the background and the rationale for the following modeling advice : When you are in doubt whether you should model a relationship as an association or an aggregation, model it as an association --

  • The association -- association represent binary relationship between two objects that describe an activity.
  • for example - A doctor can be associated with multiple patients.
  • To represent relationship between componants or classes, it uses line segment.
  • By Modeling it as an Association, structural relationship that represent object which can be associated with another objects in the sytsem.
  • The constraints of association relationship are --
  • Implicit - the implicit relationship is based on concept not on manifest.
  • Ordered - This constriants specify that set of object at one end of assoiation is in specific way.
  • Changeable - This connection between various object in system can be added, modified and removed.as requirements.
  • Frozen - When link is inserted between two objects , at that time it can not be modified while frozen constraint is active on given link.
  • addOnly - It specify new connection can be added from object which is situated at other end association.

Aggregation - This is used to model compositional relationship between model elements. for example - a library contains books and computer composed of number of devices.

  • The aggregation is based on main classes that are dependent on sub classes. in this, sub class can exists without main class but main class can not exists without subclass.
  • The aggregation relationship is represented by "has" relationship. for example - List of phone numbers.
  • To represent relationship between objects, it use diamond shape structure.

Related Solutions

Explain the backgrounds and the rationale for the following modelling advice: When you are in doubt...
Explain the backgrounds and the rationale for the following modelling advice: When you are in doubt whether you should model a relationship as an association or an aggregation, model it as an association.
Chapter IV: Reasons for Belief and Doubt. Review Study Guide. Explain/define the following: 1) When is...
Chapter IV: Reasons for Belief and Doubt. Review Study Guide. Explain/define the following: 1) When is it reasonable to accept a claim? 2) When is it reasonable to reject a claim? Why? 3) Explain the fallacy of appeal to authority (or unqualified authority). List the two conditions for being considered an expert in a given field. 4) What does personal experience arise from, and how reliable is it in our judgment of the truth of claims?
Briefly explain the Utility of Predictive modelling and classification modelling approach in business analytics? Thank you.
Briefly explain the Utility of Predictive modelling and classification modelling approach in business analytics? Thank you.
Explain Regulation to Recruitment Practices.\ What advice can you provide to management when dealing with discrimination...
Explain Regulation to Recruitment Practices.\ What advice can you provide to management when dealing with discrimination at the workplace?
Write three questions you want to know about modelling and role modelling theory? How do you...
Write three questions you want to know about modelling and role modelling theory? How do you think this theory is applicable in clinical settings?
4. Explain Marginal Cost price and when it is applied as rationale- particuallrly by NFP hospitals,...
4. Explain Marginal Cost price and when it is applied as rationale- particuallrly by NFP hospitals, related to providing and marketing new (or expanding) clinical services to patientsin rurual markets, to promote services... "close to home."
Explain why you believe sensitivity analysis is an important part of modelling using linear programming.
Explain why you believe sensitivity analysis is an important part of modelling using linear programming.
Do you believe language meaning is innate? Explain your rationale
Do you believe language meaning is innate? Explain your rationale
Fo you believe language meaning is innate? Explain your rationale
Fo you believe language meaning is innate? Explain your rationale
Explain The historical backgrounds that contributed to the rise of the quantity theory of money during...
Explain The historical backgrounds that contributed to the rise of the quantity theory of money during the early modern period (16th-17th century).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT