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