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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy