net.opengis.swe.x101.impl.ArrayDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Array
* Namespace: http://www.opengis.net/swe/1.0.1
* Java type: net.opengis.swe.x101.ArrayDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x101.impl;
/**
* A document containing one Array(@http://www.opengis.net/swe/1.0.1) element.
*
* This is a complex type.
*/
public class ArrayDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x101.ArrayDocument
{
private static final long serialVersionUID = 1L;
public ArrayDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ARRAY$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "Array");
/**
* Gets the "Array" element
*/
public net.opengis.swe.x101.ArrayType getArray()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.ArrayType target = null;
target = (net.opengis.swe.x101.ArrayType)get_store().find_element_user(ARRAY$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Array" element
*/
public void setArray(net.opengis.swe.x101.ArrayType array)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.ArrayType target = null;
target = (net.opengis.swe.x101.ArrayType)get_store().find_element_user(ARRAY$0, 0);
if (target == null)
{
target = (net.opengis.swe.x101.ArrayType)get_store().add_element_user(ARRAY$0);
}
target.set(array);
}
}
/**
* Appends and returns a new empty "Array" element
*/
public net.opengis.swe.x101.ArrayType addNewArray()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.ArrayType target = null;
target = (net.opengis.swe.x101.ArrayType)get_store().add_element_user(ARRAY$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy