PropertyType Class

A PropertyType object represents a defined property that can be applied to UML elements as a Tagged Value. PropertyTypes can be 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

PropertyType Attributes:

Attribute

Type

Notes

Description

String

Read/Write

A short description of 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

The name of the property (Tag Name).

 

PropertyType 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

Updates the current PropertyType object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.