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

net.opengis.swe.x20.impl.AbstractSWEDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: AbstractSWE
 * Namespace: http://www.opengis.net/swe/2.0
 * Java type: net.opengis.swe.x20.AbstractSWEDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x20.impl;
/**
 * A document containing one AbstractSWE(@http://www.opengis.net/swe/2.0) element.
 *
 * This is a complex type.
 */
public class AbstractSWEDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x20.AbstractSWEDocument
{
    private static final long serialVersionUID = 1L;
    
    public AbstractSWEDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ABSTRACTSWE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSWE");
    private static final org.apache.xmlbeans.QNameSet ABSTRACTSWE$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Vector"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Component"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Boolean"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSimpleComponent"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataRecord"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "BinaryEncoding"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractDataComponent"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "CountRange"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Matrix"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "NilValues"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "TextEncoding"),
        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", "Count"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Time"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataStream"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AllowedTokens"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Category"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "DataChoice"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Block"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractEncoding"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSWE"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "XMLEncoding"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "TimeRange"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "CategoryRange"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Quantity"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AllowedTimes"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "QuantityRange"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Text"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSWEIdentifiable"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AllowedValues"),
    });
    
    
    /**
     * Gets the "AbstractSWE" element
     */
    public net.opengis.swe.x20.AbstractSWEType getAbstractSWE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSWEType target = null;
            target = (net.opengis.swe.x20.AbstractSWEType)get_store().find_element_user(ABSTRACTSWE$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AbstractSWE" element
     */
    public void setAbstractSWE(net.opengis.swe.x20.AbstractSWEType abstractSWE)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSWEType target = null;
            target = (net.opengis.swe.x20.AbstractSWEType)get_store().find_element_user(ABSTRACTSWE$1, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x20.AbstractSWEType)get_store().add_element_user(ABSTRACTSWE$0);
            }
            target.set(abstractSWE);
        }
    }
    
    /**
     * Appends and returns a new empty "AbstractSWE" element
     */
    public net.opengis.swe.x20.AbstractSWEType addNewAbstractSWE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSWEType target = null;
            target = (net.opengis.swe.x20.AbstractSWEType)get_store().add_element_user(ABSTRACTSWE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy