deleteParticipant()

Removes a participant instance from one or more relationship instances.

Syntax

void deleteParticipant(String relDefName, String partDefName,   BusObj partData)
 void deleteParticipant(String relDefName, String partDefName,    String partData)
 void deleteParticipant(String relDefName, String partDefName,    long partData)
 void deleteParticipant(String relDefName, String partDefName,    int partData)
 void deleteParticipant(String relDefName, String partDefName,    double partData)
 void deleteParticipant(String relDefName, String partDefName,    float partData)
 void deleteParticipant(String relDefName, String partDefName,    boolean partData)
  
 void deleteParticipant(Participant participant)
 

Parameters

relDefName
Name of the relationship definition.

partDefName
Name of the participant definition.

partData
Data associated with the participant. Can be one of the following data types: BusObj, String, long, int, double, float, boolean.

participant
A Participant instance representing the participant to remove from the relationship.

Return values

None.

Exceptions

RelationshipRuntimeException 
 

Notes

The deleteParticipant() method deletes the specified participant from all instances of relDefName where partData is associated with partDefName and deletes it from the underlying relationship tables.

The deleteParticipant() 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

deactivateParticipant(), deleteParticipantByInstance()

Copyright IBM Corp. 1997, 2003