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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy