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

net.opengis.samplingSpatial.x20.impl.SFSpatialSamplingFeatureDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: SF_SpatialSamplingFeature
 * Namespace: http://www.opengis.net/samplingSpatial/2.0
 * Java type: net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.samplingSpatial.x20.impl;
/**
 * A document containing one SF_SpatialSamplingFeature(@http://www.opengis.net/samplingSpatial/2.0) element.
 *
 * This is a complex type.
 */
public class SFSpatialSamplingFeatureDocumentImpl extends net.opengis.sampling.x20.impl.SFSamplingFeatureDocumentImpl implements net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureDocument
{
    private static final long serialVersionUID = 1L;
    
    public SFSpatialSamplingFeatureDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SFSPATIALSAMPLINGFEATURE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/samplingSpatial/2.0", "SF_SpatialSamplingFeature");
    
    
    /**
     * Gets the "SF_SpatialSamplingFeature" element
     */
    public net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType getSFSpatialSamplingFeature()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType target = null;
            target = (net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType)get_store().find_element_user(SFSPATIALSAMPLINGFEATURE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SF_SpatialSamplingFeature" element
     */
    public void setSFSpatialSamplingFeature(net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType sfSpatialSamplingFeature)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType target = null;
            target = (net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType)get_store().find_element_user(SFSPATIALSAMPLINGFEATURE$0, 0);
            if (target == null)
            {
                target = (net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType)get_store().add_element_user(SFSPATIALSAMPLINGFEATURE$0);
            }
            target.set(sfSpatialSamplingFeature);
        }
    }
    
    /**
     * Appends and returns a new empty "SF_SpatialSamplingFeature" element
     */
    public net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType addNewSFSpatialSamplingFeature()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType target = null;
            target = (net.opengis.samplingSpatial.x20.SFSpatialSamplingFeatureType)get_store().add_element_user(SFSPATIALSAMPLINGFEATURE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy