de.danet.an.workflow.spis.ras
Class Participant

java.lang.Object
  extended byde.danet.an.workflow.spis.ras.Participant
All Implemented Interfaces:
Serializable

public class Participant
extends Object
implements Serializable

This class represents a participant of a process. One process can have several participants. One participant is defined by attributes (Id, Name), Description and type.

 <Participant Id="Participant_ID" Name="Participant_NAME">
   <dialog-hint attribute="Id" type="text"/>
   <dialog-hint attribute="Name" type="text" maxlength="ATTRIB_LENGTH"/>
   <ParticipantType>
     <dialog-hint type="text"/>
     VALID_PARTICIPANTTYPE
   </ParticipantType>
 </Participant>
 

See Also:
Serialized Form

Nested Class Summary
static class Participant.ParticipantType
          This class defines the participant type for a participant.
 
Constructor Summary
Participant()
          Constructs a Participant object.
Participant(String newId, String newName, Participant.ParticipantType type, Object resSel)
          Creates a new Participant.
 
Method Summary
 String getId()
          Get the id of the participant.
 String getName()
          Get the name of the participant.
 Participant.ParticipantType getParticipantType()
          Get the type of the participant.
 Object getResourceSelection()
          Get the additional resource selection information passed to the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Participant

public Participant()
Constructs a Participant object.


Participant

public Participant(String newId,
                   String newName,
                   Participant.ParticipantType type,
                   Object resSel)
Creates a new Participant.

Parameters:
newId - identifier of the participant in String
newName - name of the participant in String
type - type of the participant
resSel - an object that describes resource selection criteria. The paramter may be null. Interpretation of this parameter is service requester and provider specific.
Method Detail

getId

public String getId()
Get the id of the participant.

Returns:
a String representing the id value

getName

public String getName()
Get the name of the participant.

Returns:
a String representing the name value

getParticipantType

public Participant.ParticipantType getParticipantType()
Get the type of the participant.

Returns:
a ParticipantType object representing the participant type value

getResourceSelection

public Object getResourceSelection()
Get the additional resource selection information passed to the constructor.

Returns:
an Object representing the resource selection value