Entity
Entity is derived class of VertexElem and represents an entity.
Fields
Field | Type | Description |
| boolean | Read only. Returns |
| string | The title of the Entity. |
| number | The confidence, as a value between 0.0 and 1.0. |
| boolean | Read Only. |
| number | Read Only. The completion, as a value between 0.0 and 1.0. Zero if project management not enabled. |
| number | The effort in hours, as a positive floating-point value or zero for a milestone. Zero if project management not enabled. |
| This field is deprecated, use effortHours instead. The effort in days where one day is the document default work hours, as a positive value or zero for a milestone. Zero if project management not enabled. | |
| Date or | The start date, as a Date. |
| Date or | The end date, as a Date. |
| list of Resource | Read only. A list of resources assigned to a task. The list can be empty. |
| The current setting for how resources are assigned to a task. | |
| Symbol or | The directly set symbol for this entity, as a Symbol, otherwise |
| Symbol or | Read only. The symbol for this entity, either the directly set Symbol or the one inherited from its EntityClass. |
| EntityClass | The class of the Entity. |
| integer | Read only. The element’s entity ID. Can be zero if entityID are not currently visible. |
| string | Read only. The string that would be displayed for the entity’s effort in chart view or |
| Date or | The preferred start date, as a Date. |
| Date or | The preferred finish date, as a Date. |
| boolean | Read only. Set to |
| string or | Read only. The string that would be displayed for the entity’s resources in graph view, or |
| string or | Read only. The string that would be displayed for the entity’s resources in chart view, or |
| Date or | Read only. The string that would be displayed for the entity’s start date, or |
| Date or | Read only. The string that would be displayed for the entity’s finish date, or |
| Read only. The FontSpec used to render the entity title. | |
| list of LayoutLine | Read only. A list of LayoutLines providing position information for the entity title. |
Methods
equals( object )
Returns
True
ifobject
represents the same entity as self.
addResource( resource )
Assigns the given
resource
to the task.
removeResource( resource )
Removes the given
resource
assigned to the task.
Last updated