Class Participant

java.lang.Object
org.bedework.calfacade.Participant
All Implemented Interfaces:
Comparable<Participant>, Differable<Participant>

public class Participant extends Object implements Comparable<Participant>, Differable<Participant>
Represent an attending participant. These are not stored in the database.
Author:
Mike Douglass douglm - bedework.org
  • Method Details

    • getAttendee

      public BwAttendee getAttendee()
      Returns:
      attendee object. DO NOT MODIFY scheduling attributes directly
    • getBwParticipant

      public BwParticipant getBwParticipant()
      Returns:
      participant object. DO NOT MODIFY scheduling attributes directly
    • setCalendarAddress

      public void setCalendarAddress(String val)
      Parameters:
      val - calendar address
    • getCalendarAddress

      public String getCalendarAddress()
      Returns:
      String calendar address
    • setName

      public void setName(String val)
      Parameters:
      val - name
    • getName

      public String getName()
      Returns:
      String name
    • setLanguage

      public void setLanguage(String val)
      Parameters:
      val - Language
    • getLanguage

      public String getLanguage()
      Returns:
      String Language
    • setKind

      public void setKind(String val)
      Parameters:
      val - kind: individual, group etc
    • getKind

      public String getKind()
      Returns:
      String kind: individual, group etc
    • setParticipationStatus

      public void setParticipationStatus(String val)
      Parameters:
      val - String participation status as defined for PARTICIPANT
    • getParticipationStatus

      public String getParticipationStatus()
      Returns:
      String participation status
    • setParticipantType

      public void setParticipantType(String val)
      Parameters:
      val - String participation type as defined for PARTICIPANT
    • getParticipantType

      public String getParticipantType()
      Returns:
      String participation type
    • includesParticipantType

      public boolean includesParticipantType(String val)
      Parameters:
      val - participant type
      Returns:
      true if in list (ignoring case)
    • isRecipient

      public boolean isRecipient()
      Returns:
      true if is a recipient of scheduling messages
    • jsCalRoles

      public static List<String> jsCalRoles(String icalRole)
    • jsCalRolesAsString

      public static String jsCalRolesAsString(String icalRole)
    • iCalRole

      public static String iCalRole(String jsCalRoles)
    • setDelegatedFrom

      public void setDelegatedFrom(String val)
      Set the delegatedFrom
      Parameters:
      val - String delegatedFrom
    • getDelegatedFrom

      public String getDelegatedFrom()
      Get the delegatedFrom
      Returns:
      String delegatedFrom
    • setDelegatedTo

      public void setDelegatedTo(String val)
      Set the delegatedTo
      Parameters:
      val - String delegatedTo
    • getDelegatedTo

      public String getDelegatedTo()
      Get the delegatedTo
      Returns:
      String delegatedTo
    • setMemberOf

      public void setMemberOf(String val)
      Set the member
      Parameters:
      val - String member
    • getMemberOf

      public String getMemberOf()
      Get the member
      Returns:
      String member
    • setExpectReply

      public void setExpectReply(boolean val)
      Parameters:
      val - boolean ExpectReply
    • getExpectReply

      public boolean getExpectReply()
      Returns:
      boolean ExpectReply
    • setEmail

      public void setEmail(String val)
      Set the email param
      Parameters:
      val - String email
    • getEmail

      public String getEmail()
      Get the email
      Returns:
      String email
    • setInvitedBy

      public void setInvitedBy(String val)
      Parameters:
      val - String invitedBy
    • getInvitedBy

      public String getInvitedBy()
      Returns:
      String invitedBy
    • setSequence

      public void setSequence(int val)
      Parameters:
      val - scheduling sequence number
    • getSequence

      public int getSequence()
      Returns:
      int the events scheduling sequence
    • setSchedulingDtStamp

      public void setSchedulingDtStamp(String val)
      Parameters:
      val - the dtstamp
    • getSchedulingDtStamp

      public String getSchedulingDtStamp()
      Returns:
      String datestamp
    • setScheduleAgent

      public void setScheduleAgent(String val)
      Parameters:
      val - schedule agent
    • getScheduleAgent

      public String getScheduleAgent()
      Get the schedule agent
      Returns:
      String schedule agent
    • setScheduleStatus

      public void setScheduleStatus(String val)
      Set the schedule status
      Parameters:
      val - schedule status
    • getScheduleStatus

      public String getScheduleStatus()
      Returns:
      String schedule status
    • copyTo

      public void copyTo(Participant that)
    • changedBy

      public boolean changedBy(Participant val)
      Only true if something changes the status of, or information about, the attendee.
      Parameters:
      val - incoming value
      Returns:
      true for significant change
    • changedBy

      public boolean changedBy(Participant val, boolean checkPartStat)
      Only true if something changes the status of, or information about, the attendee.
      Parameters:
      val - incoming value
      checkPartStat - - true if we check the partstat
      Returns:
      true for significant change
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Participant val)
    • compareTo

      public int compareTo(Participant that)
      Specified by:
      compareTo in interface Comparable<Participant>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • differsFrom

      public boolean differsFrom(Participant val)
      Description copied from interface: Differable
      Return true if the entity differs in any way.
      Specified by:
      differsFrom in interface Differable<Participant>
      Returns:
      boolean