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

ProjectRole Class

A ProjectRole object represents a named project role. ProjectRoles can be accessed using the Repository ProjectRole collection.

Associated table in .EAP file     t_projectroles

ProjectRole Attributes

Attribute

Type

Notes

Description

String

Read/Write

The project role item description.

 

Notes

String

Read/Write

Notes about the project role item.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Role

String

Read/Write

The project role item name.

 

ProjectRole Methods

Method

Type

Notes

GetLastError ()

String

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

 

Update ()

Boolean

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

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