com.ibm.rpm.wbs.containers
ElementDependency

com.ibm.rpm.framework.RPMObject
  extended bycom.ibm.rpm.wbs.containers.ElementDependency

ElementDependency
Extends: com.ibm.rpm.framework.RPMObject
Child objects: None

Related scope: com.ibm.rpm.wbs.scope.ElementDependencyScope

An ElementDependency is used to make one element depend on another. Task dependencies per project are unlimited. Dependency types are Finish-to-Start, Start-to-Start, Finish-to-Finish or Start-to-Finish.

Parent is mandatory, allowed parent types are Proposal, Project, WorkOrganization, Deliverable, WorkProduct, SummaryTask, Milestone, and Task.

The checkout mode type is: Parent

Supported API Calls: Primary key: The following fields are required when using the loadFromID and loadArrayFromID methods:

ID

Related code samples :

Java

C#

Field Summary
xsd:int amount
   The amount of lead or lag.
Resource createdBy
   The Resource who created the dependency.
DependencyType dependencyType
   The type of dependency that is created (Finish to Start, Start to Start, and so on).
LeadLagType leadlagType
   Indicates if the Element is leading or lagging.
WorkElement predecessor
   The WorkElement predecessor dependency.
TimeUnitType unitType
   Indicates if the lead or lag amount is in hours or days.

Inherited Field Summary
xsd:string contextName
   The context name identifies which section of the Web Services API the object belongs to. This value of this field is generated automatically when creating the RPMObject.
xsd:boolean deleted
   If the value of this field is set to true, then the RPMObject will be deleted when performing a save.
xsd:string ID
   The unique ID of the RPMObject. If the value of this field is set to null, the save operation will generate the ID automatically when creating the RPMObject. If an ID is specified, then the save operation will attempt to update an existing RPMObject.
RPMObject parent
   The parent of the RPMObject.

Field Detail

amount


xsd:int  amount
The amount of lead or lag.

Minimum: The minimum value for this field is 0.

Maximum: The maximum value for this field is 999.

Null value: This field may never be null during updates.


createdBy


Resource createdBy
The Resource who created the dependency.

Scoping: This field will be used by the API if the scope field createdBy is enabled.

Relationship: This field is a reference relationship.


dependencyType


DependencyType dependencyType
The type of dependency that is created (Finish to Start, Start to Start, and so on).

Null value: This field may never be null during updates.

Relationship: This field is a reference relationship.

Default value: This default value is FinishStart.


leadlagType


LeadLagType leadlagType
Indicates if the Element is leading or lagging.

Null value: This field may never be null during updates.

Relationship: This field is a reference relationship.

Default value: This default value is Lead.


predecessor


WorkElement predecessor
The WorkElement predecessor dependency.

Scoping: This field will be used by the API if the scope field predecessor is enabled.

Scoping during creation: This field is always in scope at creation time.

Relationship: This field is a reference relationship.


unitType


TimeUnitType unitType
Indicates if the lead or lag amount is in hours or days.

Null value: This field may never be null during updates.

Relationship: This field is a reference relationship.

Default value: This default value is Days.


Inherited Field Detail

contextName


xsd:string  contextName
The context name identifies which section of the Web Services API the object belongs to. This value of this field is generated automatically when creating the RPMObject.

Read-only behavior: The value of this field is read only.

X-Path availability: This field doesn't support X-Path queries.


deleted


xsd:boolean  deleted
If the value of this field is set to true, then the RPMObject will be deleted when performing a save.

Read-only behavior: The value of this field is read only.

X-Path availability: This field doesn't support X-Path queries.


ID


xsd:string  ID
The unique ID of the RPMObject. If the value of this field is set to null, the save operation will generate the ID automatically when creating the RPMObject. If an ID is specified, then the save operation will attempt to update an existing RPMObject.

Read-only behavior: The value of this field is read only.


parent


RPMObject parent
The parent of the RPMObject.

Scoping: This field will be used by the API if the scope field parent is enabled.

Read-only behavior: The value of this field is read only after the object was created.

Relationship: This field is a reference relationship.

X-Path availability: This field doesn't support X-Path queries.

Valid types:
com.ibm.rpm.wbs.containers.Deliverable
com.ibm.rpm.wbs.containers.Milestone
com.ibm.rpm.wbs.containers.Project
com.ibm.rpm.wbs.containers.Proposal
com.ibm.rpm.wbs.containers.SummaryTask
com.ibm.rpm.wbs.containers.Task
com.ibm.rpm.wbs.containers.WorkOrganization
com.ibm.rpm.wbs.containers.WorkProduct