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

net.opengis.cat.wrs.x10.impl.AnyValueDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: AnyValue
 * Namespace: http://www.opengis.net/cat/wrs/1.0
 * Java type: net.opengis.cat.wrs.x10.AnyValueDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.cat.wrs.x10.impl;
/**
 * A document containing one AnyValue(@http://www.opengis.net/cat/wrs/1.0) element.
 *
 * This is a complex type.
 */
public class AnyValueDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.cat.wrs.x10.AnyValueDocument
{
    private static final long serialVersionUID = 1L;
    
    public AnyValueDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ANYVALUE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/cat/wrs/1.0", "AnyValue");
    
    
    /**
     * Gets the "AnyValue" element
     */
    public net.opengis.cat.wrs.x10.AnyValueType getAnyValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.cat.wrs.x10.AnyValueType target = null;
            target = (net.opengis.cat.wrs.x10.AnyValueType)get_store().find_element_user(ANYVALUE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AnyValue" element
     */
    public void setAnyValue(net.opengis.cat.wrs.x10.AnyValueType anyValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.cat.wrs.x10.AnyValueType target = null;
            target = (net.opengis.cat.wrs.x10.AnyValueType)get_store().find_element_user(ANYVALUE$0, 0);
            if (target == null)
            {
                target = (net.opengis.cat.wrs.x10.AnyValueType)get_store().add_element_user(ANYVALUE$0);
            }
            target.set(anyValue);
        }
    }
    
    /**
     * Appends and returns a new empty "AnyValue" element
     */
    public net.opengis.cat.wrs.x10.AnyValueType addNewAnyValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.cat.wrs.x10.AnyValueType target = null;
            target = (net.opengis.cat.wrs.x10.AnyValueType)get_store().add_element_user(ANYVALUE$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy