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

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

The newest version!
/*
 * An XML document type.
 * Localname: SF_SamplingFeatureCollection
 * Namespace: http://www.opengis.net/sampling/2.0
 * Java type: net.opengis.sampling.x20.SFSamplingFeatureCollectionDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sampling.x20.impl;
/**
 * A document containing one SF_SamplingFeatureCollection(@http://www.opengis.net/sampling/2.0) element.
 *
 * This is a complex type.
 */
public class SFSamplingFeatureCollectionDocumentImpl extends net.opengis.gml.x32.impl.AbstractFeatureDocumentImpl implements net.opengis.sampling.x20.SFSamplingFeatureCollectionDocument
{
    private static final long serialVersionUID = 1L;
    
    public SFSamplingFeatureCollectionDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SFSAMPLINGFEATURECOLLECTION$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sampling/2.0", "SF_SamplingFeatureCollection");
    
    
    /**
     * Gets the "SF_SamplingFeatureCollection" element
     */
    public net.opengis.sampling.x20.SFSamplingFeatureCollectionType getSFSamplingFeatureCollection()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SFSamplingFeatureCollectionType target = null;
            target = (net.opengis.sampling.x20.SFSamplingFeatureCollectionType)get_store().find_element_user(SFSAMPLINGFEATURECOLLECTION$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SF_SamplingFeatureCollection" element
     */
    public void setSFSamplingFeatureCollection(net.opengis.sampling.x20.SFSamplingFeatureCollectionType sfSamplingFeatureCollection)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SFSamplingFeatureCollectionType target = null;
            target = (net.opengis.sampling.x20.SFSamplingFeatureCollectionType)get_store().find_element_user(SFSAMPLINGFEATURECOLLECTION$0, 0);
            if (target == null)
            {
                target = (net.opengis.sampling.x20.SFSamplingFeatureCollectionType)get_store().add_element_user(SFSAMPLINGFEATURECOLLECTION$0);
            }
            target.set(sfSamplingFeatureCollection);
        }
    }
    
    /**
     * Appends and returns a new empty "SF_SamplingFeatureCollection" element
     */
    public net.opengis.sampling.x20.SFSamplingFeatureCollectionType addNewSFSamplingFeatureCollection()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SFSamplingFeatureCollectionType target = null;
            target = (net.opengis.sampling.x20.SFSamplingFeatureCollectionType)get_store().add_element_user(SFSAMPLINGFEATURECOLLECTION$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy