Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: jami on August 17, 2022, 09:26:25 pm
-
Hi,
I am writing on the forum because I have already checked all possibilities myself, I do not know what it can be :)
I manage the application portfolio in the database repository.
Each application has a set of taggedValues that describe its technical characteristics.
With many components, apart from their characteristics, taggedValues of other items from the repository appeared. It was like a division into sections that can be hidden and shown. Each of them is named "from: item name".
Interestingly, these elements are in no way related to each other by any relationship. I also searched the database and each component has only the TaggedValues it should have, while in the EA tool, tags of other objects are visible next to these components. Some have several of them, sometimes in this section of a component I see tags that do not exist for other elements.
Do you have any idea how to remove these connections? Where are these tags coming from?
-
It's simply inheritance.
q.
-
But how did it appear if there is no relation between these objects and how can I get rid of it?
-
Without verifying: it might come from a classifier. That has no relation.
q.
-
Without verifying: it might come from a classifier. That has no relation.
q.
Other than by creating the classifier, you are instantiating the relationship "origin is an instance of classifier destination". ;) ;) It's just not represented as a (relationship) arc by EA.
The instance inherits the properties of the classifier.
Paolo
-
Without verifying: it might come from a classifier. That has no relation.
q.
If they come from a classifier, do they have to be instances?
I added one component as instance and in taggedValue it is clear that it is and it actually inherits the tags.
My components are not instances.
-
[SNIP]
If they come from a classifier, do they have to be instances?
They are not instances. The relationship between the classifier and whatever it classifies is not visually modelled. The best analogy I can come up with vehicle is a classifier for cars, trucks, motorbikes and so on. You can have a Vehicle class, classifying a Car, Truck and Motorbike class without Car, Truck and Motorbike being an instance of Car.
-
[SNIP]
If they come from a classifier, do they have to be instances?
The relationship between the classifier and whatever it classifies is not visually modelled.
Thx. Can I somehow delete this relationship? I can't find it anywhere.
Components are used by many users and these relations were probably created by accident, I try to figure out how they were created and how to get rid of them.
-
[SNIP]
If they come from a classifier, do they have to be instances?
They are not instances. The relationship between the classifier and whatever it classifies is not visually modelled. The best analogy I can come up with vehicle is a classifier for cars, trucks, motorbikes and so on. You can have a Vehicle class, classifying a Car, Truck and Motorbike class without Car, Truck and Motorbike being an instance of Car.
It's not visually modelled in EA out-of-the-box. We often render these 'hidden' relationships in our environment as arcs.
Modesto, I'm not sure that Vehicle is a classifier forCar, Track and Motorbike; it's a generalization. All are classes, and thus classification (a relationship between a class and something that is not a class) is inappropriate. We discussed this much earlier. BMW X1 is classified as a Car, and thus Car is the classifier for BMW X1 Motorbike is NOT the classifier for BMW X1.
Some thoughts,
Paolo
-
Paolo, as I said it is the best analogy I can think of at the moment. The nature of the classifier concept, as per the UML specification, is more abstract than the relationships between Vehicle, Car, Truck, Motorbike or Vehicle, Car and BMW X1. The UML specification describes classes and components as structured classifiers.
Thx. Can I somehow delete this relationship? I can't find it anywhere.
On the project browser, select one of the components and press Ctr-L to show the classifier dialog.
-
On the project browser, select one of the components and press Ctr-L to show the classifier dialog.
I have tried this option and unfortunately this is not it. I think we maybe don't understand each other or the solution is somewhere else.
When I select Ctrl + L on this component, no classifier is selected and yet it has taggedValues from several other repository items (not just components).
-
There must be some kind of relationship between these elements.
I find the traceability view to be often quite useful in these situations.
Make sure to show all relations in the options of this view.
Geert
-
There must be some kind of relationship between these elements.
I find the traceability view to be often quite useful in these situations.
Make sure to show all relations in the options of this view.
Geert
I did a thorough trace verification, unfortunately I did not find any relationship between these components. I also launched "Project Integrity" - it didn't help either. I will be looking for these relations from the database level. Unfortunately, the case does not seem trivial.
Thank you for all your help, if I can figure out something - I'll let you know.
-
You eventually might reach out for Sparx support to look into your model.
q.