org.example.wsHT.impl.XMLNotificationsDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: notifications
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLNotificationsDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* A document containing one notifications(@http://www.example.org/WS-HT) element.
*
* This is a complex type.
*/
public class XMLNotificationsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.XMLNotificationsDocument
{
private static final long serialVersionUID = 1L;
public XMLNotificationsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NOTIFICATIONS$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "notifications");
/**
* Gets the "notifications" element
*/
public org.example.wsHT.XMLTNotifications getNotifications()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTNotifications target = null;
target = (org.example.wsHT.XMLTNotifications)get_store().find_element_user(NOTIFICATIONS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "notifications" element
*/
public void setNotifications(org.example.wsHT.XMLTNotifications notifications)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTNotifications target = null;
target = (org.example.wsHT.XMLTNotifications)get_store().find_element_user(NOTIFICATIONS$0, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTNotifications)get_store().add_element_user(NOTIFICATIONS$0);
}
target.set(notifications);
}
}
/**
* Appends and returns a new empty "notifications" element
*/
public org.example.wsHT.XMLTNotifications addNewNotifications()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTNotifications target = null;
target = (org.example.wsHT.XMLTNotifications)get_store().add_element_user(NOTIFICATIONS$0);
return target;
}
}
}