com.ibm.itim.workflow.model

Class Participant

  • java.lang.Object
    • com.ibm.itim.workflow.model.Participant
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ActivityParticipant, ProcessParticipant


    public class Participant
    extends java.lang.Object
    implements java.io.Serializable
    This class provides information about a workflow participant.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String HUMAN
      Constant identifying the human participant type.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Participant()
      Default constructor.
      Participant(DistinguishedName dn, java.lang.String type)
      Constructs with distinguished name and type.
      Participant(DistinguishedName dn, java.lang.String id, java.lang.String type)
      Constructs with distinguished name, id, and type.
      Participant(java.lang.String id, java.lang.String type)
      Constructs with distinguished name and type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object compObj) 
      DistinguishedName getDistinguishedName()
      Returns the distinguished name of the participant.
      java.lang.String getId()
      Returns the string identifier of the participant.
      java.lang.String getType()
      Returns the type of the participant.
      void setDistinguishedName(DistinguishedName dn)
      Changes the distinguished name of the participant.
      void setId(java.lang.String id)
      Changes the string identifier of the participant.
      void setType(java.lang.String type)
      Changes the type of the participant.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • HUMAN

        public static final java.lang.String HUMAN
        Constant identifying the human participant type.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Participant

        public Participant()
        Default constructor.
      • Participant

        public Participant(DistinguishedName dn,
                           java.lang.String type)
        Constructs with distinguished name and type.
        Parameters:
        dn - DistinguishedName of the participant.
        type - Type of the participant (i.e., HUMAN).
      • Participant

        public Participant(DistinguishedName dn,
                           java.lang.String id,
                           java.lang.String type)
        Constructs with distinguished name, id, and type.
        Parameters:
        dn - DistinguishedName of the participant.
        id - Identifier of the participant.
        type - Type of the participant (i.e., HUMAN).
      • Participant

        public Participant(java.lang.String id,
                           java.lang.String type)
        Constructs with distinguished name and type.
        Parameters:
        id - Identifier of the participant.
        type - Type of the participant (i.e., HUMAN).
    • Method Detail

      • getDistinguishedName

        public DistinguishedName getDistinguishedName()
        Returns the distinguished name of the participant. This method will return null if type of participant does not require identification of an entry in the data model, such as relationship participants (i.e., TYPE_SUPERVISOR).
        Returns:
        DistinguishedName of the participant, null if none required.
      • setDistinguishedName

        public void setDistinguishedName(DistinguishedName dn)
        Changes the distinguished name of the participant.
        Parameters:
        dn - DistinguishedName of the participant.
      • getId

        public java.lang.String getId()
        Returns the string identifier of the participant.
        Returns:
        Identifier of the participant.
      • setId

        public void setId(java.lang.String id)
        Changes the string identifier of the participant.
        Parameters:
        id - Identifier of the participant.
      • getType

        public java.lang.String getType()
        Returns the type of the participant.
        Returns:
        Type of the participant (see constants).
      • setType

        public void setType(java.lang.String type)
        Changes the type of the participant.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object compObj)
        Overrides:
        equals in class java.lang.Object