net.opengis.swe.x20.impl.NilValuesDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: NilValues
* Namespace: http://www.opengis.net/swe/2.0
* Java type: net.opengis.swe.x20.NilValuesDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x20.impl;
/**
* A document containing one NilValues(@http://www.opengis.net/swe/2.0) element.
*
* This is a complex type.
*/
public class NilValuesDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEDocumentImpl implements net.opengis.swe.x20.NilValuesDocument
{
private static final long serialVersionUID = 1L;
public NilValuesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NILVALUES$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "NilValues");
/**
* Gets the "NilValues" element
*/
public net.opengis.swe.x20.NilValuesType getNilValues()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.NilValuesType target = null;
target = (net.opengis.swe.x20.NilValuesType)get_store().find_element_user(NILVALUES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "NilValues" element
*/
public void setNilValues(net.opengis.swe.x20.NilValuesType nilValues)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.NilValuesType target = null;
target = (net.opengis.swe.x20.NilValuesType)get_store().find_element_user(NILVALUES$0, 0);
if (target == null)
{
target = (net.opengis.swe.x20.NilValuesType)get_store().add_element_user(NILVALUES$0);
}
target.set(nilValues);
}
}
/**
* Appends and returns a new empty "NilValues" element
*/
public net.opengis.swe.x20.NilValuesType addNewNilValues()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.NilValuesType target = null;
target = (net.opengis.swe.x20.NilValuesType)get_store().add_element_user(NILVALUES$0);
return target;
}
}
}