com.microsoft.exchange.types
Class NotificationType

java.lang.Object
  extended by com.microsoft.exchange.types.NotificationType
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class NotificationType
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for NotificationType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="NotificationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="SubscriptionId" type="{http://schemas.microsoft.com/exchange/services/2006/types}SubscriptionIdType"/>
         <element name="PreviousWatermark" type="{http://schemas.microsoft.com/exchange/services/2006/types}WatermarkType"/>
         <element name="MoreEvents" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <choice maxOccurs="unbounded">
           <element name="CopiedEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}MovedCopiedEventType"/>
           <element name="CreatedEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}BaseObjectChangedEventType"/>
           <element name="DeletedEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}BaseObjectChangedEventType"/>
           <element name="ModifiedEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}ModifiedEventType"/>
           <element name="MovedEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}MovedCopiedEventType"/>
           <element name="NewMailEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}BaseObjectChangedEventType"/>
           <element name="StatusEvent" type="{http://schemas.microsoft.com/exchange/services/2006/types}BaseNotificationEventType"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<JAXBElement<? extends BaseNotificationEventType>> copiedEventsAndCreatedEventsAndDeletedEvents
           
protected  boolean moreEvents
           
protected  String previousWatermark
           
protected  String subscriptionId
           
 
Constructor Summary
NotificationType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 List<JAXBElement<? extends BaseNotificationEventType>> getCopiedEventsAndCreatedEventsAndDeletedEvents()
          Gets the value of the copiedEventsAndCreatedEventsAndDeletedEvents property.
 String getPreviousWatermark()
          Gets the value of the previousWatermark property.
 String getSubscriptionId()
          Gets the value of the subscriptionId property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isMoreEvents()
          Gets the value of the moreEvents property.
 void setMoreEvents(boolean value)
          Sets the value of the moreEvents property.
 void setPreviousWatermark(String value)
          Sets the value of the previousWatermark property.
 void setSubscriptionId(String value)
          Sets the value of the subscriptionId property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

subscriptionId

protected String subscriptionId

previousWatermark

protected String previousWatermark

moreEvents

protected boolean moreEvents

copiedEventsAndCreatedEventsAndDeletedEvents

protected List<JAXBElement<? extends BaseNotificationEventType>> copiedEventsAndCreatedEventsAndDeletedEvents
Constructor Detail

NotificationType

public NotificationType()
Method Detail

getSubscriptionId

public String getSubscriptionId()
Gets the value of the subscriptionId property.

Returns:
possible object is String

setSubscriptionId

public void setSubscriptionId(String value)
Sets the value of the subscriptionId property.

Parameters:
value - allowed object is String

getPreviousWatermark

public String getPreviousWatermark()
Gets the value of the previousWatermark property.

Returns:
possible object is String

setPreviousWatermark

public void setPreviousWatermark(String value)
Sets the value of the previousWatermark property.

Parameters:
value - allowed object is String

isMoreEvents

public boolean isMoreEvents()
Gets the value of the moreEvents property.


setMoreEvents

public void setMoreEvents(boolean value)
Sets the value of the moreEvents property.


getCopiedEventsAndCreatedEventsAndDeletedEvents

public List<JAXBElement<? extends BaseNotificationEventType>> getCopiedEventsAndCreatedEventsAndDeletedEvents()
Gets the value of the copiedEventsAndCreatedEventsAndDeletedEvents property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the copiedEventsAndCreatedEventsAndDeletedEvents property.

For example, to add a new item, do as follows:

    getCopiedEventsAndCreatedEventsAndDeletedEvents().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<MovedCopiedEventType> JAXBElement<BaseObjectChangedEventType> JAXBElement<BaseObjectChangedEventType> JAXBElement<BaseNotificationEventType> JAXBElement<MovedCopiedEventType> JAXBElement<ModifiedEventType> JAXBElement<BaseObjectChangedEventType>


toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2012 Jasig. All Rights Reserved.