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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy