预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

AttributeConstraint Class

An AttributeConstraint is a constraint associated with the current Attribute.

Associated table in repository

t_attributeconstraints

AttributeConstraint Attributes

Attribute

Remarks

See also

AttributeID

Long
Notes: Read/Write
The ID of the attribute this constraint applies to.

Name

String
Notes: Read/Write
The name of the constraint.

Notes

String
Notes: Read/Write
Descriptive notes about the constraint.

ObjectType

ObjectType
Notes: Read only
Distinguishes objects referenced through a Dispatch interface.
ObjectType

Type

String
Notes: Read/Write
The type of constraint.

AttributeConstraint Methods

Method

Remarks

See also

GetLastError()

String
Notes: Returns a string value describing the most recent error that occurred in relation to this object.

Update()

Boolean
Notes: Update the current AttributeConstraint object after modification or appending a new item.
If False is returned, check the 'GetLastError()' function for more information.