org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTBar3DChartImpl 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_Bar3DChart
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chart
* Java type: org.openxmlformats.schemas.drawingml.x2006.chart.CTBar3DChart
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.chart.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
/**
* An XML CT_Bar3DChart(@http://schemas.openxmlformats.org/drawingml/2006/chart).
*
* This is a complex type.
*/
public class CTBar3DChartImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chart.CTBar3DChart {
private static final long serialVersionUID = 1L;
public CTBar3DChartImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "barDir"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "grouping"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "varyColors"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "ser"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "dLbls"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "gapWidth"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "gapDepth"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "shape"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "axId"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "extLst"),
};
/**
* Gets the "barDir" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir getBarDir() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "barDir" element
*/
@Override
public void setBarDir(org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir barDir) {
generatedSetterHelperImpl(barDir, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "barDir" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir addNewBarDir() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarDir)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* Gets the "grouping" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping getGrouping() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping)get_store().find_element_user(PROPERTY_QNAME[1], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "grouping" element
*/
@Override
public boolean isSetGrouping() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[1]) != 0;
}
}
/**
* Sets the "grouping" element
*/
@Override
public void setGrouping(org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping grouping) {
generatedSetterHelperImpl(grouping, PROPERTY_QNAME[1], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "grouping" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping addNewGrouping() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarGrouping)get_store().add_element_user(PROPERTY_QNAME[1]);
return target;
}
}
/**
* Unsets the "grouping" element
*/
@Override
public void unsetGrouping() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[1], 0);
}
}
/**
* Gets the "varyColors" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getVaryColors() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean)get_store().find_element_user(PROPERTY_QNAME[2], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "varyColors" element
*/
@Override
public boolean isSetVaryColors() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[2]) != 0;
}
}
/**
* Sets the "varyColors" element
*/
@Override
public void setVaryColors(org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean varyColors) {
generatedSetterHelperImpl(varyColors, PROPERTY_QNAME[2], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "varyColors" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean addNewVaryColors() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean)get_store().add_element_user(PROPERTY_QNAME[2]);
return target;
}
}
/**
* Unsets the "varyColors" element
*/
@Override
public void unsetVaryColors() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[2], 0);
}
}
/**
* Gets a List of "ser" elements
*/
@Override
public java.util.List getSerList() {
synchronized (monitor()) {
check_orphaned();
return new org.apache.xmlbeans.impl.values.JavaListXmlObject<>(
this::getSerArray,
this::setSerArray,
this::insertNewSer,
this::removeSer,
this::sizeOfSerArray
);
}
}
/**
* Gets array of all "ser" elements
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer[] getSerArray() {
return getXmlObjectArray(PROPERTY_QNAME[3], new org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer[0]);
}
/**
* Gets ith "ser" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer getSerArray(int i) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer)get_store().find_element_user(PROPERTY_QNAME[3], i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "ser" element
*/
@Override
public int sizeOfSerArray() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[3]);
}
}
/**
* Sets array of all "ser" element WARNING: This method is not atomicaly synchronized.
*/
@Override
public void setSerArray(org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer[] serArray) {
check_orphaned();
arraySetterHelper(serArray, PROPERTY_QNAME[3]);
}
/**
* Sets ith "ser" element
*/
@Override
public void setSerArray(int i, org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer ser) {
generatedSetterHelperImpl(ser, PROPERTY_QNAME[3], i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "ser" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer insertNewSer(int i) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer)get_store().insert_element_user(PROPERTY_QNAME[3], i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "ser" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer addNewSer() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBarSer)get_store().add_element_user(PROPERTY_QNAME[3]);
return target;
}
}
/**
* Removes the ith "ser" element
*/
@Override
public void removeSer(int i) {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[3], i);
}
}
/**
* Gets the "dLbls" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls getDLbls() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls)get_store().find_element_user(PROPERTY_QNAME[4], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "dLbls" element
*/
@Override
public boolean isSetDLbls() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[4]) != 0;
}
}
/**
* Sets the "dLbls" element
*/
@Override
public void setDLbls(org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls dLbls) {
generatedSetterHelperImpl(dLbls, PROPERTY_QNAME[4], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "dLbls" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls addNewDLbls() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDLbls)get_store().add_element_user(PROPERTY_QNAME[4]);
return target;
}
}
/**
* Unsets the "dLbls" element
*/
@Override
public void unsetDLbls() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[4], 0);
}
}
/**
* Gets the "gapWidth" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount getGapWidth() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount)get_store().find_element_user(PROPERTY_QNAME[5], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "gapWidth" element
*/
@Override
public boolean isSetGapWidth() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[5]) != 0;
}
}
/**
* Sets the "gapWidth" element
*/
@Override
public void setGapWidth(org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount gapWidth) {
generatedSetterHelperImpl(gapWidth, PROPERTY_QNAME[5], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "gapWidth" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount addNewGapWidth() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount)get_store().add_element_user(PROPERTY_QNAME[5]);
return target;
}
}
/**
* Unsets the "gapWidth" element
*/
@Override
public void unsetGapWidth() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[5], 0);
}
}
/**
* Gets the "gapDepth" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount getGapDepth() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount)get_store().find_element_user(PROPERTY_QNAME[6], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "gapDepth" element
*/
@Override
public boolean isSetGapDepth() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[6]) != 0;
}
}
/**
* Sets the "gapDepth" element
*/
@Override
public void setGapDepth(org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount gapDepth) {
generatedSetterHelperImpl(gapDepth, PROPERTY_QNAME[6], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "gapDepth" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount addNewGapDepth() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTGapAmount)get_store().add_element_user(PROPERTY_QNAME[6]);
return target;
}
}
/**
* Unsets the "gapDepth" element
*/
@Override
public void unsetGapDepth() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[6], 0);
}
}
/**
* Gets the "shape" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTShape getShape() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTShape)get_store().find_element_user(PROPERTY_QNAME[7], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "shape" element
*/
@Override
public boolean isSetShape() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[7]) != 0;
}
}
/**
* Sets the "shape" element
*/
@Override
public void setShape(org.openxmlformats.schemas.drawingml.x2006.chart.CTShape shape) {
generatedSetterHelperImpl(shape, PROPERTY_QNAME[7], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "shape" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTShape addNewShape() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTShape target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTShape)get_store().add_element_user(PROPERTY_QNAME[7]);
return target;
}
}
/**
* Unsets the "shape" element
*/
@Override
public void unsetShape() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[7], 0);
}
}
/**
* Gets a List of "axId" elements
*/
@Override
public java.util.List getAxIdList() {
synchronized (monitor()) {
check_orphaned();
return new org.apache.xmlbeans.impl.values.JavaListXmlObject<>(
this::getAxIdArray,
this::setAxIdArray,
this::insertNewAxId,
this::removeAxId,
this::sizeOfAxIdArray
);
}
}
/**
* Gets array of all "axId" elements
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt[] getAxIdArray() {
return getXmlObjectArray(PROPERTY_QNAME[8], new org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt[0]);
}
/**
* Gets ith "axId" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt getAxIdArray(int i) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt)get_store().find_element_user(PROPERTY_QNAME[8], i);
if (target == null) {
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "axId" element
*/
@Override
public int sizeOfAxIdArray() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[8]);
}
}
/**
* Sets array of all "axId" element WARNING: This method is not atomicaly synchronized.
*/
@Override
public void setAxIdArray(org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt[] axIdArray) {
check_orphaned();
arraySetterHelper(axIdArray, PROPERTY_QNAME[8]);
}
/**
* Sets ith "axId" element
*/
@Override
public void setAxIdArray(int i, org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt axId) {
generatedSetterHelperImpl(axId, PROPERTY_QNAME[8], i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "axId" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt insertNewAxId(int i) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt)get_store().insert_element_user(PROPERTY_QNAME[8], i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "axId" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt addNewAxId() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt)get_store().add_element_user(PROPERTY_QNAME[8]);
return target;
}
}
/**
* Removes the ith "axId" element
*/
@Override
public void removeAxId(int i) {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[8], i);
}
}
/**
* Gets the "extLst" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList getExtLst() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList)get_store().find_element_user(PROPERTY_QNAME[9], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "extLst" element
*/
@Override
public boolean isSetExtLst() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[9]) != 0;
}
}
/**
* Sets the "extLst" element
*/
@Override
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList extLst) {
generatedSetterHelperImpl(extLst, PROPERTY_QNAME[9], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "extLst" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList addNewExtLst() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList)get_store().add_element_user(PROPERTY_QNAME[9]);
return target;
}
}
/**
* Unsets the "extLst" element
*/
@Override
public void unsetExtLst() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[9], 0);
}
}
}