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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy