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