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

net.opengis.swe.x101.impl.CompoundPhenomenonDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: CompoundPhenomenon
 * Namespace: http://www.opengis.net/swe/1.0.1
 * Java type: net.opengis.swe.x101.CompoundPhenomenonDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.swe.x101.impl;
/**
 * A document containing one CompoundPhenomenon(@http://www.opengis.net/swe/1.0.1) element.
 *
 * This is a complex type.
 */
public class CompoundPhenomenonDocumentImpl extends net.opengis.swe.x101.impl.PhenomenonDocumentImpl implements net.opengis.swe.x101.CompoundPhenomenonDocument
{
    private static final long serialVersionUID = 1L;
    
    public CompoundPhenomenonDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName COMPOUNDPHENOMENON$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "CompoundPhenomenon");
    private static final org.apache.xmlbeans.QNameSet COMPOUNDPHENOMENON$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "CompoundPhenomenon"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "CompositePhenomenon"),
        new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "PhenomenonSeries"),
    });
    
    
    /**
     * Gets the "CompoundPhenomenon" element
     */
    public net.opengis.swe.x101.CompoundPhenomenonType getCompoundPhenomenon()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x101.CompoundPhenomenonType target = null;
            target = (net.opengis.swe.x101.CompoundPhenomenonType)get_store().find_element_user(COMPOUNDPHENOMENON$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "CompoundPhenomenon" element
     */
    public void setCompoundPhenomenon(net.opengis.swe.x101.CompoundPhenomenonType compoundPhenomenon)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x101.CompoundPhenomenonType target = null;
            target = (net.opengis.swe.x101.CompoundPhenomenonType)get_store().find_element_user(COMPOUNDPHENOMENON$1, 0);
            if (target == null)
            {
                target = (net.opengis.swe.x101.CompoundPhenomenonType)get_store().add_element_user(COMPOUNDPHENOMENON$0);
            }
            target.set(compoundPhenomenon);
        }
    }
    
    /**
     * Appends and returns a new empty "CompoundPhenomenon" element
     */
    public net.opengis.swe.x101.CompoundPhenomenonType addNewCompoundPhenomenon()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.swe.x101.CompoundPhenomenonType target = null;
            target = (net.opengis.swe.x101.CompoundPhenomenonType)get_store().add_element_user(COMPOUNDPHENOMENON$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy