Book a Demo

Author Topic: Adding attributes in a profile  (Read 3010 times)

hshahid

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Adding attributes in a profile
« on: November 17, 2010, 06:40:33 am »
Hi,

I am creating a some UML profiles in Enterprise Architect 8.0. I am inheriting my stereotype with MetaClass and adding attributes to my stereotype. But the problem is when I import my profile and use my profile in some diagram the attributes, which I defined while creating a profile, appears under Tagged values tab of my construct and I can add as many other attributes once I am in a diagram.

For Example; If I create a stereotype Marker, with only two attributes, "Color" and "Type". But when I create a profile and use it after importing it in EA. I am able to drag drop Marker, but the attributes are shown as tagged values, and I can add more attributes to Marker.

I want that, when I create a diagram using my own constructs (profile), it should display only those attributes, which I defined at the time of profile creation (color and type )and no new attributes can be added.

Please advise, how can I create such a profile?

Thanks & Regards,
Hamid.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Adding attributes in a profile
« Reply #1 on: November 17, 2010, 08:19:04 am »
Attributes in a profile correspond to tagged values when used.

Profiles do not dictate (in any way) the attributes in the model when used.  Maybe you want a pattern instead.

hshahid

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Adding attributes in a profile
« Reply #2 on: November 17, 2010, 08:38:12 am »
Hi Simon,

Thanks for the response. Can you please provide me some example that how can I create a pattern?

Thanks & Regards,
Hamid.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Adding attributes in a profile
« Reply #3 on: November 17, 2010, 01:31:01 pm »
I can tell you that if you search for the word pattern in the user guide (either online or from EA) the first page found will be instructions on how to create a pattern.  (The next one is how to use one)