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

org.apache.ode.bpel.pmapi.impl.TVariableInfoImpl Maven / Gradle / Ivy

There is a newer version: 1.3.8
Show newest version
/*
 * XML Type:  tVariableInfo
 * Namespace: http://www.apache.org/ode/pmapi/types/2006/08/02/
 * Java type: org.apache.ode.bpel.pmapi.TVariableInfo
 *
 * Automatically generated - do not modify.
 */
package org.apache.ode.bpel.pmapi.impl;
/**
 * An XML tVariableInfo(@http://www.apache.org/ode/pmapi/types/2006/08/02/).
 *
 * This is a complex type.
 */
public class TVariableInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ode.bpel.pmapi.TVariableInfo
{
    private static final long serialVersionUID = 1L;
    
    public TVariableInfoImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SELF$0 = 
        new javax.xml.namespace.QName("http://www.apache.org/ode/pmapi/types/2006/08/02/", "self");
    private static final javax.xml.namespace.QName VALUE$2 = 
        new javax.xml.namespace.QName("http://www.apache.org/ode/pmapi/types/2006/08/02/", "value");
    
    
    /**
     * Gets the "self" element
     */
    public org.apache.ode.bpel.pmapi.TVariableRef getSelf()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ode.bpel.pmapi.TVariableRef target = null;
            target = (org.apache.ode.bpel.pmapi.TVariableRef)get_store().find_element_user(SELF$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "self" element
     */
    public void setSelf(org.apache.ode.bpel.pmapi.TVariableRef self)
    {
        generatedSetterHelperImpl(self, SELF$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "self" element
     */
    public org.apache.ode.bpel.pmapi.TVariableRef addNewSelf()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ode.bpel.pmapi.TVariableRef target = null;
            target = (org.apache.ode.bpel.pmapi.TVariableRef)get_store().add_element_user(SELF$0);
            return target;
        }
    }
    
    /**
     * Gets the "value" element
     */
    public org.apache.ode.bpel.pmapi.TVariableInfo.Value getValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ode.bpel.pmapi.TVariableInfo.Value target = null;
            target = (org.apache.ode.bpel.pmapi.TVariableInfo.Value)get_store().find_element_user(VALUE$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "value" element
     */
    public boolean isSetValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(VALUE$2) != 0;
        }
    }
    
    /**
     * Sets the "value" element
     */
    public void setValue(org.apache.ode.bpel.pmapi.TVariableInfo.Value value)
    {
        generatedSetterHelperImpl(value, VALUE$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "value" element
     */
    public org.apache.ode.bpel.pmapi.TVariableInfo.Value addNewValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ode.bpel.pmapi.TVariableInfo.Value target = null;
            target = (org.apache.ode.bpel.pmapi.TVariableInfo.Value)get_store().add_element_user(VALUE$2);
            return target;
        }
    }
    
    /**
     * Unsets the "value" element
     */
    public void unsetValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(VALUE$2, 0);
        }
    }
    /**
     * An XML value(@http://www.apache.org/ode/pmapi/types/2006/08/02/).
     *
     * This is a complex type.
     */
    public static class ValueImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ode.bpel.pmapi.TVariableInfo.Value
    {
        private static final long serialVersionUID = 1L;
        
        public ValueImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy