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

org.example.wsHT.impl.XMLTToPartImpl Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  tToPart
 * Namespace: http://www.example.org/WS-HT
 * Java type: org.example.wsHT.XMLTToPart
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.impl;
/**
 * An XML tToPart(@http://www.example.org/WS-HT).
 *
 * This is a complex type.
 */
public class XMLTToPartImpl extends org.example.wsHT.impl.XMLTExtensibleMixedContentElementsImpl implements org.example.wsHT.XMLTToPart
{
    private static final long serialVersionUID = 1L;
    
    public XMLTToPartImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName NAME$0 = 
        new javax.xml.namespace.QName("", "name");
    private static final javax.xml.namespace.QName EXPRESSIONLANGUAGE$2 = 
        new javax.xml.namespace.QName("", "expressionLanguage");
    
    
    /**
     * Gets the "name" attribute
     */
    public java.lang.String getName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "name" attribute
     */
    public org.apache.xmlbeans.XmlNCName xgetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlNCName target = null;
            target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
            return target;
        }
    }
    
    /**
     * Sets the "name" attribute
     */
    public void setName(java.lang.String name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$0);
            }
            target.setStringValue(name);
        }
    }
    
    /**
     * Sets (as xml) the "name" attribute
     */
    public void xsetName(org.apache.xmlbeans.XmlNCName name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlNCName target = null;
            target = (org.apache.xmlbeans.XmlNCName)get_store().find_attribute_user(NAME$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlNCName)get_store().add_attribute_user(NAME$0);
            }
            target.set(name);
        }
    }
    
    /**
     * Gets the "expressionLanguage" attribute
     */
    public java.lang.String getExpressionLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "expressionLanguage" attribute
     */
    public org.apache.xmlbeans.XmlAnyURI xgetExpressionLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
            return target;
        }
    }
    
    /**
     * True if has "expressionLanguage" attribute
     */
    public boolean isSetExpressionLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(EXPRESSIONLANGUAGE$2) != null;
        }
    }
    
    /**
     * Sets the "expressionLanguage" attribute
     */
    public void setExpressionLanguage(java.lang.String expressionLanguage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXPRESSIONLANGUAGE$2);
            }
            target.setStringValue(expressionLanguage);
        }
    }
    
    /**
     * Sets (as xml) the "expressionLanguage" attribute
     */
    public void xsetExpressionLanguage(org.apache.xmlbeans.XmlAnyURI expressionLanguage)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(EXPRESSIONLANGUAGE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(EXPRESSIONLANGUAGE$2);
            }
            target.set(expressionLanguage);
        }
    }
    
    /**
     * Unsets the "expressionLanguage" attribute
     */
    public void unsetExpressionLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(EXPRESSIONLANGUAGE$2);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy