org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTUpDownBarImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
/*
* XML Type: CT_UpDownBar
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chart
* Java type: org.openxmlformats.schemas.drawingml.x2006.chart.CTUpDownBar
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.chart.impl;
/**
* An XML CT_UpDownBar(@http://schemas.openxmlformats.org/drawingml/2006/chart).
*
* This is a complex type.
*/
public class CTUpDownBarImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chart.CTUpDownBar
{
public CTUpDownBarImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SPPR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "spPr");
/**
* Gets the "spPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getSpPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().find_element_user(SPPR$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "spPr" element
*/
public boolean isSetSpPr()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SPPR$0) != 0;
}
}
/**
* Sets the "spPr" element
*/
public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().find_element_user(SPPR$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().add_element_user(SPPR$0);
}
target.set(spPr);
}
}
/**
* Appends and returns a new empty "spPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties addNewSpPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties)get_store().add_element_user(SPPR$0);
return target;
}
}
/**
* Unsets the "spPr" element
*/
public void unsetSpPr()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SPPR$0, 0);
}
}
}