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

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

/*
 * An XML document type.
 * Localname: AbstractSimpleComponent
 * Namespace: http://www.opengis.net/swe/2.0
 * Java type: net.opengis.swe.x20.AbstractSimpleComponentDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x20.impl;
/**
 * A document containing one AbstractSimpleComponent(@http://www.opengis.net/swe/2.0) element.
 *
 * This is a complex type.
 */
public class AbstractSimpleComponentDocumentImpl extends net.opengis.swe.x20.impl.AbstractDataComponentDocumentImpl implements net.opengis.swe.x20.AbstractSimpleComponentDocument
{
    private static final long serialVersionUID = 1L;
    
    public AbstractSimpleComponentDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ABSTRACTSIMPLECOMPONENT$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractSimpleComponent");
    private static final org.apache.xmlbeans.QNameSet ABSTRACTSIMPLECOMPONENT$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        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", "CategoryRange"),
        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", "TimeRange"),
        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", "CountRange"),
        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", "AbstractSimpleComponent"),
        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", "Quantity"),
    });
    
    
    /**
     * Gets the "AbstractSimpleComponent" element
     */
    public net.opengis.swe.x20.AbstractSimpleComponentType getAbstractSimpleComponent()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSimpleComponentType target = null;
            target = (net.opengis.swe.x20.AbstractSimpleComponentType)get_store().find_element_user(ABSTRACTSIMPLECOMPONENT$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AbstractSimpleComponent" element
     */
    public void setAbstractSimpleComponent(net.opengis.swe.x20.AbstractSimpleComponentType abstractSimpleComponent)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSimpleComponentType target = null;
            target = (net.opengis.swe.x20.AbstractSimpleComponentType)get_store().find_element_user(ABSTRACTSIMPLECOMPONENT$1, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x20.AbstractSimpleComponentType)get_store().add_element_user(ABSTRACTSIMPLECOMPONENT$0);
            }
            target.set(abstractSimpleComponent);
        }
    }
    
    /**
     * Appends and returns a new empty "AbstractSimpleComponent" element
     */
    public net.opengis.swe.x20.AbstractSimpleComponentType addNewAbstractSimpleComponent()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x20.AbstractSimpleComponentType target = null;
            target = (net.opengis.swe.x20.AbstractSimpleComponentType)get_store().add_element_user(ABSTRACTSIMPLECOMPONENT$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy