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

net.opengis.gml.x32.impl.DirectedNodeDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: directedNode
 * Namespace: http://www.opengis.net/gml/3.2
 * Java type: net.opengis.gml.x32.DirectedNodeDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.gml.x32.impl;
/**
 * A document containing one directedNode(@http://www.opengis.net/gml/3.2) element.
 *
 * This is a complex type.
 */
public class DirectedNodeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.gml.x32.DirectedNodeDocument
{
    private static final long serialVersionUID = 1L;
    
    public DirectedNodeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DIRECTEDNODE$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "directedNode");
    
    
    /**
     * Gets the "directedNode" element
     */
    public net.opengis.gml.x32.DirectedNodePropertyType getDirectedNode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.x32.DirectedNodePropertyType target = null;
            target = (net.opengis.gml.x32.DirectedNodePropertyType)get_store().find_element_user(DIRECTEDNODE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "directedNode" element
     */
    public void setDirectedNode(net.opengis.gml.x32.DirectedNodePropertyType directedNode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.x32.DirectedNodePropertyType target = null;
            target = (net.opengis.gml.x32.DirectedNodePropertyType)get_store().find_element_user(DIRECTEDNODE$0, 0);
            if (target == null)
            {
                target = (net.opengis.gml.x32.DirectedNodePropertyType)get_store().add_element_user(DIRECTEDNODE$0);
            }
            target.set(directedNode);
        }
    }
    
    /**
     * Appends and returns a new empty "directedNode" element
     */
    public net.opengis.gml.x32.DirectedNodePropertyType addNewDirectedNode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.gml.x32.DirectedNodePropertyType target = null;
            target = (net.opengis.gml.x32.DirectedNodePropertyType)get_store().add_element_user(DIRECTEDNODE$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy