public static class EWSMethod.Item extends HashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected List<FileAttachment> |
attachments |
protected List<EWSMethod.Attendee> |
attendees |
protected List<String> |
fieldNames |
protected List<FieldUpdate> |
fieldUpdates |
protected List<String> |
members |
protected byte[] |
mimeContent |
protected List<EWSMethod.Occurrence> |
occurrences |
protected ItemId |
referenceItemId |
String |
type
Item type.
|
| Constructor and Description |
|---|
Item() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttendee(EWSMethod.Attendee attendee)
Add attendee.
|
void |
addMember(String member)
Add member.
|
void |
addOccurrence(EWSMethod.Occurrence occurrence)
Add occurrence.
|
FileAttachment |
getAttachmentByName(String attachmentName)
Get file attachment by file name
|
List<EWSMethod.Attendee> |
getAttendees()
Get all attendees.
|
boolean |
getBoolean(String key)
Get property value as boolean
|
int |
getInt(String key)
Get property value as int
|
long |
getLong(String key)
Get property value as long
|
List<String> |
getMembers()
Get members.
|
List<EWSMethod.Occurrence> |
getOccurrences()
Get occurences.
|
String |
put(String key,
String value) |
void |
setFieldUpdates(List<FieldUpdate> fieldUpdates)
Field updates.
|
String |
toString() |
void |
write(Writer writer)
Write XML content to writer.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCodepublic String type
protected byte[] mimeContent
protected List<FieldUpdate> fieldUpdates
protected List<FileAttachment> attachments
protected List<EWSMethod.Attendee> attendees
protected List<EWSMethod.Occurrence> occurrences
protected ItemId referenceItemId
public String toString()
toString in class AbstractMap<String,String>public void write(Writer writer) throws IOException
writer - writerIOException - on errorpublic void setFieldUpdates(List<FieldUpdate> fieldUpdates)
fieldUpdates - field updatespublic int getInt(String key)
key - property response namepublic long getLong(String key)
key - property response namepublic boolean getBoolean(String key)
key - property response namepublic FileAttachment getAttachmentByName(String attachmentName)
attachmentName - attachment namepublic List<EWSMethod.Attendee> getAttendees()
public void addAttendee(EWSMethod.Attendee attendee)
attendee - attendee objectpublic void addOccurrence(EWSMethod.Occurrence occurrence)
occurrence - event occurencepublic List<EWSMethod.Occurrence> getOccurrences()
public void addMember(String member)
member - list memberCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.