Book a Demo

Author Topic: EA Data Element (also Entity) not showing attributes and methods  (Read 10343 times)

storyas

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
I have followed the instruction about how to display attributes and Methods on an element in a diagram but it isn't working.
I have followed instructions form this link.
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/modeling_basics/setfeaturevisibility.html
What can be the reason that after all the checkbox ticked, nothing is being displayed?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA Data Element (also Entity) not showing attributes and methods
« Reply #1 on: October 06, 2016, 08:10:40 pm »
Too few information, so based on guessing: you are using shape scripted elements.

9.3. is quite old. 13 has just been released.

q.

storyas

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EA Data Element (also Entity) not showing attributes and methods
« Reply #2 on: October 06, 2016, 09:01:01 pm »
Shape scripted elements? What are they?
I am just using normal Archimate_DataObject and ERD_Entity elements from toolbox.

I am not able to attach a screenshot, otherwise it might have cleared things a bit. Clicking on image button just create a Image tag and I don't know what should be done next.

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: EA Data Element (also Entity) not showing attributes and methods
« Reply #3 on: October 06, 2016, 09:14:06 pm »
What feature can be shown on a Diagram depend mainly on two things.

-The “basic” type of the element, and
-If the element is expanded by a stereotype

So to get help, you need to state what your concrete element is.

Expanding elements typically lead to additional features. And one of this feature could be, that how the elements look on a diagram is changes. This is done by a shape script.

In you case you are talking about Archimate Profil what for sure includes lots of expansions and might have shape scripts as well.
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA Data Element (also Entity) not showing attributes and methods
« Reply #4 on: October 06, 2016, 09:54:10 pm »
Archimate uses shape scripts to produce the rendering. If that script does not respect the options, they won't show. Usually (like in Archimate) this is intentional. If you think it's a bug you can report that to Sparx.

q.

storyas

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: EA Data Element (also Entity) not showing attributes and methods
« Reply #5 on: October 07, 2016, 05:35:20 pm »

Thanks PeterHeintz

Here is the whole scenario.
I have created a diagram of type "Archimate 2" and nested type "Application Layer Diagram".I then created some ArchiMate_DataObject elements in the diagram.
These elements have some attributes and methods and they are not shown on the element in the diagram.
This is due to the fact that the Stereotype of the element is "ArchiMate_DataObject".
When this is removed the the element shows attributes and operations on the element. The background color of the element is also changed.

For me this is what was desired, although I don't know if this is the right approach.

Thanks for the feeback.


PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: EA Data Element (also Entity) not showing attributes and methods
« Reply #6 on: October 07, 2016, 06:37:33 pm »
I do not really know the Archimate 2 implementation, but from what you describe it is pretty clear that Archimate 2 impementation “overwrites” the UML Object by the stereotype “ArchiMate_DataObject”, and one part of this “overwrite” is to overwrite the presentation features (how the object can looks like on a diagram) with a sharp script.

By removing the “ArchiMate_DataObject”  stereotype you convert your ArchiMate object to a UML object.
So either Archimate or the Sparx Archimate implementation does not satisfy your needs.

I do not say, that what you have done is bad, but your model is now not a pure Archimate model but a mixture between Archimate and UML.
Best regards,

Peter Heintz