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

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

/*
 * An XML document type.
 * Localname: AbstractSWEIdentifiable
 * Namespace: http://www.opengis.net/swe/2.0
 * Java type: net.opengis.swe.x20.AbstractSWEIdentifiableDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x20.impl;
/**
 * A document containing one AbstractSWEIdentifiable(@http://www.opengis.net/swe/2.0) element.
 *
 * This is a complex type.
 */
public class AbstractSWEIdentifiableDocumentImpl extends net.opengis.swe.x20.impl.AbstractSWEDocumentImpl implements net.opengis.swe.x20.AbstractSWEIdentifiableDocument
{
    private static final long serialVersionUID = 1L;
    
    public AbstractSWEIdentifiableDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ABSTRACTSWEIDENTIFIABLE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSWEIdentifiable");
    private static final org.apache.xmlbeans.QNameSet ABSTRACTSWEIDENTIFIABLE$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", "DataChoice"),
        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", "AbstractDataComponent"),
        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", "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", "CategoryRange"),
        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", "Quantity"),
        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", "QuantityRange"),
        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", "Text"),
        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", "AbstractSWEIdentifiable"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "Category"),
    });
    
    
    /**
     * Gets the "AbstractSWEIdentifiable" element
     */
    public net.opengis.swe.x20.AbstractSWEIdentifiableType getAbstractSWEIdentifiable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSWEIdentifiableType target = null;
            target = (net.opengis.swe.x20.AbstractSWEIdentifiableType)get_store().find_element_user(ABSTRACTSWEIDENTIFIABLE$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AbstractSWEIdentifiable" element
     */
    public void setAbstractSWEIdentifiable(net.opengis.swe.x20.AbstractSWEIdentifiableType abstractSWEIdentifiable)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSWEIdentifiableType target = null;
            target = (net.opengis.swe.x20.AbstractSWEIdentifiableType)get_store().find_element_user(ABSTRACTSWEIDENTIFIABLE$1, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x20.AbstractSWEIdentifiableType)get_store().add_element_user(ABSTRACTSWEIDENTIFIABLE$0);
            }
            target.set(abstractSWEIdentifiable);
        }
    }
    
    /**
     * Appends and returns a new empty "AbstractSWEIdentifiable" element
     */
    public net.opengis.swe.x20.AbstractSWEIdentifiableType addNewAbstractSWEIdentifiable()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSWEIdentifiableType target = null;
            target = (net.opengis.swe.x20.AbstractSWEIdentifiableType)get_store().add_element_user(ABSTRACTSWEIDENTIFIABLE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy