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

net.opengis.sps.x10.impl.TaskIDDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: taskID
 * Namespace: http://www.opengis.net/sps/1.0
 * Java type: net.opengis.sps.x10.TaskIDDocument
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sps.x10.impl;
/**
 * A document containing one taskID(@http://www.opengis.net/sps/1.0) element.
 *
 * This is a complex type.
 */
public class TaskIDDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.TaskIDDocument
{
    private static final long serialVersionUID = 1L;
    
    public TaskIDDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TASKID$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "taskID");
    
    
    /**
     * Gets the "taskID" element
     */
    public java.lang.String getTaskID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKID$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "taskID" element
     */
    public org.apache.xmlbeans.XmlToken xgetTaskID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(TASKID$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "taskID" element
     */
    public void setTaskID(java.lang.String taskID)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TASKID$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TASKID$0);
            }
            target.setStringValue(taskID);
        }
    }
    
    /**
     * Sets (as xml) the "taskID" element
     */
    public void xsetTaskID(org.apache.xmlbeans.XmlToken taskID)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_element_user(TASKID$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlToken)get_store().add_element_user(TASKID$0);
            }
            target.set(taskID);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy