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

org.openxmlformats.schemas.drawingml.x2006.main.impl.CTFillStyleListImpl Maven / Gradle / Ivy

/*
 * XML Type:  CT_FillStyleList
 * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
 * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTFillStyleList
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
 * An XML CT_FillStyleList(@http://schemas.openxmlformats.org/drawingml/2006/main).
 *
 * This is a complex type.
 */
public class CTFillStyleListImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTFillStyleList {
    private static final long serialVersionUID = 1L;
    
    public CTFillStyleListImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName NOFILL$0 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "noFill");
    private static final javax.xml.namespace.QName SOLIDFILL$2 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "solidFill");
    private static final javax.xml.namespace.QName GRADFILL$4 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "gradFill");
    private static final javax.xml.namespace.QName BLIPFILL$6 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "blipFill");
    private static final javax.xml.namespace.QName PATTFILL$8 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "pattFill");
    private static final javax.xml.namespace.QName GRPFILL$10 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "grpFill");
    
    
    /**
     * Gets a List of "noFill" elements
     */
    public java.util.List getNoFillList() {
        final class NoFillList extends java.util.AbstractList {
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties get(int i)
                { return CTFillStyleListImpl.this.getNoFillArray(i); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties set(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties o) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties old = CTFillStyleListImpl.this.getNoFillArray(i);
                CTFillStyleListImpl.this.setNoFillArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties o)
                { CTFillStyleListImpl.this.insertNewNoFill(i).set(o); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties remove(int i) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties old = CTFillStyleListImpl.this.getNoFillArray(i);
                CTFillStyleListImpl.this.removeNoFill(i);
                return old;
            }
            
            @Override
            public int size()
                { return CTFillStyleListImpl.this.sizeOfNoFillArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new NoFillList();
        }
    }
    
    /**
     * Gets array of all "noFill" elements
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties[] getNoFillArray() {
        return getXmlObjectArray(NOFILL$0, new org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties[0]);
    }
    
    /**
     * Gets ith "noFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties getNoFillArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().find_element_user(NOFILL$0, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "noFill" element
     */
    public int sizeOfNoFillArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(NOFILL$0);
        }
    }
    
    /**
     * Sets array of all "noFill" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setNoFillArray(org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties[] noFillArray) {
        check_orphaned();
        arraySetterHelper(noFillArray, NOFILL$0);
    }
    
    /**
     * Sets ith "noFill" element
     */
    public void setNoFillArray(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties noFill) {
        generatedSetterHelperImpl(noFill, NOFILL$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "noFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties insertNewNoFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().insert_element_user(NOFILL$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "noFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties addNewNoFill() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTNoFillProperties)get_store().add_element_user(NOFILL$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "noFill" element
     */
    public void removeNoFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(NOFILL$0, i);
        }
    }
    
    /**
     * Gets a List of "solidFill" elements
     */
    public java.util.List getSolidFillList() {
        final class SolidFillList extends java.util.AbstractList {
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties get(int i)
                { return CTFillStyleListImpl.this.getSolidFillArray(i); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties set(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties o) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties old = CTFillStyleListImpl.this.getSolidFillArray(i);
                CTFillStyleListImpl.this.setSolidFillArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties o)
                { CTFillStyleListImpl.this.insertNewSolidFill(i).set(o); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties remove(int i) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties old = CTFillStyleListImpl.this.getSolidFillArray(i);
                CTFillStyleListImpl.this.removeSolidFill(i);
                return old;
            }
            
            @Override
            public int size()
                { return CTFillStyleListImpl.this.sizeOfSolidFillArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new SolidFillList();
        }
    }
    
    /**
     * Gets array of all "solidFill" elements
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties[] getSolidFillArray() {
        return getXmlObjectArray(SOLIDFILL$2, new org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties[0]);
    }
    
    /**
     * Gets ith "solidFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties getSolidFillArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().find_element_user(SOLIDFILL$2, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "solidFill" element
     */
    public int sizeOfSolidFillArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SOLIDFILL$2);
        }
    }
    
    /**
     * Sets array of all "solidFill" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setSolidFillArray(org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties[] solidFillArray) {
        check_orphaned();
        arraySetterHelper(solidFillArray, SOLIDFILL$2);
    }
    
    /**
     * Sets ith "solidFill" element
     */
    public void setSolidFillArray(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties solidFill) {
        generatedSetterHelperImpl(solidFill, SOLIDFILL$2, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "solidFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties insertNewSolidFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().insert_element_user(SOLIDFILL$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "solidFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties addNewSolidFill() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTSolidColorFillProperties)get_store().add_element_user(SOLIDFILL$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "solidFill" element
     */
    public void removeSolidFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SOLIDFILL$2, i);
        }
    }
    
    /**
     * Gets a List of "gradFill" elements
     */
    public java.util.List getGradFillList() {
        final class GradFillList extends java.util.AbstractList {
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties get(int i)
                { return CTFillStyleListImpl.this.getGradFillArray(i); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties set(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties o) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties old = CTFillStyleListImpl.this.getGradFillArray(i);
                CTFillStyleListImpl.this.setGradFillArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties o)
                { CTFillStyleListImpl.this.insertNewGradFill(i).set(o); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties remove(int i) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties old = CTFillStyleListImpl.this.getGradFillArray(i);
                CTFillStyleListImpl.this.removeGradFill(i);
                return old;
            }
            
            @Override
            public int size()
                { return CTFillStyleListImpl.this.sizeOfGradFillArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new GradFillList();
        }
    }
    
    /**
     * Gets array of all "gradFill" elements
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties[] getGradFillArray() {
        return getXmlObjectArray(GRADFILL$4, new org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties[0]);
    }
    
    /**
     * Gets ith "gradFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties getGradFillArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().find_element_user(GRADFILL$4, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "gradFill" element
     */
    public int sizeOfGradFillArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(GRADFILL$4);
        }
    }
    
    /**
     * Sets array of all "gradFill" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setGradFillArray(org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties[] gradFillArray) {
        check_orphaned();
        arraySetterHelper(gradFillArray, GRADFILL$4);
    }
    
    /**
     * Sets ith "gradFill" element
     */
    public void setGradFillArray(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties gradFill) {
        generatedSetterHelperImpl(gradFill, GRADFILL$4, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "gradFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties insertNewGradFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().insert_element_user(GRADFILL$4, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "gradFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties addNewGradFill() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGradientFillProperties)get_store().add_element_user(GRADFILL$4);
            return target;
        }
    }
    
    /**
     * Removes the ith "gradFill" element
     */
    public void removeGradFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(GRADFILL$4, i);
        }
    }
    
    /**
     * Gets a List of "blipFill" elements
     */
    public java.util.List getBlipFillList() {
        final class BlipFillList extends java.util.AbstractList {
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties get(int i)
                { return CTFillStyleListImpl.this.getBlipFillArray(i); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties set(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties o) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties old = CTFillStyleListImpl.this.getBlipFillArray(i);
                CTFillStyleListImpl.this.setBlipFillArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties o)
                { CTFillStyleListImpl.this.insertNewBlipFill(i).set(o); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties remove(int i) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties old = CTFillStyleListImpl.this.getBlipFillArray(i);
                CTFillStyleListImpl.this.removeBlipFill(i);
                return old;
            }
            
            @Override
            public int size()
                { return CTFillStyleListImpl.this.sizeOfBlipFillArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new BlipFillList();
        }
    }
    
    /**
     * Gets array of all "blipFill" elements
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties[] getBlipFillArray() {
        return getXmlObjectArray(BLIPFILL$6, new org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties[0]);
    }
    
    /**
     * Gets ith "blipFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties getBlipFillArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().find_element_user(BLIPFILL$6, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "blipFill" element
     */
    public int sizeOfBlipFillArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BLIPFILL$6);
        }
    }
    
    /**
     * Sets array of all "blipFill" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setBlipFillArray(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties[] blipFillArray) {
        check_orphaned();
        arraySetterHelper(blipFillArray, BLIPFILL$6);
    }
    
    /**
     * Sets ith "blipFill" element
     */
    public void setBlipFillArray(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill) {
        generatedSetterHelperImpl(blipFill, BLIPFILL$6, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "blipFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties insertNewBlipFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().insert_element_user(BLIPFILL$6, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "blipFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties addNewBlipFill() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties)get_store().add_element_user(BLIPFILL$6);
            return target;
        }
    }
    
    /**
     * Removes the ith "blipFill" element
     */
    public void removeBlipFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BLIPFILL$6, i);
        }
    }
    
    /**
     * Gets a List of "pattFill" elements
     */
    public java.util.List getPattFillList() {
        final class PattFillList extends java.util.AbstractList {
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties get(int i)
                { return CTFillStyleListImpl.this.getPattFillArray(i); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties set(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties o) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties old = CTFillStyleListImpl.this.getPattFillArray(i);
                CTFillStyleListImpl.this.setPattFillArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties o)
                { CTFillStyleListImpl.this.insertNewPattFill(i).set(o); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties remove(int i) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties old = CTFillStyleListImpl.this.getPattFillArray(i);
                CTFillStyleListImpl.this.removePattFill(i);
                return old;
            }
            
            @Override
            public int size()
                { return CTFillStyleListImpl.this.sizeOfPattFillArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new PattFillList();
        }
    }
    
    /**
     * Gets array of all "pattFill" elements
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties[] getPattFillArray() {
        return getXmlObjectArray(PATTFILL$8, new org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties[0]);
    }
    
    /**
     * Gets ith "pattFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties getPattFillArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().find_element_user(PATTFILL$8, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "pattFill" element
     */
    public int sizeOfPattFillArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PATTFILL$8);
        }
    }
    
    /**
     * Sets array of all "pattFill" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setPattFillArray(org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties[] pattFillArray) {
        check_orphaned();
        arraySetterHelper(pattFillArray, PATTFILL$8);
    }
    
    /**
     * Sets ith "pattFill" element
     */
    public void setPattFillArray(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties pattFill) {
        generatedSetterHelperImpl(pattFill, PATTFILL$8, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "pattFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties insertNewPattFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().insert_element_user(PATTFILL$8, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "pattFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties addNewPattFill() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPatternFillProperties)get_store().add_element_user(PATTFILL$8);
            return target;
        }
    }
    
    /**
     * Removes the ith "pattFill" element
     */
    public void removePattFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PATTFILL$8, i);
        }
    }
    
    /**
     * Gets a List of "grpFill" elements
     */
    public java.util.List getGrpFillList() {
        final class GrpFillList extends java.util.AbstractList {
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties get(int i)
                { return CTFillStyleListImpl.this.getGrpFillArray(i); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties set(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties o) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties old = CTFillStyleListImpl.this.getGrpFillArray(i);
                CTFillStyleListImpl.this.setGrpFillArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties o)
                { CTFillStyleListImpl.this.insertNewGrpFill(i).set(o); }
            
            @Override
            public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties remove(int i) {
                org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties old = CTFillStyleListImpl.this.getGrpFillArray(i);
                CTFillStyleListImpl.this.removeGrpFill(i);
                return old;
            }
            
            @Override
            public int size()
                { return CTFillStyleListImpl.this.sizeOfGrpFillArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new GrpFillList();
        }
    }
    
    /**
     * Gets array of all "grpFill" elements
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties[] getGrpFillArray() {
        return getXmlObjectArray(GRPFILL$10, new org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties[0]);
    }
    
    /**
     * Gets ith "grpFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties getGrpFillArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().find_element_user(GRPFILL$10, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "grpFill" element
     */
    public int sizeOfGrpFillArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(GRPFILL$10);
        }
    }
    
    /**
     * Sets array of all "grpFill" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setGrpFillArray(org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties[] grpFillArray) {
        check_orphaned();
        arraySetterHelper(grpFillArray, GRPFILL$10);
    }
    
    /**
     * Sets ith "grpFill" element
     */
    public void setGrpFillArray(int i, org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties grpFill) {
        generatedSetterHelperImpl(grpFill, GRPFILL$10, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "grpFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties insertNewGrpFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().insert_element_user(GRPFILL$10, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "grpFill" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties addNewGrpFill() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupFillProperties)get_store().add_element_user(GRPFILL$10);
            return target;
        }
    }
    
    /**
     * Removes the ith "grpFill" element
     */
    public void removeGrpFill(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(GRPFILL$10, i);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy