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. ProjectResources can be accessed using the Repository Resources collection.

Associated table in .EAP file:     t_resources

ProjectResource Attributes:

Attribute

Type

Notes

Email

String

The resource's email address.

 

Fax

String

The resource's fax number.

 

Mobile

Variant

The resource's mobile number, if available.

 

Name

String

The name of the resource.

 

Notes

String

A description of the resource, if appropriate.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Organization

Package: String

The organization the resource is associated with.

 

Phone1

Variant

The resource's main telephone number.

 

Phone2

Variant

The resource's alternative telephone number.

 

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

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

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