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

net.opengis.ogc.impl.BeyondDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: Beyond
 * Namespace: http://www.opengis.net/ogc
 * Java type: net.opengis.ogc.BeyondDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ogc.impl;
/**
 * A document containing one Beyond(@http://www.opengis.net/ogc) element.
 *
 * This is a complex type.
 */
public class BeyondDocumentImpl extends net.opengis.ogc.impl.SpatialOpsDocumentImpl implements net.opengis.ogc.BeyondDocument
{
    private static final long serialVersionUID = 1L;
    
    public BeyondDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName BEYOND$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Beyond");
    
    
    /**
     * Gets the "Beyond" element
     */
    public net.opengis.ogc.DistanceBufferType getBeyond()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.DistanceBufferType target = null;
            target = (net.opengis.ogc.DistanceBufferType)get_store().find_element_user(BEYOND$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Beyond" element
     */
    public void setBeyond(net.opengis.ogc.DistanceBufferType beyond)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.DistanceBufferType target = null;
            target = (net.opengis.ogc.DistanceBufferType)get_store().find_element_user(BEYOND$0, 0);
            if (target == null)
            {
                target = (net.opengis.ogc.DistanceBufferType)get_store().add_element_user(BEYOND$0);
            }
            target.set(beyond);
        }
    }
    
    /**
     * Appends and returns a new empty "Beyond" element
     */
    public net.opengis.ogc.DistanceBufferType addNewBeyond()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ogc.DistanceBufferType target = null;
            target = (net.opengis.ogc.DistanceBufferType)get_store().add_element_user(BEYOND$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy