Book a Demo

Author Topic: Properties of attributes  (Read 3822 times)

EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Properties of attributes
« on: February 22, 2002, 01:09:38 pm »
UML allows attributes of a classifier to have a property string e.g. Frozen, changeable and addOnly.

I wanted to see how this is implemented in EA. So I tried to add an attribute to one of my classes.  I noticed that on the General tab for attributes there are 4 checkboxes namely "Dervived" , "Property" , "Static" and "const".  I didn't find any mention of the property string that I could specifiy for the attribute.

In EA how would I specifiy the property string of an attribute as allowed by UML?

Thanks

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Properties of attributes
« Reply #1 on: February 22, 2002, 03:07:01 pm »
Hi,

Two things:

1. The Changeabilty property is fully configurable on association role ends - see the source and destination role tabs

2. Attributes currently map the const value to changeability ... a value of 'frozen' maps to const, 'none' to not const. This can be extended to a drop list with 'addOnly' also included. Note that the current XMI exporter uses UML 1.3 mappings - so the output values are 'forzen' and 'none' not the three UML 1.4 attributes. When we update the exporter to UML 1.4 this will be exported with the newer values.

Geoff Sparks