microsoft.exchange.webservices.data.core.service
Class ServiceObjectInfo

java.lang.Object
  extended by 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
ServiceObjectInfo()
          Default constructor.
 
Method Summary
protected  void addOnChangeEvent(ICreateServiceObjectWithAttachmentParam change)
          Set event to happen when property changed.
protected  void addOnChangeEvent(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  void removeChangeEvent(ICreateServiceObjectWithAttachmentParam change)
          Remove the event from happening when property changed.
protected  void removeChangeEvent(ICreateServiceObjectWithServiceParam change)
          Remove the event from happening when property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2012–2015 Microsoft. All rights reserved.