Author Topic: Can a Package Component be used to Generalize  (Read 847 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: 12893
  • Karma: +369/-296
  • 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 User
  • **
  • Posts: 855
  • Karma: +23/-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: 8227
  • Karma: +233/-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!