Class BwParticipant

All Implemented Interfaces:
Serializable, Comparable<BwParticipant>, BwCloneable, Differable<BwParticipant>, org.bedework.util.logging.Logged

public class BwParticipant extends BwDbentity<BwParticipant> implements BwCloneable, Differable<BwParticipant>
Represent a participant component. These are not currently stored in the database but as x-properties.
Author:
Mike Douglass douglm - bedework.org
See Also:
  • Constructor Details

    • BwParticipant

      public BwParticipant(SchedulingInfo parent)
      Constructor
  • Method Details

    • getParent

      public SchedulingInfo getParent()
    • getParticipant

      public net.fortuna.ical4j.model.component.Participant getParticipant()
      Returns:
      participant object. DO NOT MODIFY
    • getUid

      public String getUid()
      Returns:
      String uid
    • setCalendarAddress

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

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

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

      public String getName()
      Returns:
      String name
    • setDescription

      public void setDescription(String val)
      Parameters:
      val - String description
    • getDescription

      public String getDescription()
      Returns:
      String Description
    • setKind

      public void setKind(String val)
      Parameters:
      val - String kind
    • getKind

      public String getKind()
      Returns:
      String kind
    • setParticipantType

      public void setParticipantType(String val)
      Set the participant type
      Parameters:
      val - String participant type
    • getParticipantType

      public String getParticipantType()
      Get the participant type
      Returns:
      String participant type as comma separated list
    • getParticipantTypes

      public Set<String> getParticipantTypes()
      Get the participant types as a list
      Returns:
      List<String> participant type as list
    • removeParticipantType

      public void removeParticipantType(String val)
      Remove the participant type
    • addParticipantType

      public void addParticipantType(String... val)
      Add the participant type
    • addParticipantType

      public void addParticipantType(Set<String> val)
      Add the participant type
    • includesParticipantType

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

      public void setParticipationStatus(String val)
      Parameters:
      val - String participation status
    • getParticipationStatus

      public String getParticipationStatus()
      Returns:
      String participation status
    • 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
    • setLanguage

      public void setLanguage(String val)
      Set the language
      Parameters:
      val - String language
    • getLanguage

      public String getLanguage()
      Get the language
      Returns:
      String language
    • 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)
    • 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
    • getVotes

      public List<BwVote> getVotes()
    • setVotes

      public void setVotes(List<BwVote> val)
    • addVote

      public void addVote(BwVote val)
      Add the response - voter only
      Parameters:
      val - response for voter
    • copyTo

      public void copyTo(BwParticipant val)
      Copy this objects values into the parameter 1 *
      Parameters:
      val - to copy
    • copyToMerge

      public void copyToMerge(BwParticipant val)
      Copy this objects values into the parameter merging the participation roles 1 *
      Parameters:
      val - to copy
    • changedBy

      public boolean changedBy(BwParticipant 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(BwParticipant 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
    • differsFrom

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

      public int hashCode()
      Overrides:
      hashCode in class BwUnversionedDbentity<BwParticipant>
    • equals

      public boolean equals(BwParticipant val)
    • compareTo

      public int compareTo(BwParticipant that)
      Specified by:
      compareTo in interface Comparable<BwParticipant>
      Overrides:
      compareTo in class BwUnversionedDbentity<BwParticipant>
    • asString

      public String asString()
    • toString

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

      public Object clone()
      Description copied from class: BwUnversionedDbentity
      Make visible
      Specified by:
      clone in interface BwCloneable
      Overrides:
      clone in class BwUnversionedDbentity<BwParticipant>
      Returns:
      Object of class T