• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

semantics in UML  RSS feed

 
Ranch Hand
Posts: 352
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need the clarification on following question,

What is the incorrect answer (select one answer)?

(a) UML has only one grouping notation that is package. (b) Dependency is a semantic relationship.

(c) Association is a structural relationship. (d) Aggregation is a semantic relationship.

can someone explain what is semantic and structural relationship means?

Also the answer given to this question is (d) but i think (a) is also wrong because what about components? its also a groping notation know?

Thank you.
 
blacksmith
Posts: 979
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rez,

You have a structural relationship when a (parent) business object physically
contains another (child) business object.

On the other hand you have a semantical relationship when the (parent) business
object references the (child) business object, or vice versa.

Association, Aggregation, Composition, etc. are structural relationships
(therefore answer d is wrong)

The grouping relationship is used for objects that belong together based on common
characteristic: the package. The components are not a grouping relationship, but a
composition relationship which indicates that an object is made up of a number of other
objects (therefore answer a is right)

HTH
 
I have gone to look for myself. If I should return before I get back, keep me here with this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!