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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy