Class ServiceObjectInfo
- java.lang.Object
-
- microsoft.exchange.webservices.data.core.service.ServiceObjectInfo
-
public class ServiceObjectInfo extends Object
ServiceObjectInfo contains metadata on how to map from an element name to a ServiceObject type as well as how to map from a ServiceObject type to appropriate constructors.
-
-
Constructor Summary
Constructors Constructor Description ServiceObjectInfo()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddOnChangeEvent(ICreateServiceObjectWithAttachmentParam change)Set event to happen when property changed.protected voidaddOnChangeEvent(ICreateServiceObjectWithServiceParam change)Set event to happen when property changed.Map<Class<?>,ICreateServiceObjectWithAttachmentParam>getServiceObjectConstructorsWithAttachmentParam()Return Dictionary that maps from ServiceObject Type to CreateServiceObjectWithAttachmentParam delegate with ItemAttachment parameter.Map<Class<?>,ICreateServiceObjectWithServiceParam>getServiceObjectConstructorsWithServiceParam()Return Dictionary that maps from ServiceObject Type to CreateServiceObjectWithServiceParam delegate with ExchangeService parameter.Map<String,Class<?>>getXmlElementNameToServiceObjectClassMap()Return Dictionary that maps from element name to ServiceObject Type.protected voidremoveChangeEvent(ICreateServiceObjectWithAttachmentParam change)Remove the event from happening when property changed.protected voidremoveChangeEvent(ICreateServiceObjectWithServiceParam change)Remove the event from happening when property changed.
-
-
-
Constructor Detail
-
ServiceObjectInfo
public ServiceObjectInfo()
Default constructor.
-
-
Method Detail
-
getXmlElementNameToServiceObjectClassMap
public Map<String,Class<?>> getXmlElementNameToServiceObjectClassMap()
Return Dictionary that maps from element name to ServiceObject Type.- Returns:
- the xml element name to service object class map
-
getServiceObjectConstructorsWithServiceParam
public Map<Class<?>,ICreateServiceObjectWithServiceParam> getServiceObjectConstructorsWithServiceParam()
Return Dictionary that maps from ServiceObject Type to CreateServiceObjectWithServiceParam delegate with ExchangeService parameter.- Returns:
- the service object constructors with service param
-
getServiceObjectConstructorsWithAttachmentParam
public Map<Class<?>,ICreateServiceObjectWithAttachmentParam> getServiceObjectConstructorsWithAttachmentParam()
Return Dictionary that maps from ServiceObject Type to CreateServiceObjectWithAttachmentParam delegate with ItemAttachment parameter.- Returns:
- the service object constructors with attachment param
-
addOnChangeEvent
protected void addOnChangeEvent(ICreateServiceObjectWithAttachmentParam change)
Set event to happen when property changed.- Parameters:
change- change event
-
removeChangeEvent
protected void removeChangeEvent(ICreateServiceObjectWithAttachmentParam change)
Remove the event from happening when property changed.- Parameters:
change- change event
-
addOnChangeEvent
protected void addOnChangeEvent(ICreateServiceObjectWithServiceParam change)
Set event to happen when property changed.- Parameters:
change- change event
-
removeChangeEvent
protected void removeChangeEvent(ICreateServiceObjectWithServiceParam change)
Remove the event from happening when property changed.- Parameters:
change- change event
-
-