Interface to access all supported relation types and a relation object's atrribute
provider to access it's attributes
Role:
This interface, given a V5 process, product(or resource) object and the relation type
will get the handle to the relation object's attribute provider.
This interface expect caller to use relation types defined in PPR Server
which can be obtained by the GetSupportedRelations method
Methods
Func GetRelationObject( iRelationName, iAssignedObject) As
This method provides handle to the E5 provider on the relation object that exists between selected
activity and an item/resource
Parameters:
iRelationName
Name of the relation existing between the selected activity and the item/resource
The possible values for relation name can be obtained through a call to “DNBIAMHIRelationManagement#GetSupportedRelations” method
dd>
iAssignedObject
The item/resource that is related to the selected activity
dd>
oRelationObjAttrProvider
E5 provider on the relation object that exists between selected activity and an item/resource
dd>
Returns:
S_OK or E_FAIL
dd>
Func GetSupportedRelations() As
This method lists all the possible values that can passed as the relation name
for “DNBIAMHIRelationManagement#GetRelationObject” method.
Parameters:
oListSupportedRelations
The possible relation names can that are supported by the method GetRelationObject
dd>