net.opengis.wns.x00.impl.NotificationMessageDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: NotificationMessage
* Namespace: http://www.opengis.net/wns/0.0
* Java type: net.opengis.wns.x00.NotificationMessageDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.wns.x00.impl;
/**
* A document containing one NotificationMessage(@http://www.opengis.net/wns/0.0) element.
*
* This is a complex type.
*/
public class NotificationMessageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.wns.x00.NotificationMessageDocument
{
private static final long serialVersionUID = 1L;
public NotificationMessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NOTIFICATIONMESSAGE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/wns/0.0", "NotificationMessage");
/**
* Gets the "NotificationMessage" element
*/
public net.opengis.wns.x00.NotificationMessageType getNotificationMessage()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.NotificationMessageType target = null;
target = (net.opengis.wns.x00.NotificationMessageType)get_store().find_element_user(NOTIFICATIONMESSAGE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "NotificationMessage" element
*/
public void setNotificationMessage(net.opengis.wns.x00.NotificationMessageType notificationMessage)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.NotificationMessageType target = null;
target = (net.opengis.wns.x00.NotificationMessageType)get_store().find_element_user(NOTIFICATIONMESSAGE$0, 0);
if (target == null)
{
target = (net.opengis.wns.x00.NotificationMessageType)get_store().add_element_user(NOTIFICATIONMESSAGE$0);
}
target.set(notificationMessage);
}
}
/**
* Appends and returns a new empty "NotificationMessage" element
*/
public net.opengis.wns.x00.NotificationMessageType addNewNotificationMessage()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.wns.x00.NotificationMessageType target = null;
target = (net.opengis.wns.x00.NotificationMessageType)get_store().add_element_user(NOTIFICATIONMESSAGE$0);
return target;
}
}
}