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

net.opengis.sampling.x20.impl.SamplingFeatureComplexDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: SamplingFeatureComplex
 * Namespace: http://www.opengis.net/sampling/2.0
 * Java type: net.opengis.sampling.x20.SamplingFeatureComplexDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sampling.x20.impl;
/**
 * A document containing one SamplingFeatureComplex(@http://www.opengis.net/sampling/2.0) element.
 *
 * This is a complex type.
 */
public class SamplingFeatureComplexDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sampling.x20.SamplingFeatureComplexDocument
{
    private static final long serialVersionUID = 1L;
    
    public SamplingFeatureComplexDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SAMPLINGFEATURECOMPLEX$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sampling/2.0", "SamplingFeatureComplex");
    
    
    /**
     * Gets the "SamplingFeatureComplex" element
     */
    public net.opengis.sampling.x20.SamplingFeatureComplexType getSamplingFeatureComplex()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SamplingFeatureComplexType target = null;
            target = (net.opengis.sampling.x20.SamplingFeatureComplexType)get_store().find_element_user(SAMPLINGFEATURECOMPLEX$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SamplingFeatureComplex" element
     */
    public void setSamplingFeatureComplex(net.opengis.sampling.x20.SamplingFeatureComplexType samplingFeatureComplex)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SamplingFeatureComplexType target = null;
            target = (net.opengis.sampling.x20.SamplingFeatureComplexType)get_store().find_element_user(SAMPLINGFEATURECOMPLEX$0, 0);
            if (target == null)
            {
                target = (net.opengis.sampling.x20.SamplingFeatureComplexType)get_store().add_element_user(SAMPLINGFEATURECOMPLEX$0);
            }
            target.set(samplingFeatureComplex);
        }
    }
    
    /**
     * Appends and returns a new empty "SamplingFeatureComplex" element
     */
    public net.opengis.sampling.x20.SamplingFeatureComplexType addNewSamplingFeatureComplex()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SamplingFeatureComplexType target = null;
            target = (net.opengis.sampling.x20.SamplingFeatureComplexType)get_store().add_element_user(SAMPLINGFEATURECOMPLEX$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy