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

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

/*
 * XML Type:  publisherAssertions
 * Namespace: urn:uddi-org:api_v2
 * Java type: org.apache.ws.scout.uddi.PublisherAssertions
 *
 * Automatically generated - do not modify.
 */
package org.apache.ws.scout.uddi.impl;
/**
 * An XML publisherAssertions(@urn:uddi-org:api_v2).
 *
 * This is a complex type.
 */
public class PublisherAssertionsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.ws.scout.uddi.PublisherAssertions
{
    
    public PublisherAssertionsImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PUBLISHERASSERTION$0 = 
        new javax.xml.namespace.QName("urn:uddi-org:api_v2", "publisherAssertion");
    private static final javax.xml.namespace.QName GENERIC$2 = 
        new javax.xml.namespace.QName("", "generic");
    private static final javax.xml.namespace.QName OPERATOR$4 = 
        new javax.xml.namespace.QName("", "operator");
    private static final javax.xml.namespace.QName AUTHORIZEDNAME$6 = 
        new javax.xml.namespace.QName("", "authorizedName");
    
    
    /**
     * Gets array of all "publisherAssertion" elements
     */
    public org.apache.ws.scout.uddi.PublisherAssertion[] getPublisherAssertionArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PUBLISHERASSERTION$0, targetList);
            org.apache.ws.scout.uddi.PublisherAssertion[] result = new org.apache.ws.scout.uddi.PublisherAssertion[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "publisherAssertion" element
     */
    public org.apache.ws.scout.uddi.PublisherAssertion getPublisherAssertionArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ws.scout.uddi.PublisherAssertion target = null;
            target = (org.apache.ws.scout.uddi.PublisherAssertion)get_store().find_element_user(PUBLISHERASSERTION$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "publisherAssertion" element
     */
    public int sizeOfPublisherAssertionArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PUBLISHERASSERTION$0);
        }
    }
    
    /**
     * Sets array of all "publisherAssertion" element
     */
    public void setPublisherAssertionArray(org.apache.ws.scout.uddi.PublisherAssertion[] publisherAssertionArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(publisherAssertionArray, PUBLISHERASSERTION$0);
        }
    }
    
    /**
     * Sets ith "publisherAssertion" element
     */
    public void setPublisherAssertionArray(int i, org.apache.ws.scout.uddi.PublisherAssertion publisherAssertion)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ws.scout.uddi.PublisherAssertion target = null;
            target = (org.apache.ws.scout.uddi.PublisherAssertion)get_store().find_element_user(PUBLISHERASSERTION$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(publisherAssertion);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "publisherAssertion" element
     */
    public org.apache.ws.scout.uddi.PublisherAssertion insertNewPublisherAssertion(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ws.scout.uddi.PublisherAssertion target = null;
            target = (org.apache.ws.scout.uddi.PublisherAssertion)get_store().insert_element_user(PUBLISHERASSERTION$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "publisherAssertion" element
     */
    public org.apache.ws.scout.uddi.PublisherAssertion addNewPublisherAssertion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.ws.scout.uddi.PublisherAssertion target = null;
            target = (org.apache.ws.scout.uddi.PublisherAssertion)get_store().add_element_user(PUBLISHERASSERTION$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "publisherAssertion" element
     */
    public void removePublisherAssertion(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PUBLISHERASSERTION$0, i);
        }
    }
    
    /**
     * Gets the "generic" attribute
     */
    public java.lang.String getGeneric()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GENERIC$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "generic" attribute
     */
    public org.apache.xmlbeans.XmlString xgetGeneric()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(GENERIC$2);
            return target;
        }
    }
    
    /**
     * Sets the "generic" attribute
     */
    public void setGeneric(java.lang.String generic)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GENERIC$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(GENERIC$2);
            }
            target.setStringValue(generic);
        }
    }
    
    /**
     * Sets (as xml) the "generic" attribute
     */
    public void xsetGeneric(org.apache.xmlbeans.XmlString generic)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(GENERIC$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(GENERIC$2);
            }
            target.set(generic);
        }
    }
    
    /**
     * Gets the "operator" attribute
     */
    public java.lang.String getOperator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OPERATOR$4);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "operator" attribute
     */
    public org.apache.xmlbeans.XmlString xgetOperator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OPERATOR$4);
            return target;
        }
    }
    
    /**
     * Sets the "operator" attribute
     */
    public void setOperator(java.lang.String operator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OPERATOR$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OPERATOR$4);
            }
            target.setStringValue(operator);
        }
    }
    
    /**
     * Sets (as xml) the "operator" attribute
     */
    public void xsetOperator(org.apache.xmlbeans.XmlString operator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OPERATOR$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OPERATOR$4);
            }
            target.set(operator);
        }
    }
    
    /**
     * Gets the "authorizedName" attribute
     */
    public java.lang.String getAuthorizedName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTHORIZEDNAME$6);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "authorizedName" attribute
     */
    public org.apache.xmlbeans.XmlString xgetAuthorizedName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(AUTHORIZEDNAME$6);
            return target;
        }
    }
    
    /**
     * Sets the "authorizedName" attribute
     */
    public void setAuthorizedName(java.lang.String authorizedName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTHORIZEDNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AUTHORIZEDNAME$6);
            }
            target.setStringValue(authorizedName);
        }
    }
    
    /**
     * Sets (as xml) the "authorizedName" attribute
     */
    public void xsetAuthorizedName(org.apache.xmlbeans.XmlString authorizedName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(AUTHORIZEDNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(AUTHORIZEDNAME$6);
            }
            target.set(authorizedName);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy