Package davmail.exchange.ews
Class EWSMethod.Item
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
- Enclosing class:
EWSMethod
Item
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<FileAttachment> protected List<EWSMethod.Attendee> protected List<FieldUpdate> protected byte[]protected List<EWSMethod.Occurrence> protected ItemIdItem type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttendee(EWSMethod.Attendee attendee) Add attendee.voidAdd member.voidaddOccurrence(EWSMethod.Occurrence occurrence) Add occurrence.getAttachmentByName(String attachmentName) Get file attachment by file nameGet all attendees.booleangetBoolean(String key) Get property value as booleanintGet property value as intlongGet property value as longGet members.Get occurrences.voidsetFieldUpdates(List<FieldUpdate> fieldUpdates) Field updates.toString()voidWrite XML content to writer.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode
-
Field Details
-
type
Item type. -
mimeContent
protected byte[] mimeContent -
fieldUpdates
-
attachments
-
attendees
-
fieldNames
-
occurrences
-
members
-
referenceItemId
-
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
toString
- Overrides:
toStringin classAbstractMap<String,String>
-
put
-
write
Write XML content to writer.- Parameters:
writer- writer- Throws:
IOException- on error
-
setFieldUpdates
Field updates.- Parameters:
fieldUpdates- field updates
-
getInt
Get property value as int- Parameters:
key- property response name- Returns:
- property value
-
getLong
Get property value as long- Parameters:
key- property response name- Returns:
- property value
-
getBoolean
Get property value as boolean- Parameters:
key- property response name- Returns:
- property value
-
getAttachmentByName
Get file attachment by file name- Parameters:
attachmentName- attachment name- Returns:
- attachment
-
getAttendees
Get all attendees.- Returns:
- all attendees
-
addAttendee
Add attendee.- Parameters:
attendee- attendee object
-
addOccurrence
Add occurrence.- Parameters:
occurrence- event occurrence
-
getOccurrences
Get occurrences.- Returns:
- event occurrences
-
addMember
Add member.- Parameters:
member- list member
-
getMembers
Get members.- Returns:
- event members
-