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

org.apache.ws.scout.uddi.impl.PersonNameDocumentImpl Maven / Gradle / Ivy

/*
 * An XML document type.
 * Localname: personName
 * Namespace: urn:uddi-org:api_v2
 * Java type: org.apache.ws.scout.uddi.PersonNameDocument
 *
 * Automatically generated - do not modify.
 */
package org.apache.ws.scout.uddi.impl;
/**
 * A document containing one personName(@urn:uddi-org:api_v2) element.
 *
 * This is a complex type.
 */
public class PersonNameDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.scout.uddi.PersonNameDocument
{
    
    public PersonNameDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PERSONNAME$0 = 
        new javax.xml.namespace.QName("urn:uddi-org:api_v2", "personName");
    
    
    /**
     * Gets the "personName" element
     */
    public java.lang.String getPersonName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PERSONNAME$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "personName" element
     */
    public org.apache.xmlbeans.XmlString xgetPersonName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PERSONNAME$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "personName" element
     */
    public void setPersonName(java.lang.String personName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PERSONNAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PERSONNAME$0);
            }
            target.setStringValue(personName);
        }
    }
    
    /**
     * Sets (as xml) the "personName" element
     */
    public void xsetPersonName(org.apache.xmlbeans.XmlString personName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PERSONNAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PERSONNAME$0);
            }
            target.set(personName);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy