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