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

Effort Class

An Effort is a named item with a weighting that can be associated with an element for purposes of building metrics about the model. Efforts are accessed through the Element Efforts collection.

Associated table in .EAP file     t_objecteffort

Effort Attributes

Attribute

Type

Notes

Name

String

Read/Write

The name of the effort.

 

Notes

String

Read/Write

Notes about the effort.

 

ObjectType

ObjectType

Read only

Distinguishes objects referenced through a Dispatch interface.

 

Type

String

Read/Write

The effort type.

 

Weight

Long

Read/Write

A weighting factor.

 

Weight2

Float

Read/Write

A weighting factor.

 

Effort Methods

Method

Type

Notes

GetLastError ()

String

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

 

Update ()

Boolean

Update the current Effort object after modification or appending a new item.

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