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

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

/*
 * XML Type:  SimpleDataRecordPropertyType
 * Namespace: http://www.opengis.net/swe/1.0
 * Java type: net.opengis.swe.x10.SimpleDataRecordPropertyType
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x10.impl;
/**
 * An XML SimpleDataRecordPropertyType(@http://www.opengis.net/swe/1.0).
 *
 * This is a complex type.
 */
public class SimpleDataRecordPropertyTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x10.SimpleDataRecordPropertyType
{
    private static final long serialVersionUID = 1L;
    
    public SimpleDataRecordPropertyTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SIMPLEDATARECORD$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "SimpleDataRecord");
    
    
    /**
     * Gets the "SimpleDataRecord" element
     */
    public net.opengis.swe.x10.SimpleDataRecordType getSimpleDataRecord()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x10.SimpleDataRecordType target = null;
            target = (net.opengis.swe.x10.SimpleDataRecordType)get_store().find_element_user(SIMPLEDATARECORD$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "SimpleDataRecord" element
     */
    public void setSimpleDataRecord(net.opengis.swe.x10.SimpleDataRecordType simpleDataRecord)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x10.SimpleDataRecordType target = null;
            target = (net.opengis.swe.x10.SimpleDataRecordType)get_store().find_element_user(SIMPLEDATARECORD$0, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x10.SimpleDataRecordType)get_store().add_element_user(SIMPLEDATARECORD$0);
            }
            target.set(simpleDataRecord);
        }
    }
    
    /**
     * Appends and returns a new empty "SimpleDataRecord" element
     */
    public net.opengis.swe.x10.SimpleDataRecordType addNewSimpleDataRecord()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x10.SimpleDataRecordType target = null;
            target = (net.opengis.swe.x10.SimpleDataRecordType)get_store().add_element_user(SIMPLEDATARECORD$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy