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