Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: StanKostoff on October 11, 2007, 11:23:43 am

Title: Attribute Constraints
Post by: StanKostoff on October 11, 2007, 11:23:43 am
How do you view attribute constraints for classes?  I've checked the element and diagram options to view constaints with no success.  If I add a constraint to the class properties, the constraint displays.
Title: Re: Attribute Constraints
Post by: «Midnight» on October 11, 2007, 11:50:26 am
Create the attribute in question, and make sure you save it.

Then open attribute properties (or select the class and press F9). You should see a Constraints tab, which will allow you to work your magic.

HTH, David
Title: Re: Attribute Constraints
Post by: StanKostoff on October 11, 2007, 11:58:02 am
Did that.  How do I view the attribute contraint in the Class diagram--not the constraint in the attribute properties window?
Title: Re: Attribute Constraints
Post by: peter.zrnko on October 11, 2007, 11:11:24 pm
As far as I know, it's not possible to view Attribute Constraint in the diagram.
Title: Re: Attribute Constraints
Post by: «Midnight» on October 12, 2007, 04:37:57 am
I just checked, and it appears you cannot even get at the attribute constraint via a linked note.

This would make a good feature request. Why not send it in Stan?

Please search my recent posts for a best practice we use for feature requests and bug reports.

David