Retrieves the relationship instance ID of the relationship in which the Participant instance is participating.
int getInstanceId()
Returns an integer representing the instance ID of the relationship instance in which this Participant instance is participating. If the Participant instance is not a member of a relationship instance, this method returns the constant, INVALID_INSTANCE_ID.
RelationshipRuntimeException - See Handling exceptions.