org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTSurface3DChartImpl 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_Surface3DChart
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chart
* Java type: org.openxmlformats.schemas.drawingml.x2006.chart.CTSurface3DChart
*
* 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_Surface3DChart(@http://schemas.openxmlformats.org/drawingml/2006/chart).
*
* This is a complex type.
*/
public class CTSurface3DChartImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chart.CTSurface3DChart {
private static final long serialVersionUID = 1L;
public CTSurface3DChartImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "wireframe"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "ser"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "bandFmts"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "axId"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "extLst"),
};
/**
* Gets the "wireframe" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getWireframe() {
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[0], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "wireframe" element
*/
@Override
public boolean isSetWireframe() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[0]) != 0;
}
}
/**
* Sets the "wireframe" element
*/
@Override
public void setWireframe(org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean wireframe) {
generatedSetterHelperImpl(wireframe, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "wireframe" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean addNewWireframe() {
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[0]);
return target;
}
}
/**
* Unsets the "wireframe" element
*/
@Override
public void unsetWireframe() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[0], 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.CTSurfaceSer[] getSerArray() {
return getXmlObjectArray(PROPERTY_QNAME[1], new org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer[0]);
}
/**
* Gets ith "ser" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer getSerArray(int i) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer)get_store().find_element_user(PROPERTY_QNAME[1], 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[1]);
}
}
/**
* Sets array of all "ser" element WARNING: This method is not atomicaly synchronized.
*/
@Override
public void setSerArray(org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer[] serArray) {
check_orphaned();
arraySetterHelper(serArray, PROPERTY_QNAME[1]);
}
/**
* Sets ith "ser" element
*/
@Override
public void setSerArray(int i, org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer ser) {
generatedSetterHelperImpl(ser, PROPERTY_QNAME[1], 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.CTSurfaceSer insertNewSer(int i) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer)get_store().insert_element_user(PROPERTY_QNAME[1], 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.CTSurfaceSer addNewSer() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTSurfaceSer)get_store().add_element_user(PROPERTY_QNAME[1]);
return target;
}
}
/**
* Removes the ith "ser" element
*/
@Override
public void removeSer(int i) {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[1], i);
}
}
/**
* Gets the "bandFmts" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts getBandFmts() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts)get_store().find_element_user(PROPERTY_QNAME[2], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "bandFmts" element
*/
@Override
public boolean isSetBandFmts() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[2]) != 0;
}
}
/**
* Sets the "bandFmts" element
*/
@Override
public void setBandFmts(org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts bandFmts) {
generatedSetterHelperImpl(bandFmts, PROPERTY_QNAME[2], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "bandFmts" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts addNewBandFmts() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBandFmts)get_store().add_element_user(PROPERTY_QNAME[2]);
return target;
}
}
/**
* Unsets the "bandFmts" element
*/
@Override
public void unsetBandFmts() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[2], 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[3], 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[3], 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[3]);
}
}
/**
* 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[3]);
}
/**
* Sets ith "axId" element
*/
@Override
public void setAxIdArray(int i, org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt axId) {
generatedSetterHelperImpl(axId, 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 "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[3], 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[3]);
return target;
}
}
/**
* Removes the ith "axId" element
*/
@Override
public void removeAxId(int i) {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[3], 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[4], 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[4]) != 0;
}
}
/**
* Sets the "extLst" element
*/
@Override
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList extLst) {
generatedSetterHelperImpl(extLst, PROPERTY_QNAME[4], 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[4]);
return target;
}
}
/**
* Unsets the "extLst" element
*/
@Override
public void unsetExtLst() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[4], 0);
}
}
}