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

net.opengis.swe.x10.impl.ConditionalValueDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: ConditionalValue
 * Namespace: http://www.opengis.net/swe/1.0
 * Java type: net.opengis.swe.x10.ConditionalValueDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x10.impl;
/**
 * A document containing one ConditionalValue(@http://www.opengis.net/swe/1.0) element.
 *
 * This is a complex type.
 */
public class ConditionalValueDocumentImpl extends net.opengis.swe.x10.impl.AbstractDataRecordDocumentImpl implements net.opengis.swe.x10.ConditionalValueDocument
{
    private static final long serialVersionUID = 1L;
    
    public ConditionalValueDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CONDITIONALVALUE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "ConditionalValue");
    
    
    /**
     * Gets the "ConditionalValue" element
     */
    public net.opengis.swe.x10.ConditionalValueType getConditionalValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x10.ConditionalValueType target = null;
            target = (net.opengis.swe.x10.ConditionalValueType)get_store().find_element_user(CONDITIONALVALUE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ConditionalValue" element
     */
    public void setConditionalValue(net.opengis.swe.x10.ConditionalValueType conditionalValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x10.ConditionalValueType target = null;
            target = (net.opengis.swe.x10.ConditionalValueType)get_store().find_element_user(CONDITIONALVALUE$0, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x10.ConditionalValueType)get_store().add_element_user(CONDITIONALVALUE$0);
            }
            target.set(conditionalValue);
        }
    }
    
    /**
     * Appends and returns a new empty "ConditionalValue" element
     */
    public net.opengis.swe.x10.ConditionalValueType addNewConditionalValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x10.ConditionalValueType target = null;
            target = (net.opengis.swe.x10.ConditionalValueType)get_store().add_element_user(CONDITIONALVALUE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy