SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE AddAssociateRelationship |
---|
extern SE_Status_Code | |||
SE_AddAssociateRelationship | |||
( | |||
SE_Object | from_object, | (notes) | |
SE_Object | to_object, | (notes) | |
SE_Object | link_object, | (notes) | |
SE_Boolean | make_two_way | (notes) | |
); |
Add an association relationship from from_object to to_object provided that the following criteria are met.
SE_STAT_CODE_SUCCESS | and the requested association relationship is added, if valid parameters were passed in and all operations succeeded. |
SE_STAT_CODE_INVALID_OR_NULL_OBJECT | and no changes are made, if
|
SE_STAT_CODE_UNPUBLISHED_OBJECT | and no changes are made, if to_object is in another transmittal than from_object, but is not published by that transmittal (or vice-versa) and the make_two_way flag is set. |
SE_STAT_CODE_UNRESOLVED_START_OBJECT | and no changes are made, if
|
SE_STAT_CODE_INVALID_ACCESS_MODE | and no changes are made, if
|
SE_STAT_CODE_FAILURE | and no changes are made, if
|
object to which an association relationship is being added
associate object being connected
the link object that will be traversed to reach the associate object, if applicable
if true, then if the DRM defines the association as a bidirectional association and both the from_object and to_object are resolved, then the other half of the association (to_object -> from_object) is also created by this function.
Next: SE_AddComponentRelationship.
Up:Index.
|