Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paule on May 10, 2004, 06:04:16 am

Title: primary key property in data model
Post by: Paule on May 10, 2004, 06:04:16 am

Looking at the Object model in VB I can't figure how to retrieve the fact that an attribute of a table(element) has been marked as a primary key and/or is not NULL.

The report generated out of EA does reflect those properties; the sample app, however, does not when generating 'Elements' and 'Attributes' document.



Title: Re: primary key property in data model
Post by: Bruno.Cossi on May 10, 2004, 10:35:00 pm
Hi,

tables are represented by classes stereotypes as <<table>>. Primary Key is then modelled as a METHOD on the Class.

Bruno