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

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

The newest version!
/*
 * XML Type:  tPeopleAssignments
 * Namespace: http://www.example.org/WS-HT
 * Java type: org.example.wsHT.XMLTPeopleAssignments
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.impl;
/**
 * An XML tPeopleAssignments(@http://www.example.org/WS-HT).
 *
 * This is a complex type.
 */
public class XMLTPeopleAssignmentsImpl extends org.example.wsHT.impl.XMLTExtensibleElementsImpl implements org.example.wsHT.XMLTPeopleAssignments
{
    private static final long serialVersionUID = 1L;
    
    public XMLTPeopleAssignmentsImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName POTENTIALOWNERS$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "potentialOwners");
    private static final javax.xml.namespace.QName EXCLUDEDOWNERS$2 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "excludedOwners");
    private static final javax.xml.namespace.QName TASKINITIATOR$4 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "taskInitiator");
    private static final javax.xml.namespace.QName TASKSTAKEHOLDERS$6 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "taskStakeholders");
    private static final javax.xml.namespace.QName BUSINESSADMINISTRATORS$8 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "businessAdministrators");
    private static final javax.xml.namespace.QName RECIPIENTS$10 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "recipients");
    
    
    /**
     * Gets a List of "potentialOwners" elements
     */
    public java.util.List getPotentialOwnersList()
    {
        final class PotentialOwnersList extends java.util.AbstractList
        {
            public org.example.wsHT.XMLTGenericHumanRole get(int i)
                { return XMLTPeopleAssignmentsImpl.this.getPotentialOwnersArray(i); }
            
            public org.example.wsHT.XMLTGenericHumanRole set(int i, org.example.wsHT.XMLTGenericHumanRole o)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getPotentialOwnersArray(i);
                XMLTPeopleAssignmentsImpl.this.setPotentialOwnersArray(i, o);
                return old;
            }
            
            public void add(int i, org.example.wsHT.XMLTGenericHumanRole o)
                { XMLTPeopleAssignmentsImpl.this.insertNewPotentialOwners(i).set(o); }
            
            public org.example.wsHT.XMLTGenericHumanRole remove(int i)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getPotentialOwnersArray(i);
                XMLTPeopleAssignmentsImpl.this.removePotentialOwners(i);
                return old;
            }
            
            public int size()
                { return XMLTPeopleAssignmentsImpl.this.sizeOfPotentialOwnersArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new PotentialOwnersList();
        }
    }
    
    /**
     * Gets array of all "potentialOwners" elements
     * @deprecated
     */
    public org.example.wsHT.XMLTGenericHumanRole[] getPotentialOwnersArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(POTENTIALOWNERS$0, targetList);
            org.example.wsHT.XMLTGenericHumanRole[] result = new org.example.wsHT.XMLTGenericHumanRole[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "potentialOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getPotentialOwnersArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(POTENTIALOWNERS$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "potentialOwners" element
     */
    public int sizeOfPotentialOwnersArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(POTENTIALOWNERS$0);
        }
    }
    
    /**
     * Sets array of all "potentialOwners" element
     */
    public void setPotentialOwnersArray(org.example.wsHT.XMLTGenericHumanRole[] potentialOwnersArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(potentialOwnersArray, POTENTIALOWNERS$0);
        }
    }
    
    /**
     * Sets ith "potentialOwners" element
     */
    public void setPotentialOwnersArray(int i, org.example.wsHT.XMLTGenericHumanRole potentialOwners)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(POTENTIALOWNERS$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(potentialOwners);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "potentialOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole insertNewPotentialOwners(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().insert_element_user(POTENTIALOWNERS$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "potentialOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewPotentialOwners()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(POTENTIALOWNERS$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "potentialOwners" element
     */
    public void removePotentialOwners(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(POTENTIALOWNERS$0, i);
        }
    }
    
    /**
     * Gets a List of "excludedOwners" elements
     */
    public java.util.List getExcludedOwnersList()
    {
        final class ExcludedOwnersList extends java.util.AbstractList
        {
            public org.example.wsHT.XMLTGenericHumanRole get(int i)
                { return XMLTPeopleAssignmentsImpl.this.getExcludedOwnersArray(i); }
            
            public org.example.wsHT.XMLTGenericHumanRole set(int i, org.example.wsHT.XMLTGenericHumanRole o)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getExcludedOwnersArray(i);
                XMLTPeopleAssignmentsImpl.this.setExcludedOwnersArray(i, o);
                return old;
            }
            
            public void add(int i, org.example.wsHT.XMLTGenericHumanRole o)
                { XMLTPeopleAssignmentsImpl.this.insertNewExcludedOwners(i).set(o); }
            
            public org.example.wsHT.XMLTGenericHumanRole remove(int i)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getExcludedOwnersArray(i);
                XMLTPeopleAssignmentsImpl.this.removeExcludedOwners(i);
                return old;
            }
            
            public int size()
                { return XMLTPeopleAssignmentsImpl.this.sizeOfExcludedOwnersArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new ExcludedOwnersList();
        }
    }
    
    /**
     * Gets array of all "excludedOwners" elements
     * @deprecated
     */
    public org.example.wsHT.XMLTGenericHumanRole[] getExcludedOwnersArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(EXCLUDEDOWNERS$2, targetList);
            org.example.wsHT.XMLTGenericHumanRole[] result = new org.example.wsHT.XMLTGenericHumanRole[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "excludedOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getExcludedOwnersArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(EXCLUDEDOWNERS$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "excludedOwners" element
     */
    public int sizeOfExcludedOwnersArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(EXCLUDEDOWNERS$2);
        }
    }
    
    /**
     * Sets array of all "excludedOwners" element
     */
    public void setExcludedOwnersArray(org.example.wsHT.XMLTGenericHumanRole[] excludedOwnersArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(excludedOwnersArray, EXCLUDEDOWNERS$2);
        }
    }
    
    /**
     * Sets ith "excludedOwners" element
     */
    public void setExcludedOwnersArray(int i, org.example.wsHT.XMLTGenericHumanRole excludedOwners)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(EXCLUDEDOWNERS$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(excludedOwners);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "excludedOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole insertNewExcludedOwners(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().insert_element_user(EXCLUDEDOWNERS$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "excludedOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewExcludedOwners()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(EXCLUDEDOWNERS$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "excludedOwners" element
     */
    public void removeExcludedOwners(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(EXCLUDEDOWNERS$2, i);
        }
    }
    
    /**
     * Gets a List of "taskInitiator" elements
     */
    public java.util.List getTaskInitiatorList()
    {
        final class TaskInitiatorList extends java.util.AbstractList
        {
            public org.example.wsHT.XMLTGenericHumanRole get(int i)
                { return XMLTPeopleAssignmentsImpl.this.getTaskInitiatorArray(i); }
            
            public org.example.wsHT.XMLTGenericHumanRole set(int i, org.example.wsHT.XMLTGenericHumanRole o)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getTaskInitiatorArray(i);
                XMLTPeopleAssignmentsImpl.this.setTaskInitiatorArray(i, o);
                return old;
            }
            
            public void add(int i, org.example.wsHT.XMLTGenericHumanRole o)
                { XMLTPeopleAssignmentsImpl.this.insertNewTaskInitiator(i).set(o); }
            
            public org.example.wsHT.XMLTGenericHumanRole remove(int i)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getTaskInitiatorArray(i);
                XMLTPeopleAssignmentsImpl.this.removeTaskInitiator(i);
                return old;
            }
            
            public int size()
                { return XMLTPeopleAssignmentsImpl.this.sizeOfTaskInitiatorArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new TaskInitiatorList();
        }
    }
    
    /**
     * Gets array of all "taskInitiator" elements
     * @deprecated
     */
    public org.example.wsHT.XMLTGenericHumanRole[] getTaskInitiatorArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TASKINITIATOR$4, targetList);
            org.example.wsHT.XMLTGenericHumanRole[] result = new org.example.wsHT.XMLTGenericHumanRole[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "taskInitiator" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getTaskInitiatorArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(TASKINITIATOR$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "taskInitiator" element
     */
    public int sizeOfTaskInitiatorArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TASKINITIATOR$4);
        }
    }
    
    /**
     * Sets array of all "taskInitiator" element
     */
    public void setTaskInitiatorArray(org.example.wsHT.XMLTGenericHumanRole[] taskInitiatorArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(taskInitiatorArray, TASKINITIATOR$4);
        }
    }
    
    /**
     * Sets ith "taskInitiator" element
     */
    public void setTaskInitiatorArray(int i, org.example.wsHT.XMLTGenericHumanRole taskInitiator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(TASKINITIATOR$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(taskInitiator);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "taskInitiator" element
     */
    public org.example.wsHT.XMLTGenericHumanRole insertNewTaskInitiator(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().insert_element_user(TASKINITIATOR$4, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "taskInitiator" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewTaskInitiator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(TASKINITIATOR$4);
            return target;
        }
    }
    
    /**
     * Removes the ith "taskInitiator" element
     */
    public void removeTaskInitiator(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TASKINITIATOR$4, i);
        }
    }
    
    /**
     * Gets a List of "taskStakeholders" elements
     */
    public java.util.List getTaskStakeholdersList()
    {
        final class TaskStakeholdersList extends java.util.AbstractList
        {
            public org.example.wsHT.XMLTGenericHumanRole get(int i)
                { return XMLTPeopleAssignmentsImpl.this.getTaskStakeholdersArray(i); }
            
            public org.example.wsHT.XMLTGenericHumanRole set(int i, org.example.wsHT.XMLTGenericHumanRole o)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getTaskStakeholdersArray(i);
                XMLTPeopleAssignmentsImpl.this.setTaskStakeholdersArray(i, o);
                return old;
            }
            
            public void add(int i, org.example.wsHT.XMLTGenericHumanRole o)
                { XMLTPeopleAssignmentsImpl.this.insertNewTaskStakeholders(i).set(o); }
            
            public org.example.wsHT.XMLTGenericHumanRole remove(int i)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getTaskStakeholdersArray(i);
                XMLTPeopleAssignmentsImpl.this.removeTaskStakeholders(i);
                return old;
            }
            
            public int size()
                { return XMLTPeopleAssignmentsImpl.this.sizeOfTaskStakeholdersArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new TaskStakeholdersList();
        }
    }
    
    /**
     * Gets array of all "taskStakeholders" elements
     * @deprecated
     */
    public org.example.wsHT.XMLTGenericHumanRole[] getTaskStakeholdersArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(TASKSTAKEHOLDERS$6, targetList);
            org.example.wsHT.XMLTGenericHumanRole[] result = new org.example.wsHT.XMLTGenericHumanRole[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "taskStakeholders" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getTaskStakeholdersArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(TASKSTAKEHOLDERS$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "taskStakeholders" element
     */
    public int sizeOfTaskStakeholdersArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(TASKSTAKEHOLDERS$6);
        }
    }
    
    /**
     * Sets array of all "taskStakeholders" element
     */
    public void setTaskStakeholdersArray(org.example.wsHT.XMLTGenericHumanRole[] taskStakeholdersArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(taskStakeholdersArray, TASKSTAKEHOLDERS$6);
        }
    }
    
    /**
     * Sets ith "taskStakeholders" element
     */
    public void setTaskStakeholdersArray(int i, org.example.wsHT.XMLTGenericHumanRole taskStakeholders)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(TASKSTAKEHOLDERS$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(taskStakeholders);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "taskStakeholders" element
     */
    public org.example.wsHT.XMLTGenericHumanRole insertNewTaskStakeholders(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().insert_element_user(TASKSTAKEHOLDERS$6, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "taskStakeholders" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewTaskStakeholders()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(TASKSTAKEHOLDERS$6);
            return target;
        }
    }
    
    /**
     * Removes the ith "taskStakeholders" element
     */
    public void removeTaskStakeholders(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(TASKSTAKEHOLDERS$6, i);
        }
    }
    
    /**
     * Gets a List of "businessAdministrators" elements
     */
    public java.util.List getBusinessAdministratorsList()
    {
        final class BusinessAdministratorsList extends java.util.AbstractList
        {
            public org.example.wsHT.XMLTGenericHumanRole get(int i)
                { return XMLTPeopleAssignmentsImpl.this.getBusinessAdministratorsArray(i); }
            
            public org.example.wsHT.XMLTGenericHumanRole set(int i, org.example.wsHT.XMLTGenericHumanRole o)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getBusinessAdministratorsArray(i);
                XMLTPeopleAssignmentsImpl.this.setBusinessAdministratorsArray(i, o);
                return old;
            }
            
            public void add(int i, org.example.wsHT.XMLTGenericHumanRole o)
                { XMLTPeopleAssignmentsImpl.this.insertNewBusinessAdministrators(i).set(o); }
            
            public org.example.wsHT.XMLTGenericHumanRole remove(int i)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getBusinessAdministratorsArray(i);
                XMLTPeopleAssignmentsImpl.this.removeBusinessAdministrators(i);
                return old;
            }
            
            public int size()
                { return XMLTPeopleAssignmentsImpl.this.sizeOfBusinessAdministratorsArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new BusinessAdministratorsList();
        }
    }
    
    /**
     * Gets array of all "businessAdministrators" elements
     * @deprecated
     */
    public org.example.wsHT.XMLTGenericHumanRole[] getBusinessAdministratorsArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(BUSINESSADMINISTRATORS$8, targetList);
            org.example.wsHT.XMLTGenericHumanRole[] result = new org.example.wsHT.XMLTGenericHumanRole[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "businessAdministrators" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getBusinessAdministratorsArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(BUSINESSADMINISTRATORS$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "businessAdministrators" element
     */
    public int sizeOfBusinessAdministratorsArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BUSINESSADMINISTRATORS$8);
        }
    }
    
    /**
     * Sets array of all "businessAdministrators" element
     */
    public void setBusinessAdministratorsArray(org.example.wsHT.XMLTGenericHumanRole[] businessAdministratorsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(businessAdministratorsArray, BUSINESSADMINISTRATORS$8);
        }
    }
    
    /**
     * Sets ith "businessAdministrators" element
     */
    public void setBusinessAdministratorsArray(int i, org.example.wsHT.XMLTGenericHumanRole businessAdministrators)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(BUSINESSADMINISTRATORS$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(businessAdministrators);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "businessAdministrators" element
     */
    public org.example.wsHT.XMLTGenericHumanRole insertNewBusinessAdministrators(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().insert_element_user(BUSINESSADMINISTRATORS$8, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "businessAdministrators" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewBusinessAdministrators()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(BUSINESSADMINISTRATORS$8);
            return target;
        }
    }
    
    /**
     * Removes the ith "businessAdministrators" element
     */
    public void removeBusinessAdministrators(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BUSINESSADMINISTRATORS$8, i);
        }
    }
    
    /**
     * Gets a List of "recipients" elements
     */
    public java.util.List getRecipientsList()
    {
        final class RecipientsList extends java.util.AbstractList
        {
            public org.example.wsHT.XMLTGenericHumanRole get(int i)
                { return XMLTPeopleAssignmentsImpl.this.getRecipientsArray(i); }
            
            public org.example.wsHT.XMLTGenericHumanRole set(int i, org.example.wsHT.XMLTGenericHumanRole o)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getRecipientsArray(i);
                XMLTPeopleAssignmentsImpl.this.setRecipientsArray(i, o);
                return old;
            }
            
            public void add(int i, org.example.wsHT.XMLTGenericHumanRole o)
                { XMLTPeopleAssignmentsImpl.this.insertNewRecipients(i).set(o); }
            
            public org.example.wsHT.XMLTGenericHumanRole remove(int i)
            {
                org.example.wsHT.XMLTGenericHumanRole old = XMLTPeopleAssignmentsImpl.this.getRecipientsArray(i);
                XMLTPeopleAssignmentsImpl.this.removeRecipients(i);
                return old;
            }
            
            public int size()
                { return XMLTPeopleAssignmentsImpl.this.sizeOfRecipientsArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new RecipientsList();
        }
    }
    
    /**
     * Gets array of all "recipients" elements
     * @deprecated
     */
    public org.example.wsHT.XMLTGenericHumanRole[] getRecipientsArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(RECIPIENTS$10, targetList);
            org.example.wsHT.XMLTGenericHumanRole[] result = new org.example.wsHT.XMLTGenericHumanRole[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "recipients" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getRecipientsArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(RECIPIENTS$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "recipients" element
     */
    public int sizeOfRecipientsArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(RECIPIENTS$10);
        }
    }
    
    /**
     * Sets array of all "recipients" element
     */
    public void setRecipientsArray(org.example.wsHT.XMLTGenericHumanRole[] recipientsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(recipientsArray, RECIPIENTS$10);
        }
    }
    
    /**
     * Sets ith "recipients" element
     */
    public void setRecipientsArray(int i, org.example.wsHT.XMLTGenericHumanRole recipients)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(RECIPIENTS$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(recipients);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "recipients" element
     */
    public org.example.wsHT.XMLTGenericHumanRole insertNewRecipients(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().insert_element_user(RECIPIENTS$10, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "recipients" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewRecipients()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(RECIPIENTS$10);
            return target;
        }
    }
    
    /**
     * Removes the ith "recipients" element
     */
    public void removeRecipients(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(RECIPIENTS$10, i);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy