Author Topic: Can a Package Component be used to Generalize  (Read 14718 times)

Maddog2020

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • Meringer Consulting
Can a Package Component be used to Generalize
« on: September 08, 2022, 06:04:31 am »
All,
I have a UML Structural Component Diagram that has multiple departments, each department may have an instances of a given software.
Do you see any problem to use a Packaging Component as a means of Generalization?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Can a Package Component be used to Generalize
« Reply #1 on: September 08, 2022, 07:46:28 am »
P. 136 of UML 2.5:

Quote
A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.

So, no problem to use it.

q.

Modesto Vega

  • EA Practitioner
  • ***
  • Posts: 1077
  • Karma: +28/-8
    • View Profile
Re: Can a Package Component be used to Generalize
« Reply #2 on: September 09, 2022, 07:54:40 pm »
All,
I have a UML Structural Component Diagram that has multiple departments, each department may have an instances of a given software.
Do you see any problem to use a Packaging Component as a means of Generalization?
I don't recommend using Packaging Components at all. They are both a package and an element and this presents multiple problems. There are several threads in these forums about Packaging Components.

We tried using them to represent Information Systems and abandon them.

You may also want to consider what do you mean with an instance, there are also plenty of threads about it.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8595
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can a Package Component be used to Generalize
« Reply #3 on: September 10, 2022, 11:12:36 am »
All,
I have a UML Structural Component Diagram that has multiple departments, each department may have an instances of a given software.
Do you see any problem to use a Packaging Component as a means of Generalization?
I don't recommend using Packaging Components at all. They are both a package and an element and this presents multiple problems. There are several threads in these forums about Packaging Components.

We tried using them to represent Information Systems and abandoned them.

You may also want to consider what you mean with an instance, there are also plenty of threads about it.
Wot 'e sed!
Modesto beat me to it!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

artlaz

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • Mobile app development
    • View Profile
Re: Can a Package Component be used to Generalize
« Reply #4 on: June 18, 2023, 07:18:32 am »
Thanks a lost for the info, I've practiced UML diagrams during my 3rd year at university (enterprise architect), also worked with business studio software.

briggpaul59

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • Product Software Development
    • View Profile
    • https://gloriumtech.com/
Re: Can a Package Component be used to Generalize
« Reply #5 on: May 16, 2024, 03:11:37 pm »
Good post