org.openxmlformats.schemas.drawingml.x2006.chartDrawing.impl.CTGroupShapeImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_GroupShape
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chartDrawing
* Java type: org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.chartDrawing.impl;
/**
* An XML CT_GroupShape(@http://schemas.openxmlformats.org/drawingml/2006/chartDrawing).
*
* This is a complex type.
*/
public class CTGroupShapeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape {
private static final long serialVersionUID = 1L;
public CTGroupShapeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName NVGRPSPPR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "nvGrpSpPr");
private static final javax.xml.namespace.QName GRPSPPR$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "grpSpPr");
private static final javax.xml.namespace.QName SP$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "sp");
private static final javax.xml.namespace.QName GRPSP$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "grpSp");
private static final javax.xml.namespace.QName GRAPHICFRAME$8 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "graphicFrame");
private static final javax.xml.namespace.QName CXNSP$10 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "cxnSp");
private static final javax.xml.namespace.QName PIC$12 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing", "pic");
/**
* Gets the "nvGrpSpPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual getNvGrpSpPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual)get_store().find_element_user(NVGRPSPPR$0, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "nvGrpSpPr" element
*/
public void setNvGrpSpPr(org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual nvGrpSpPr) {
generatedSetterHelperImpl(nvGrpSpPr, NVGRPSPPR$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "nvGrpSpPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual addNewNvGrpSpPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShapeNonVisual)get_store().add_element_user(NVGRPSPPR$0);
return target;
}
}
/**
* Gets the "grpSpPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties getGrpSpPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties)get_store().find_element_user(GRPSPPR$2, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "grpSpPr" element
*/
public void setGrpSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties grpSpPr) {
generatedSetterHelperImpl(grpSpPr, GRPSPPR$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "grpSpPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties addNewGrpSpPr() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTGroupShapeProperties)get_store().add_element_user(GRPSPPR$2);
return target;
}
}
/**
* Gets a List of "sp" elements
*/
public java.util.List getSpList() {
final class SpList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape get(int i)
{ return CTGroupShapeImpl.this.getSpArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape set(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape o) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape old = CTGroupShapeImpl.this.getSpArray(i);
CTGroupShapeImpl.this.setSpArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape o)
{ CTGroupShapeImpl.this.insertNewSp(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape old = CTGroupShapeImpl.this.getSpArray(i);
CTGroupShapeImpl.this.removeSp(i);
return old;
}
@Override
public int size()
{ return CTGroupShapeImpl.this.sizeOfSpArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new SpList();
}
}
/**
* Gets array of all "sp" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape[] getSpArray() {
return getXmlObjectArray(SP$4, new org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape[0]);
}
/**
* Gets ith "sp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape getSpArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape)get_store().find_element_user(SP$4, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "sp" element
*/
public int sizeOfSpArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SP$4);
}
}
/**
* Sets array of all "sp" element WARNING: This method is not atomicaly synchronized.
*/
public void setSpArray(org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape[] spArray) {
check_orphaned();
arraySetterHelper(spArray, SP$4);
}
/**
* Sets ith "sp" element
*/
public void setSpArray(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape sp) {
generatedSetterHelperImpl(sp, SP$4, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "sp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape insertNewSp(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape)get_store().insert_element_user(SP$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "sp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape addNewSp() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTShape)get_store().add_element_user(SP$4);
return target;
}
}
/**
* Removes the ith "sp" element
*/
public void removeSp(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SP$4, i);
}
}
/**
* Gets a List of "grpSp" elements
*/
public java.util.List getGrpSpList() {
final class GrpSpList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape get(int i)
{ return CTGroupShapeImpl.this.getGrpSpArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape set(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape o) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape old = CTGroupShapeImpl.this.getGrpSpArray(i);
CTGroupShapeImpl.this.setGrpSpArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape o)
{ CTGroupShapeImpl.this.insertNewGrpSp(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape old = CTGroupShapeImpl.this.getGrpSpArray(i);
CTGroupShapeImpl.this.removeGrpSp(i);
return old;
}
@Override
public int size()
{ return CTGroupShapeImpl.this.sizeOfGrpSpArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new GrpSpList();
}
}
/**
* Gets array of all "grpSp" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape[] getGrpSpArray() {
return getXmlObjectArray(GRPSP$6, new org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape[0]);
}
/**
* Gets ith "grpSp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape getGrpSpArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape)get_store().find_element_user(GRPSP$6, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "grpSp" element
*/
public int sizeOfGrpSpArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(GRPSP$6);
}
}
/**
* Sets array of all "grpSp" element WARNING: This method is not atomicaly synchronized.
*/
public void setGrpSpArray(org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape[] grpSpArray) {
check_orphaned();
arraySetterHelper(grpSpArray, GRPSP$6);
}
/**
* Sets ith "grpSp" element
*/
public void setGrpSpArray(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape grpSp) {
generatedSetterHelperImpl(grpSp, GRPSP$6, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "grpSp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape insertNewGrpSp(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape)get_store().insert_element_user(GRPSP$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "grpSp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape addNewGrpSp() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGroupShape)get_store().add_element_user(GRPSP$6);
return target;
}
}
/**
* Removes the ith "grpSp" element
*/
public void removeGrpSp(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(GRPSP$6, i);
}
}
/**
* Gets a List of "graphicFrame" elements
*/
public java.util.List getGraphicFrameList() {
final class GraphicFrameList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame get(int i)
{ return CTGroupShapeImpl.this.getGraphicFrameArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame set(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame o) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame old = CTGroupShapeImpl.this.getGraphicFrameArray(i);
CTGroupShapeImpl.this.setGraphicFrameArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame o)
{ CTGroupShapeImpl.this.insertNewGraphicFrame(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame old = CTGroupShapeImpl.this.getGraphicFrameArray(i);
CTGroupShapeImpl.this.removeGraphicFrame(i);
return old;
}
@Override
public int size()
{ return CTGroupShapeImpl.this.sizeOfGraphicFrameArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new GraphicFrameList();
}
}
/**
* Gets array of all "graphicFrame" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame[] getGraphicFrameArray() {
return getXmlObjectArray(GRAPHICFRAME$8, new org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame[0]);
}
/**
* Gets ith "graphicFrame" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame getGraphicFrameArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame)get_store().find_element_user(GRAPHICFRAME$8, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "graphicFrame" element
*/
public int sizeOfGraphicFrameArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(GRAPHICFRAME$8);
}
}
/**
* Sets array of all "graphicFrame" element WARNING: This method is not atomicaly synchronized.
*/
public void setGraphicFrameArray(org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame[] graphicFrameArray) {
check_orphaned();
arraySetterHelper(graphicFrameArray, GRAPHICFRAME$8);
}
/**
* Sets ith "graphicFrame" element
*/
public void setGraphicFrameArray(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame graphicFrame) {
generatedSetterHelperImpl(graphicFrame, GRAPHICFRAME$8, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "graphicFrame" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame insertNewGraphicFrame(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame)get_store().insert_element_user(GRAPHICFRAME$8, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "graphicFrame" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame addNewGraphicFrame() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTGraphicFrame)get_store().add_element_user(GRAPHICFRAME$8);
return target;
}
}
/**
* Removes the ith "graphicFrame" element
*/
public void removeGraphicFrame(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(GRAPHICFRAME$8, i);
}
}
/**
* Gets a List of "cxnSp" elements
*/
public java.util.List getCxnSpList() {
final class CxnSpList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector get(int i)
{ return CTGroupShapeImpl.this.getCxnSpArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector set(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector o) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector old = CTGroupShapeImpl.this.getCxnSpArray(i);
CTGroupShapeImpl.this.setCxnSpArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector o)
{ CTGroupShapeImpl.this.insertNewCxnSp(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector old = CTGroupShapeImpl.this.getCxnSpArray(i);
CTGroupShapeImpl.this.removeCxnSp(i);
return old;
}
@Override
public int size()
{ return CTGroupShapeImpl.this.sizeOfCxnSpArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new CxnSpList();
}
}
/**
* Gets array of all "cxnSp" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector[] getCxnSpArray() {
return getXmlObjectArray(CXNSP$10, new org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector[0]);
}
/**
* Gets ith "cxnSp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector getCxnSpArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector)get_store().find_element_user(CXNSP$10, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "cxnSp" element
*/
public int sizeOfCxnSpArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CXNSP$10);
}
}
/**
* Sets array of all "cxnSp" element WARNING: This method is not atomicaly synchronized.
*/
public void setCxnSpArray(org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector[] cxnSpArray) {
check_orphaned();
arraySetterHelper(cxnSpArray, CXNSP$10);
}
/**
* Sets ith "cxnSp" element
*/
public void setCxnSpArray(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector cxnSp) {
generatedSetterHelperImpl(cxnSp, CXNSP$10, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "cxnSp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector insertNewCxnSp(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector)get_store().insert_element_user(CXNSP$10, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "cxnSp" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector addNewCxnSp() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTConnector)get_store().add_element_user(CXNSP$10);
return target;
}
}
/**
* Removes the ith "cxnSp" element
*/
public void removeCxnSp(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CXNSP$10, i);
}
}
/**
* Gets a List of "pic" elements
*/
public java.util.List getPicList() {
final class PicList extends java.util.AbstractList {
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture get(int i)
{ return CTGroupShapeImpl.this.getPicArray(i); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture set(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture o) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture old = CTGroupShapeImpl.this.getPicArray(i);
CTGroupShapeImpl.this.setPicArray(i, o);
return old;
}
@Override
public void add(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture o)
{ CTGroupShapeImpl.this.insertNewPic(i).set(o); }
@Override
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture remove(int i) {
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture old = CTGroupShapeImpl.this.getPicArray(i);
CTGroupShapeImpl.this.removePic(i);
return old;
}
@Override
public int size()
{ return CTGroupShapeImpl.this.sizeOfPicArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new PicList();
}
}
/**
* Gets array of all "pic" elements
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture[] getPicArray() {
return getXmlObjectArray(PIC$12, new org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture[0]);
}
/**
* Gets ith "pic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture getPicArray(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture)get_store().find_element_user(PIC$12, i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "pic" element
*/
public int sizeOfPicArray() {
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PIC$12);
}
}
/**
* Sets array of all "pic" element WARNING: This method is not atomicaly synchronized.
*/
public void setPicArray(org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture[] picArray) {
check_orphaned();
arraySetterHelper(picArray, PIC$12);
}
/**
* Sets ith "pic" element
*/
public void setPicArray(int i, org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture pic) {
generatedSetterHelperImpl(pic, PIC$12, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "pic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture insertNewPic(int i) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture)get_store().insert_element_user(PIC$12, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "pic" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture addNewPic() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chartDrawing.CTPicture)get_store().add_element_user(PIC$12);
return target;
}
}
/**
* Removes the ith "pic" element
*/
public void removePic(int i) {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PIC$12, i);
}
}
}