Participant class

The methods documented in this chapter operate on objects of the Participant class. Participant instances are used in relationship instances. Each Participant instance contains the following information:

The Participant class provides methods for setting and retrieving each of these values for a given participant.

Table 108 summarizes the methods of the Participant class.

Table 108.

Participant method summary
Method Description Page
Participant() Creates a new Participant instance. Participant()
getBusObj(), getString(), getLong(), getInt(), getDouble(), getFloat(), getBoolean() Retrieves the data associated with the Participant instance. getBusObj(), getString(), getLong(), getInt(), getDouble(), getFloat(), getBoolean()
getInstanceId() Retrieves the relationship instance ID of the relationship in which the Participant instance is participating. getInstanceId()
getParticipantDefinition() Retrieves the participant definition name from which the Participant instance is created. getParticipantDefinition()
getRelationshipDefinition() Retrieves the name of the relationship definition in which the Participant instance is participating. getRelationshipDefinition()
set() Sets the data associated with the Participant instance. set()
setInstanceId() Sets the instance ID of the relationship in which the Participant instance is participating. setInstanceId()
setParticipantDefinition() Sets the participant definition name from which the Participant instance is created. setParticipantDefinition()
setRelationshipDefinition() Sets the relationship definition in which the Participant instance is participating. setRelationshipDefinition()

Copyright IBM Corp. 2003