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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy