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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy