Package org.bedework.jsforj.impl.values
Class JSCalendarObjectImpl
- java.lang.Object
-
- org.bedework.jsforj.impl.values.JSValueImpl
-
- org.bedework.jsforj.impl.values.JSCalendarObjectImpl
-
- All Implemented Interfaces:
JSCalendarObject,JSValue
- Direct Known Subclasses:
JSEventImpl,JSGroupImpl,JSPatchObjectImpl,JSTaskImpl
public class JSCalendarObjectImpl extends JSValueImpl implements JSCalendarObject
User: mike Date: 10/24/19 Time: 17:09
-
-
Field Summary
-
Fields inherited from class org.bedework.jsforj.impl.values.JSValueImpl
factory, type
-
-
Constructor Summary
Constructors Constructor Description JSCalendarObjectImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSAlertsgetAlerts(boolean create)JSList<String>getCategories(boolean create)StringgetDescription()JSRecurrenceRulesgetExcludedRecurrenceRules(boolean create)JSList<String>getKeywords(boolean create)JSLinksgetLinks(boolean create)JSLocationsgetLocations(boolean create)JSRecurrenceOverridesgetOverrides(boolean create)JSParticipantsgetParticipants(boolean create)JSLocalDateTimegetRecurrenceId()JSRecurrenceRulesgetRecurrenceRules(boolean create)JSRelationsgetRelatedTo(boolean create)JSReplyTogetReplyTo(boolean create)StringgetTitle()StringgetUid()voidsetDescription(String val)voidsetRecurrenceId(JSLocalDateTime val)voidsetTitle(String val)voidsetUid(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
-
JSCalendarObjectImpl
public JSCalendarObjectImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Detail
-
setUid
public void setUid(String val)
- Specified by:
setUidin interfaceJSCalendarObject- Parameters:
val- the uid throws JsforjException if value already present
-
getUid
public String getUid()
- Specified by:
getUidin interfaceJSCalendarObject- Returns:
- uid or null if none set
-
setDescription
public void setDescription(String val)
- Specified by:
setDescriptionin interfaceJSCalendarObject- Parameters:
val- the description throws JsforjException if value already present
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceJSCalendarObject- Returns:
- description or null if none set
-
setTitle
public void setTitle(String val)
- Specified by:
setTitlein interfaceJSCalendarObject- Parameters:
val- the title
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceJSCalendarObject- Returns:
- title or null if none set
-
setRecurrenceId
public void setRecurrenceId(JSLocalDateTime val)
- Specified by:
setRecurrenceIdin interfaceJSCalendarObject- Parameters:
val- the recurrence id throws JsforjException if value already present or not override
-
getRecurrenceId
public JSLocalDateTime getRecurrenceId()
- Specified by:
getRecurrenceIdin interfaceJSCalendarObject- Returns:
- Recurrence id or null if none set
-
getAlerts
public JSAlerts getAlerts(boolean create)
- Specified by:
getAlertsin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- list of alerts
-
getCategories
public JSList<String> getCategories(boolean create)
- Specified by:
getCategoriesin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSList
object - never null if create true
-
getKeywords
public JSList<String> getKeywords(boolean create)
- Specified by:
getKeywordsin interfaceJSCalendarObject- 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)
- Specified by:
getLinksin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSLinks object - never null if create true
-
getLocations
public JSLocations getLocations(boolean create)
- Specified by:
getLocationsin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSLocations object - never null if create true
-
getParticipants
public JSParticipants getParticipants(boolean create)
- Specified by:
getParticipantsin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- participants object
-
getExcludedRecurrenceRules
public JSRecurrenceRules getExcludedRecurrenceRules(boolean create)
- Specified by:
getExcludedRecurrenceRulesin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- recurrence rules object
-
getRecurrenceRules
public JSRecurrenceRules getRecurrenceRules(boolean create)
- Specified by:
getRecurrenceRulesin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- recurrence rules object
-
getReplyTo
public JSReplyTo getReplyTo(boolean create)
- Specified by:
getReplyToin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- replyTo object
-
getOverrides
public JSRecurrenceOverrides getOverrides(boolean create)
- Specified by:
getOverridesin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- recurrences object
-
getRelatedTo
public JSRelations getRelatedTo(boolean create)
- Specified by:
getRelatedToin interfaceJSCalendarObject- Parameters:
create- true if we create property if it doesn't exist- Returns:
- relations object
-
-