Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
AttributeConstraint Class
An AttributeConstraint is a constraint associated with the current Attribute.
Associated table in .EAP file: t_attributeconstraints
AttributeConstraint Attributes
Attribute |
Type |
Notes |
---|---|---|
AttributeID |
Long |
Read/Write. ID of the attribute this constraint applies to. |
Name |
String |
Read/Write. The constraint. |
Notes |
String |
Read/Write. Descriptive notes about constraint. |
ObjectType |
Read only. Distinguishes objects referenced through a Dispatch interface. |
|
Type |
String |
Read/Write. Type of constraint. |
AttributeConstraint Methods
Method |
Type |
Notes |
---|---|---|
GetLastError () |
String |
Returns a string value describing the most recent error that occurred in relation to this object. This function is rarely used as an exception is thrown when an error occurs. |
Update () |
Boolean |
Update the current AttributeConstraint object after modification or appending a new item. If false is returned, check the GetLastError function for more information. |