Updates a participant in one or more relationship instances.
Syntax
void updateParticipant(String relDefName, String partDefName, BusObj partData)
Parameters
Return values
None.
Exceptions
RelationshipRuntimeException
Notes
The updateParticipant() method updates partData in instances of relDefName where partData is associated with partDefName. This method updates the non-key attributes of the business object that is associated with the specified participant. Only the attributes that are associated with the relationship definition are updated.
The updateParticipant() method updates all participant instances in the relDefName relationship that have:
This method updates the non-key attributes of the participant instances with the values in the partData business object. Only the attributes that are associated with the relationship definition are updated.
To modify a key attribute or a participant type that is not a business object (such as String, long, int, double, float, or boolean), you must first delete the participant using deleteParticipant() or deactivateParticipant() and then add a new participant using addMyChildren().
The updateParticipant() method is a class method declared as static. You can call this method from an existing relationship instance or by referencing the Relationship class.
See also
deleteParticipant(), deactivateParticipant(), addMyChildren()