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

net.opengis.ows.impl.IdentifierDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: Identifier
 * Namespace: http://www.opengis.net/ows
 * Java type: net.opengis.ows.IdentifierDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.ows.impl;
/**
 * A document containing one Identifier(@http://www.opengis.net/ows) element.
 *
 * This is a complex type.
 */
public class IdentifierDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.IdentifierDocument
{
    private static final long serialVersionUID = 1L;
    
    public IdentifierDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IDENTIFIER$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/ows", "Identifier");
    
    
    /**
     * Gets the "Identifier" element
     */
    public net.opengis.ows.CodeType getIdentifier()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ows.CodeType target = null;
            target = (net.opengis.ows.CodeType)get_store().find_element_user(IDENTIFIER$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Identifier" element
     */
    public void setIdentifier(net.opengis.ows.CodeType identifier)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ows.CodeType target = null;
            target = (net.opengis.ows.CodeType)get_store().find_element_user(IDENTIFIER$0, 0);
            if (target == null)
            {
                target = (net.opengis.ows.CodeType)get_store().add_element_user(IDENTIFIER$0);
            }
            target.set(identifier);
        }
    }
    
    /**
     * Appends and returns a new empty "Identifier" element
     */
    public net.opengis.ows.CodeType addNewIdentifier()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.ows.CodeType target = null;
            target = (net.opengis.ows.CodeType)get_store().add_element_user(IDENTIFIER$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy