Package org.bedework.calfacade
Class BwParticipant
java.lang.Object
- 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParticipantType(String... val) Add the participant typevoidaddParticipantType(Set<String> val) Add the participant typevoidAdd the response - voter onlyasString()booleanchangedBy(BwParticipant val) Only true if something changes the status of, or information about, the attendee.booleanchangedBy(BwParticipant val, boolean checkPartStat) Only true if something changes the status of, or information about, the attendee.clone()Make visibleintcompareTo(BwParticipant that) voidcopyTo(BwParticipant val) Copy this objects values into the parameter 1 *voidcopyToMerge(BwParticipant val) Copy this objects values into the parameter merging the participation roles 1 *booleandiffersFrom(BwParticipant val) Return true if the entity differs in any way.booleanequals(BwParticipant val) Get the delegatedFromGet the delegatedTogetEmail()Get the emailbooleangetKind()Get the languageGet the membergetName()net.fortuna.ical4j.model.component.ParticipantGet the participant typeGet the participant types as a listGet the schedule agentintgetUid()getVotes()inthashCode()booleanvoidRemove the participant typevoidsetCalendarAddress(String val) Set the calendar addressvoidsetDelegatedFrom(String val) Set the delegatedFromvoidsetDelegatedTo(String val) Set the delegatedTovoidsetDescription(String val) voidvoidsetExpectReply(boolean val) voidsetInvitedBy(String val) voidvoidsetLanguage(String val) Set the languagevoidsetMemberOf(String val) Set the membervoidvoidsetParticipantType(String val) Set the participant typevoidvoidsetScheduleAgent(String val) voidsetScheduleStatus(String val) Set the schedule statusvoidvoidsetSequence(int val) voidtoString()Methods inherited from class org.bedework.calfacade.base.BwDbentity
addDeletedEntity, afterDeletion, beforeDeletion, beforeSave, beforeUpdate, getByteSize, getDeletedEntities, getSeq, length, setByteSize, setSeqMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
equals, getHref, getId, markUnsaved, setHref, setId, toStringSegment, unsavedMethods inherited from class org.bedework.calfacade.base.DumpEntity
dump, dump, getLogger, hasDumpValueMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
BwParticipant
Constructor
-
-
Method Details
-
getParent
-
getParticipant
public net.fortuna.ical4j.model.component.Participant getParticipant()- Returns:
- participant object. DO NOT MODIFY
-
getUid
- Returns:
- String uid
-
setCalendarAddress
Set the calendar address- Parameters:
val- String calendar address
-
getCalendarAddress
- Returns:
- String calendar address
-
setName
- Parameters:
val- String name
-
getName
- Returns:
- String name
-
setDescription
- Parameters:
val- String description
-
getDescription
- Returns:
- String Description
-
setKind
- Parameters:
val- String kind
-
getKind
- Returns:
- String kind
-
setParticipantType
Set the participant type- Parameters:
val- String participant type
-
getParticipantType
Get the participant type- Returns:
- String participant type as comma separated list
-
getParticipantTypes
Get the participant types as a list- Returns:
- List<String> participant type as list
-
removeParticipantType
Remove the participant type -
addParticipantType
Add the participant type -
addParticipantType
Add the participant type -
includesParticipantType
- Parameters:
val- participant type- Returns:
- true if in list (ignoring case)
-
setParticipationStatus
- Parameters:
val- String participation status
-
getParticipationStatus
- Returns:
- String participation status
-
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
-
setLanguage
Set the language- Parameters:
val- String language
-
getLanguage
Get the language- Returns:
- String language
-
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
-
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
-
getVotes
-
setVotes
-
addVote
Add the response - voter only- Parameters:
val- response for voter
-
copyTo
Copy this objects values into the parameter 1 *- Parameters:
val- to copy
-
copyToMerge
Copy this objects values into the parameter merging the participation roles 1 *- Parameters:
val- to copy
-
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
-
differsFrom
Description copied from interface:DifferableReturn true if the entity differs in any way.- Specified by:
differsFromin interfaceDifferable<BwParticipant>- Returns:
- boolean
-
hashCode
public int hashCode()- Overrides:
hashCodein classBwUnversionedDbentity<BwParticipant>
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<BwParticipant>- Overrides:
compareToin classBwUnversionedDbentity<BwParticipant>
-
asString
-
toString
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Specified by:
clonein interfaceBwCloneable- Overrides:
clonein classBwUnversionedDbentity<BwParticipant>- Returns:
- Object of class T
-