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>
| Modifier and Type | Field and Description |
|---|---|
protected List<JAXBElement<? extends BaseNotificationEventType>> |
copiedEventsAndCreatedEventsAndDeletedEvents |
protected boolean |
moreEvents |
protected String |
previousWatermark |
protected String |
subscriptionId |
| Constructor and Description |
|---|
NotificationType() |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected String subscriptionId
protected String previousWatermark
protected boolean moreEvents
protected List<JAXBElement<? extends BaseNotificationEventType>> copiedEventsAndCreatedEventsAndDeletedEvents
public String getSubscriptionId()
Stringpublic void setSubscriptionId(String value)
value - allowed object is
Stringpublic String getPreviousWatermark()
Stringpublic void setPreviousWatermark(String value)
value - allowed object is
Stringpublic boolean isMoreEvents()
public void setMoreEvents(boolean value)
public List<JAXBElement<? extends BaseNotificationEventType>> getCopiedEventsAndCreatedEventsAndDeletedEvents()
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<BaseObjectChangedEventType>
JAXBElement<BaseObjectChangedEventType>
JAXBElement<ModifiedEventType>
JAXBElement<MovedCopiedEventType>
JAXBElement<BaseObjectChangedEventType>
JAXBElement<BaseNotificationEventType>
JAXBElement<MovedCopiedEventType>
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic 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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodeCopyright © 2016 Apereo. All Rights Reserved.