Class JSParticipantsImpl
- java.lang.Object
-
- org.bedework.jsforj.impl.values.JSValueImpl
-
- org.bedework.jsforj.impl.values.collections.JSMapImpl<K,E>
-
- org.bedework.jsforj.impl.values.collections.JSIdMapImpl<String,JSParticipant>
-
- org.bedework.jsforj.impl.values.collections.JSParticipantsImpl
-
- All Implemented Interfaces:
JSIdMap<String,JSParticipant>,JSMap<String,JSParticipant>,JSParticipants,JSValue
public class JSParticipantsImpl extends JSIdMapImpl<String,JSParticipant> implements JSParticipants
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 JSParticipantsImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringconvertFieldName(String fieldName)protected StringconvertKey(String key)JSProperty<JSParticipant>findParticipant(String cua)List<JSProperty<JSParticipant>>getAttendees()Get all attendee participant objectsprotected StringgetPropertyType()JSProperty<JSParticipant>makeParticipant()Create and add a new participant object with a small integer as key-
Methods inherited from class org.bedework.jsforj.impl.values.collections.JSIdMapImpl
nextId
-
Methods inherited from class org.bedework.jsforj.impl.values.collections.JSMapImpl
get, get, getKeys, makeEntry, makeProperty, postCreate, put, put, remove, remove, size
-
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, 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.collections.JSMap
get, get, getKeys, makeEntry, put, put, remove, remove, size
-
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
-
JSParticipantsImpl
public JSParticipantsImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Detail
-
getPropertyType
protected String getPropertyType()
- Specified by:
getPropertyTypein classJSMapImpl<String,JSParticipant>
-
convertKey
protected String convertKey(String key)
- Specified by:
convertKeyin classJSMapImpl<String,JSParticipant>- Parameters:
key- external form- Returns:
- String
-
convertFieldName
protected String convertFieldName(String fieldName)
- Specified by:
convertFieldNamein classJSMapImpl<String,JSParticipant>
-
makeParticipant
public JSProperty<JSParticipant> makeParticipant()
Description copied from interface:JSParticipantsCreate and add a new participant object with a small integer as key- Specified by:
makeParticipantin interfaceJSParticipants
-
getAttendees
public List<JSProperty<JSParticipant>> getAttendees()
Description copied from interface:JSParticipantsGet all attendee participant objects- Specified by:
getAttendeesin interfaceJSParticipants- Returns:
- non null list
-
findParticipant
public JSProperty<JSParticipant> findParticipant(String cua)
- Specified by:
findParticipantin interfaceJSParticipants- Parameters:
cua- identifying the participant- Returns:
- null if not found else a participant with a matching sendTo
-
-