Package org.bedework.jsforj.impl.values
Class JSParticipantImpl
- java.lang.Object
-
- org.bedework.jsforj.impl.values.JSValueImpl
-
- org.bedework.jsforj.impl.values.JSParticipantImpl
-
- All Implemented Interfaces:
JSParticipant,JSValue
public class JSParticipantImpl extends JSValueImpl implements JSParticipant
User: mike Date: 10/25/19 Time: 12:45
-
-
Field Summary
-
Fields inherited from class org.bedework.jsforj.impl.values.JSValueImpl
factory, type
-
-
Constructor Summary
Constructors Constructor Description JSParticipantImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSList<String>getDelegatedFrom(boolean create)A set of participant ids that this participant is acting as a delegate for.JSList<String>getDelegatedTo(boolean create)A set of participant ids that this participant has delegated their participation to.StringgetDescription()StringgetEmail()booleangetExpectReply()StringgetInvitedBy()StringgetKind()StringgetLanguage()JSLinksgetLinks(boolean create)A map of link ids to Link objects, representing external resources associated with this participant, for example a vCard or image.StringgetLocationId()JSList<String>getMemberOf(boolean create)A set of group participants that were invited to this calendar object, which caused this participant to be invited due to their membership in the group(s).StringgetName()StringgetParticipationComment()StringgetParticipationStatus()JSRolesgetRoles(boolean create)StringgetScheduleAgent()StringgetScheduleForceSend()JSArrayImpl<JSString>getScheduleStatus(boolean create)JSSendTogetSendTo(boolean create)voidsetDescription(String val)voidsetEmail(String val)voidsetExpectReply(boolean val)The RSVP parameter in 5545voidsetInvitedBy(String val)voidsetKind(String val)voidsetLanguage(String val)voidsetLocationId(String val)voidsetName(String val)voidsetParticipationComment(String val)voidsetParticipationStatus(String val)voidsetScheduleAgent(String val)voidsetScheduleForceSend(String val)-
Methods inherited from class org.bedework.jsforj.impl.values.JSValueImpl
assertArray, assertBooleanNode, assertIntNode, assertObject, assertStringNode, clear, equals, getBooleanProperty, getBooleanValue, getChanged, getFactory, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setMasterCopy, setOwner, setParentProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.jsforj.model.values.JSValue
clear, copy, getBooleanProperty, getBooleanValue, getChanged, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
-
-
-
Constructor Detail
-
JSParticipantImpl
public JSParticipantImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Detail
-
setName
public void setName(String val)
- Specified by:
setNamein interfaceJSParticipant
-
getName
public String getName()
- Specified by:
getNamein interfaceJSParticipant
-
setDescription
public void setDescription(String val)
- Specified by:
setDescriptionin interfaceJSParticipant
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceJSParticipant
-
setEmail
public void setEmail(String val)
- Specified by:
setEmailin interfaceJSParticipant
-
getEmail
public String getEmail()
- Specified by:
getEmailin interfaceJSParticipant
-
setExpectReply
public void setExpectReply(boolean val)
Description copied from interface:JSParticipantThe RSVP parameter in 5545- Specified by:
setExpectReplyin interfaceJSParticipant- Parameters:
val- true if reply expected
-
getExpectReply
public boolean getExpectReply()
- Specified by:
getExpectReplyin interfaceJSParticipant
-
setKind
public void setKind(String val)
- Specified by:
setKindin interfaceJSParticipant
-
getKind
public String getKind()
- Specified by:
getKindin interfaceJSParticipant
-
setLocationId
public void setLocationId(String val)
- Specified by:
setLocationIdin interfaceJSParticipant
-
getLocationId
public String getLocationId()
- Specified by:
getLocationIdin interfaceJSParticipant
-
setLanguage
public void setLanguage(String val)
- Specified by:
setLanguagein interfaceJSParticipant
-
getLanguage
public String getLanguage()
- Specified by:
getLanguagein interfaceJSParticipant
-
setParticipationComment
public void setParticipationComment(String val)
- Specified by:
setParticipationCommentin interfaceJSParticipant
-
getParticipationComment
public String getParticipationComment()
- Specified by:
getParticipationCommentin interfaceJSParticipant
-
setParticipationStatus
public void setParticipationStatus(String val)
- Specified by:
setParticipationStatusin interfaceJSParticipant
-
getParticipationStatus
public String getParticipationStatus()
- Specified by:
getParticipationStatusin interfaceJSParticipant
-
setScheduleAgent
public void setScheduleAgent(String val)
- Specified by:
setScheduleAgentin interfaceJSParticipant
-
getScheduleAgent
public String getScheduleAgent()
- Specified by:
getScheduleAgentin interfaceJSParticipant
-
setScheduleForceSend
public void setScheduleForceSend(String val)
- Specified by:
setScheduleForceSendin interfaceJSParticipant
-
getScheduleForceSend
public String getScheduleForceSend()
- Specified by:
getScheduleForceSendin interfaceJSParticipant
-
getScheduleStatus
public JSArrayImpl<JSString> getScheduleStatus(boolean create)
- Specified by:
getScheduleStatusin interfaceJSParticipant
-
getSendTo
public JSSendTo getSendTo(boolean create)
- Specified by:
getSendToin interfaceJSParticipant
-
setInvitedBy
public void setInvitedBy(String val)
- Specified by:
setInvitedByin interfaceJSParticipant
-
getInvitedBy
public String getInvitedBy()
- Specified by:
getInvitedByin interfaceJSParticipant
-
getRoles
public JSRoles getRoles(boolean create)
- Specified by:
getRolesin interfaceJSParticipant- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSList
object - never null if create true
-
getDelegatedTo
public JSList<String> getDelegatedTo(boolean create)
Description copied from interface:JSParticipantA set of participant ids that this participant has delegated their participation to. Each key in the set MUST be the id of a participant. The value for each key in the set MUST be true. If there are no delegates, this MUST be omitted (rather than specified as an empty set).- Specified by:
getDelegatedToin interfaceJSParticipant- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSList
object - never null if create true
-
getDelegatedFrom
public JSList<String> getDelegatedFrom(boolean create)
Description copied from interface:JSParticipantA set of participant ids that this participant is acting as a delegate for. Each key in the set MUST be the id of a participant. The value for each key in the set MUST be true. If there are no delegators, this MUST be omitted (rather than specified as an empty set).- Specified by:
getDelegatedFromin interfaceJSParticipant- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSList
object - never null if create true
-
getMemberOf
public JSList<String> getMemberOf(boolean create)
Description copied from interface:JSParticipantA set of group participants that were invited to this calendar object, which caused this participant to be invited due to their membership in the group(s). Each key in the set MUST be the id of a participant. The value for each key in the set MUST be true. If there are no groups, this MUST be omitted (rather than specified as an empty set).- Specified by:
getMemberOfin interfaceJSParticipant- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSList
object - never null if create true
-
getLinks
public JSLinks getLinks(boolean create)
Description copied from interface:JSParticipantA map of link ids to Link objects, representing external resources associated with this participant, for example a vCard or image. If there are no links, this MUST be omitted (rather than specified as an empty set).- Specified by:
getLinksin interfaceJSParticipant- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSList
object - never null if create true
-
-