net.opengis.sensorml.x20.impl.ParameterListDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: ParameterList
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.ParameterListDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* A document containing one ParameterList(@http://www.opengis.net/sensorml/2.0) element.
*
* This is a complex type.
*/
public class ParameterListDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEDocumentImpl implements net.opengis.sensorml.x20.ParameterListDocument
{
private static final long serialVersionUID = 1L;
public ParameterListDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PARAMETERLIST$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "ParameterList");
/**
* Gets the "ParameterList" element
*/
public net.opengis.sensorml.x20.ParameterListType getParameterList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ParameterListType target = null;
target = (net.opengis.sensorml.x20.ParameterListType)get_store().find_element_user(PARAMETERLIST$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ParameterList" element
*/
public void setParameterList(net.opengis.sensorml.x20.ParameterListType parameterList)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ParameterListType target = null;
target = (net.opengis.sensorml.x20.ParameterListType)get_store().find_element_user(PARAMETERLIST$0, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.ParameterListType)get_store().add_element_user(PARAMETERLIST$0);
}
target.set(parameterList);
}
}
/**
* Appends and returns a new empty "ParameterList" element
*/
public net.opengis.sensorml.x20.ParameterListType addNewParameterList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ParameterListType target = null;
target = (net.opengis.sensorml.x20.ParameterListType)get_store().add_element_user(PARAMETERLIST$0);
return target;
}
}
}