net.opengis.sps.x10.impl.NotificationTargetDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: notificationTarget
* Namespace: http://www.opengis.net/sps/1.0
* Java type: net.opengis.sps.x10.NotificationTargetDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x10.impl;
/**
* A document containing one notificationTarget(@http://www.opengis.net/sps/1.0) element.
*
* This is a complex type.
*/
public class NotificationTargetDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.NotificationTargetDocument
{
private static final long serialVersionUID = 1L;
public NotificationTargetDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NOTIFICATIONTARGET$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "notificationTarget");
/**
* Gets the "notificationTarget" element
*/
public net.opengis.sps.x10.NotificationTargetType getNotificationTarget()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.NotificationTargetType target = null;
target = (net.opengis.sps.x10.NotificationTargetType)get_store().find_element_user(NOTIFICATIONTARGET$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "notificationTarget" element
*/
public void setNotificationTarget(net.opengis.sps.x10.NotificationTargetType notificationTarget)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.NotificationTargetType target = null;
target = (net.opengis.sps.x10.NotificationTargetType)get_store().find_element_user(NOTIFICATIONTARGET$0, 0);
if (target == null)
{
target = (net.opengis.sps.x10.NotificationTargetType)get_store().add_element_user(NOTIFICATIONTARGET$0);
}
target.set(notificationTarget);
}
}
/**
* Appends and returns a new empty "notificationTarget" element
*/
public net.opengis.sps.x10.NotificationTargetType addNewNotificationTarget()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.NotificationTargetType target = null;
target = (net.opengis.sps.x10.NotificationTargetType)get_store().add_element_user(NOTIFICATIONTARGET$0);
return target;
}
}
}