Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Resource Class
An Element Resource is a named person/task pair with timing constraints and percent complete indicators. Use this to manage the work associated with delivering an Element.
Associated table in .EAP file: t_objectresources
Resource Attributes
Attribute |
Type |
Notes |
---|---|---|
ActualHours |
Long |
Read/Write The time already expended on the task, in hours, days or other units.
|
DateEnd |
Date |
Read/Write The expected end date.
|
DateStart |
Date |
Read/Write The date to start work.
|
ExpectedHours |
Long |
Read/Write The total expected time the task might run, in hours, days or other units.
|
History |
String |
Read/Write Gets or sets history text.
|
Name |
String |
Read/Write The name of the resource (for example, a person's name).
|
Notes |
String |
Read/Write Descriptive notes.
|
ObjectType |
Read only Distinguishes objects referenced through a Dispatch interface.
|
|
PercentComplete |
Long |
Read/Write The current percent complete figure.
|
Role |
String |
Read/Write The role the resource plays in implementing the element.
|
Time |
Long |
Read/Write The time expected to complete the task; a numeric indicating the number of days.
|
Resource 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.
|