Package org.bedework.calfacade
Class Participant
java.lang.Object
org.bedework.calfacade.Participant
- All Implemented Interfaces:
Comparable<Participant>,Differable<Participant>
Represent an attending participant.
These are not stored in the database.
- Author:
- Mike Douglass douglm - bedework.org
-
Method Summary
Modifier and TypeMethodDescriptionbooleanchangedBy(Participant val) Only true if something changes the status of, or information about, the attendee.booleanchangedBy(Participant val, boolean checkPartStat) Only true if something changes the status of, or information about, the attendee.intcompareTo(Participant that) voidcopyTo(Participant that) booleandiffersFrom(Participant val) Return true if the entity differs in any way.booleanequals(Participant val) Get the delegatedFromGet the delegatedTogetEmail()Get the emailbooleangetKind()Get the membergetName()Get the schedule agentintinthashCode()static StringbooleanbooleanjsCalRoles(String icalRole) static StringjsCalRolesAsString(String icalRole) voidsetCalendarAddress(String val) voidsetDelegatedFrom(String val) Set the delegatedFromvoidsetDelegatedTo(String val) Set the delegatedTovoidSet the email paramvoidsetExpectReply(boolean val) voidsetInvitedBy(String val) voidvoidsetLanguage(String val) voidsetMemberOf(String val) Set the membervoidvoidsetParticipantType(String val) voidvoidsetScheduleAgent(String val) voidsetScheduleStatus(String val) Set the schedule statusvoidvoidsetSequence(int val) toString()
-
Method Details
-
getAttendee
- Returns:
- attendee object. DO NOT MODIFY scheduling attributes directly
-
getBwParticipant
- Returns:
- participant object. DO NOT MODIFY scheduling attributes directly
-
setCalendarAddress
- Parameters:
val- calendar address
-
getCalendarAddress
- Returns:
- String calendar address
-
setName
- Parameters:
val- name
-
getName
- Returns:
- String name
-
setLanguage
- Parameters:
val- Language
-
getLanguage
- Returns:
- String Language
-
setKind
- Parameters:
val- kind: individual, group etc
-
getKind
- Returns:
- String kind: individual, group etc
-
setParticipationStatus
- Parameters:
val- String participation status as defined for PARTICIPANT
-
getParticipationStatus
- Returns:
- String participation status
-
setParticipantType
- Parameters:
val- String participation type as defined for PARTICIPANT
-
getParticipantType
- Returns:
- String participation type
-
includesParticipantType
- 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
-
jsCalRolesAsString
-
iCalRole
-
setDelegatedFrom
Set the delegatedFrom- Parameters:
val- String delegatedFrom
-
getDelegatedFrom
Get the delegatedFrom- Returns:
- String delegatedFrom
-
setDelegatedTo
Set the delegatedTo- Parameters:
val- String delegatedTo
-
getDelegatedTo
Get the delegatedTo- Returns:
- String delegatedTo
-
setMemberOf
Set the member- Parameters:
val- String member
-
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
Set the email param- Parameters:
val- String email
-
getEmail
Get the email- Returns:
- String email
-
setInvitedBy
- Parameters:
val- String invitedBy
-
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
- Parameters:
val- the dtstamp
-
getSchedulingDtStamp
- Returns:
- String datestamp
-
setScheduleAgent
- Parameters:
val- schedule agent
-
getScheduleAgent
Get the schedule agent- Returns:
- String schedule agent
-
setScheduleStatus
Set the schedule status- Parameters:
val- schedule status
-
getScheduleStatus
- Returns:
- String schedule status
-
copyTo
-
changedBy
Only true if something changes the status of, or information about, the attendee.- Parameters:
val- incoming value- Returns:
- true for significant change
-
changedBy
Only true if something changes the status of, or information about, the attendee.- Parameters:
val- incoming valuecheckPartStat- - true if we check the partstat- Returns:
- true for significant change
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<Participant>
-
toString
-
differsFrom
Description copied from interface:DifferableReturn true if the entity differs in any way.- Specified by:
differsFromin interfaceDifferable<Participant>- Returns:
- boolean
-