Class BwAttendee

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

public class BwAttendee extends BwDbentity<BwAttendee> implements BwCloneable, Differable<BwAttendee>
Represent an attendee. An attendee entry is associated with a single event and gives the participation status of the attendee for that event.

For 3.10 the sentBy column is used to store the stay-informed, response and sent-by parameters. If the first char is not ":" or "\t" it's all sentBy

If it is ":" - it has form

  • ":"
  • "F" or "T"
  • int string value
  • ":"
  • Remainder is sent-by

Additionally we assumed that the presence of the ":" indicated a voter.

If it starts with "\t" it's using the FieldSplitter

Author:
Mike Douglass douglm - rpi.edu
See Also:
  • Field Details

  • Constructor Details

    • BwAttendee

      public BwAttendee()
      Constructor
  • Method Details

    • setType

      public void setType(int val)
      Set the type
      Parameters:
      val - the type
    • getType

      public int getType()
      Get the type - attendee/voter
      Returns:
      int
    • setCn

      public void setCn(String val)
      Set the cn
      Parameters:
      val - String cn
    • getCn

      public String getCn()
      Get the cn
      Returns:
      String cn
    • setCuType

      public void setCuType(String val)
      Set the cuType
      Parameters:
      val - String cuType
    • getCuType

      public String getCuType()
      Get the cuType
      Returns:
      String cuType
    • 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
    • setDir

      public void setDir(String val)
      Set the dir
      Parameters:
      val - String dir
    • getDir

      public String getDir()
      Get the dir
      Returns:
      String dir
    • setLanguage

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

      public String getLanguage()
      Get the language
      Returns:
      String language
    • setMember

      public void setMember(String val)
      Set the member
      Parameters:
      val - String member
    • getMember

      public String getMember()
      Get the member
      Returns:
      String member
    • setRsvp

      public void setRsvp(boolean val)
      Set the rsvp
      Parameters:
      val - boolean rsvp
    • getRsvp

      public boolean getRsvp()
      Get the rsvp
      Returns:
      boolean rsvp
    • setRole

      public void setRole(String val)
      Set the role
      Parameters:
      val - String role
    • getRole

      public String getRole()
      Get the role
      Returns:
      String role
    • setPartstat

      public void setPartstat(String val)
      Set the partstat
      Parameters:
      val - String partstat
    • getPartstat

      public String getPartstat()
      Get the partstat
      Returns:
      String partstat
    • setSentBy

      public void setSentBy(String val)
      Set the sentBy
      Parameters:
      val - String sentBy
    • getSentBy

      public String getSentBy()
      Get the sentBy
      Returns:
      String sentBy
    • setEmail

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

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

      public void setSentByVal(String val)
      Set the sentBy
      Parameters:
      val - String sentBy
    • getSentByVal

      public String getSentByVal()
      Get the sentBy
      Returns:
      String sentBy
    • setAttendeeUri

      public void setAttendeeUri(String val)
      Set the attendeeUri
      Parameters:
      val - String attendeeUri
    • getAttendeeUri

      public String getAttendeeUri()
      Get the attendeeUri
      Returns:
      String attendeeUri
    • setSequence

      public void setSequence(int val)
      Set the rfc sequence for this event
      Parameters:
      val - rfc sequence number
    • getSequence

      public int getSequence()
      Get the events rfc sequence
      Returns:
      int the events rfc sequence
    • setDtstamp

      public void setDtstamp(String val)
      Parameters:
      val - the dtstamp
    • getDtstamp

      public String getDtstamp()
      Returns:
      String datestamp
    • setScheduleAgent

      public void setScheduleAgent(int val)
      Set the schedule agent
      Parameters:
      val - schedule agent
    • getScheduleAgent

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

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

      public String getScheduleStatus()
      Get the schedule status
      Returns:
      String schedule status
    • setResponse

      public void setResponse(int val)
      Set the response - voter only
      Parameters:
      val - response for voter
    • getResponse

      public int getResponse()
      Get the response
      Returns:
      int
    • setStayInformed

      public void setStayInformed(boolean val)
      Parameters:
      val - true/false for stay-informed
    • getStayInformed

      public boolean getStayInformed()
      Returns:
      boolean
    • copyTo

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

      public boolean changedBy(BwAttendee 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(BwAttendee 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(BwAttendee val)
      Description copied from interface: Differable
      Return true if the entity differs in any way.
      Specified by:
      differsFrom in interface Differable<BwAttendee>
      Returns:
      boolean
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BwUnversionedDbentity<BwAttendee>
    • compareTo

      public int compareTo(BwAttendee that)
      Specified by:
      compareTo in interface Comparable<BwAttendee>
      Overrides:
      compareTo in class BwUnversionedDbentity<BwAttendee>
    • 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<BwAttendee>
      Returns:
      Object of class T