Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

PropertyType Class

A PropertyType object represents a defined property that can be applied to UML elements as a Tagged Value. Accessed using the Repository PropertyTypes collection. Each PropertyType corresponds to one of the predefined Tagged Values for the model.

Associated table in .EAP file: t_propertytypes

Author Attributes

Attribute

Type

Notes

Description

String

Read/Write. Short description for the property.

Detail

String

Read/Write. Configuration information for the property.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Tag

String

Read/Write. Name of the property (Tag Name).

Author 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 PropertyType object after modification or appending a new item. If false is returned, check the GetLastError function for more information.