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

ProjectResource Class

A Project Resource is a named person who is available to work on the current project in any capacity. Accessed using the Repository Resources collection.

Associated table in .EAP file: t_resources

ProjectResource Attributes

Attribute

Type

Notes

Email

String

Email address.

Fax

String

Fax number.

Mobile

Variant

Mobile number if available.

Name

String

Name of resource.

Notes

String

A description if appropriate.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Organization

Package: String

Organization resource associated with.

Phone1

Variant

Main phone.

Phone2

Variant

Alternative phone.

Roles

String

The roles this resource can play in the current project.

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