All Frameworks  Object Hierarchy  This Framework  Indexes   

MHIRelationManagement (Object)

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


Method Index

GetRelationObject
This method provides handle to the E5 provider on the relation object that exists between selected activity and an item/resource
GetSupportedRelations
This method lists all the possible values that can passed as the relation name for “DNBIAMHIRelationManagement#GetRelationObject” method.

Methods


o 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
iAssignedObject
The item/resource that is related to the selected activity
oRelationObjAttrProvider
E5 provider on the relation object that exists between selected activity and an item/resource
Returns:
S_OK or E_FAIL
o 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
Returns:
S_OK or E_FAIL

Copyright © 2003, Dassault Systèmes. All rights reserved.