fuego.papi
Class ParticipantsForActivities
java.lang.Object
fuego.papi.ParticipantsForActivities
- All Implemented Interfaces:
- Serializable
- public class ParticipantsForActivities
- extends Object
- implements Serializable
Used to match group of Paticipants with Activities.
This object can be obtained from two different ways:
1. Asking specifically to the ProcessServiceSession through the method @see ProcessServiceSession#instancesTargetParticipants(InstanceStamp[])
2. From the @see fuego.papi.exception.InstancesExceptio#getParticipantsForActivities(), thrown by the ProcessServiceSession#instancesSendTo((InstanceStamp[], String, String)
, because the instance could not be routed to the given Participant and Activity.
- See Also:
- Serialized Form
activities_d
public String[] activities_d
participants_d
public String[][] participants_d
ParticipantsForActivities
public ParticipantsForActivities()
ParticipantsForActivities
public ParticipantsForActivities(String[] activities,
String[][] participants)
getActivities
public String[] getActivities()
- Gets the activities array
getParticipants
public String[] getParticipants(int activityIndex)
- Gets the participants array for a given Activity
- Parameters:
activityIndex - the position in the activities array retrieved by @see #getActivities()
intersecParticipantsForActivities
public static ParticipantsForActivities intersecParticipantsForActivities(ParticipantsForActivities source,
ParticipantsForActivities toAdd)
- Intersec the participantsForActivities Source with the toAdd ones.
mergeParticipantsForActivities
public static ParticipantsForActivities mergeParticipantsForActivities(ParticipantsForActivities source,
ParticipantsForActivities toAdd)
- Merges the participantsForActivities Source with the toAdd ones.
© Copyright 1996/2003 Fuego Inc. All Rights Reserved