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

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

The newest version!
/*
 * An XML document type.
 * Localname: SF_SamplingFeature
 * Namespace: http://www.opengis.net/sampling/2.0
 * Java type: net.opengis.sampling.x20.SFSamplingFeatureDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sampling.x20.impl;
/**
 * A document containing one SF_SamplingFeature(@http://www.opengis.net/sampling/2.0) element.
 *
 * This is a complex type.
 */
public class SFSamplingFeatureDocumentImpl extends net.opengis.gml.x32.impl.AbstractFeatureDocumentImpl implements net.opengis.sampling.x20.SFSamplingFeatureDocument
{
    private static final long serialVersionUID = 1L;
    
    public SFSamplingFeatureDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SFSAMPLINGFEATURE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sampling/2.0", "SF_SamplingFeature");
    private static final org.apache.xmlbeans.QNameSet SFSAMPLINGFEATURE$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/samplingSpecimen/2.0", "SF_Specimen"),
        new javax.xml.namespace.QName("http://www.opengis.net/samplingSpatial/2.0", "SF_SpatialSamplingFeature"),
        new javax.xml.namespace.QName("http://www.opengis.net/sampling/2.0", "SF_SamplingFeature"),
    });
    
    
    /**
     * Gets the "SF_SamplingFeature" element
     */
    public net.opengis.sampling.x20.SFSamplingFeatureType getSFSamplingFeature()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SFSamplingFeatureType target = null;
            target = (net.opengis.sampling.x20.SFSamplingFeatureType)get_store().find_element_user(SFSAMPLINGFEATURE$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SF_SamplingFeature" element
     */
    public void setSFSamplingFeature(net.opengis.sampling.x20.SFSamplingFeatureType sfSamplingFeature)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SFSamplingFeatureType target = null;
            target = (net.opengis.sampling.x20.SFSamplingFeatureType)get_store().find_element_user(SFSAMPLINGFEATURE$1, 0);
            if (target == null)
            {
                target = (net.opengis.sampling.x20.SFSamplingFeatureType)get_store().add_element_user(SFSAMPLINGFEATURE$0);
            }
            target.set(sfSamplingFeature);
        }
    }
    
    /**
     * Appends and returns a new empty "SF_SamplingFeature" element
     */
    public net.opengis.sampling.x20.SFSamplingFeatureType addNewSFSamplingFeature()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x20.SFSamplingFeatureType target = null;
            target = (net.opengis.sampling.x20.SFSamplingFeatureType)get_store().add_element_user(SFSAMPLINGFEATURE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy