net.opengis.swe.x20.impl.DataArrayDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: DataArray
* Namespace: http://www.opengis.net/swe/2.0
* Java type: net.opengis.swe.x20.DataArrayDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x20.impl;
/**
* A document containing one DataArray(@http://www.opengis.net/swe/2.0) element.
*
* This is a complex type.
*/
public class DataArrayDocumentImpl extends net.opengis.swe.x20.impl.AbstractDataComponentDocumentImpl implements net.opengis.swe.x20.DataArrayDocument
{
private static final long serialVersionUID = 1L;
public DataArrayDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DATAARRAY1$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataArray");
private static final org.apache.xmlbeans.QNameSet DATAARRAY1$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataArray"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Matrix"),
});
/**
* Gets the "DataArray" element
*/
public net.opengis.swe.x20.DataArrayType getDataArray1()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.DataArrayType target = null;
target = (net.opengis.swe.x20.DataArrayType)get_store().find_element_user(DATAARRAY1$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "DataArray" element
*/
public void setDataArray1(net.opengis.swe.x20.DataArrayType dataArray1)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.DataArrayType target = null;
target = (net.opengis.swe.x20.DataArrayType)get_store().find_element_user(DATAARRAY1$1, 0);
if (target == null)
{
target = (net.opengis.swe.x20.DataArrayType)get_store().add_element_user(DATAARRAY1$0);
}
target.set(dataArray1);
}
}
/**
* Appends and returns a new empty "DataArray" element
*/
public net.opengis.swe.x20.DataArrayType addNewDataArray1()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.DataArrayType target = null;
target = (net.opengis.swe.x20.DataArrayType)get_store().add_element_user(DATAARRAY1$0);
return target;
}
}
}