SEDRIS Reference Manual
APPENDIX A - Transmittal Access Level 0 API Functions SE AddComponentRelationship |
---|
extern SE_Return_Code | |||
SE_AddComponentRelationship | |||
( | |||
SE_Object | aggregate_object, | (notes) | |
SE_Object | component_object, | (notes) | |
SE_Object | link_object | (notes) | |
); |
Adds a composition relationship from aggregate_object to component_object, provided that the following criteria are met.
NOTE: | Relationships between objects in different transmittals are not implicitly bi-directional, so if the component object is unresolved, then the relationship will be uni-directional from the aggregate to the component. |
---|
SE_RET_CODE_SUCCESS | and the requested relationship is added, if valid parameters were passed in and all operations succeeded. |
SE_RET_CODE_FAILURE | and the status code is set appropriately if the call failed. |
SE_Status_Code(s) when SE_RET_CODE_SUCCESS is returned:
SE_STAT_CODE_SUCCESS | set upon successful completion |
SE_Status_Code(s) when SE_RET_CODE_FAILURE is returned:
SE_STAT_CODE_UNPUBLISHED_OBJECT | set if component_object is in another transmittal than aggregate_object, but is not published by that transmittal or vice-versa. |
SE_STAT_CODE_UNRESOLVED_INPUT_OBJECT | set if
|
SE_STAT_CODE_INVALID_ACCESS_MODE | set if
|
SE_STAT_CODE_INACTIONABLE_FAILURE | set if
|
object to which a component is being added
component object being added
the link object that will be traversed to reach the component object, if applicable; must be resolved, if provided.
Prev: SE_AddAssociateRelationship.
Next: SE_AllocDataTableData.
Up:Index.
|