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

net.opengis.sensorml.x20.impl.DescribedObjectDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: DescribedObject
 * Namespace: http://www.opengis.net/sensorml/2.0
 * Java type: net.opengis.sensorml.x20.DescribedObjectDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorml.x20.impl;
/**
 * A document containing one DescribedObject(@http://www.opengis.net/sensorml/2.0) element.
 *
 * This is a complex type.
 */
public class DescribedObjectDocumentImpl extends net.opengis.gml.x32.impl.AbstractFeatureDocumentImpl implements net.opengis.sensorml.x20.DescribedObjectDocument
{
    private static final long serialVersionUID = 1L;
    
    public DescribedObjectDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DESCRIBEDOBJECT$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "DescribedObject");
    private static final org.apache.xmlbeans.QNameSet DESCRIBEDOBJECT$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] { 
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "DescribedObject"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "Mode"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "PhysicalComponent"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractProcess"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "PhysicalSystem"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AggregateProcess"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "SimpleProcess"),
        new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractPhysicalProcess"),
    });
    
    
    /**
     * Gets the "DescribedObject" element
     */
    public net.opengis.sensorml.x20.DescribedObjectType getDescribedObject()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.DescribedObjectType target = null;
            target = (net.opengis.sensorml.x20.DescribedObjectType)get_store().find_element_user(DESCRIBEDOBJECT$1, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "DescribedObject" element
     */
    public void setDescribedObject(net.opengis.sensorml.x20.DescribedObjectType describedObject)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.DescribedObjectType target = null;
            target = (net.opengis.sensorml.x20.DescribedObjectType)get_store().find_element_user(DESCRIBEDOBJECT$1, 0);
            if (target == null)
            {
                target = (net.opengis.sensorml.x20.DescribedObjectType)get_store().add_element_user(DESCRIBEDOBJECT$0);
            }
            target.set(describedObject);
        }
    }
    
    /**
     * Appends and returns a new empty "DescribedObject" element
     */
    public net.opengis.sensorml.x20.DescribedObjectType addNewDescribedObject()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sensorml.x20.DescribedObjectType target = null;
            target = (net.opengis.sensorml.x20.DescribedObjectType)get_store().add_element_user(DESCRIBEDOBJECT$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy