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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy