All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.swe.x101.impl.DataArrayDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: DataArray
 * Namespace: http://www.opengis.net/swe/1.0.1
 * Java type: net.opengis.swe.x101.DataArrayDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x101.impl;
/**
 * A document containing one DataArray(@http://www.opengis.net/swe/1.0.1) element.
 *
 * This is a complex type.
 */
public class DataArrayDocumentImpl extends net.opengis.swe.x101.impl.AbstractDataArrayDocumentImpl implements net.opengis.swe.x101.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/1.0.1", "DataArray");
    
    
    /**
     * Gets the "DataArray" element
     */
    public net.opengis.swe.x101.DataArrayType getDataArray1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x101.DataArrayType target = null;
            target = (net.opengis.swe.x101.DataArrayType)get_store().find_element_user(DATAARRAY1$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "DataArray" element
     */
    public void setDataArray1(net.opengis.swe.x101.DataArrayType dataArray1)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x101.DataArrayType target = null;
            target = (net.opengis.swe.x101.DataArrayType)get_store().find_element_user(DATAARRAY1$0, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x101.DataArrayType)get_store().add_element_user(DATAARRAY1$0);
            }
            target.set(dataArray1);
        }
    }
    
    /**
     * Appends and returns a new empty "DataArray" element
     */
    public net.opengis.swe.x101.DataArrayType addNewDataArray1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x101.DataArrayType target = null;
            target = (net.opengis.swe.x101.DataArrayType)get_store().add_element_user(DATAARRAY1$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy