org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTLegendEntryImpl 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_LegendEntry
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chart
* Java type: org.openxmlformats.schemas.drawingml.x2006.chart.CTLegendEntry
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.chart.impl;
/**
* An XML CT_LegendEntry(@http://schemas.openxmlformats.org/drawingml/2006/chart).
*
* This is a complex type.
*/
public class CTLegendEntryImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chart.CTLegendEntry
{
public CTLegendEntryImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName IDX$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "idx");
private static final javax.xml.namespace.QName DELETE$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "delete");
private static final javax.xml.namespace.QName TXPR$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "txPr");
private static final javax.xml.namespace.QName EXTLST$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "extLst");
/**
* Gets the "idx" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt getIdx()
{
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(IDX$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "idx" element
*/
public void setIdx(org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt idx)
{
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(IDX$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt)get_store().add_element_user(IDX$0);
}
target.set(idx);
}
}
/**
* Appends and returns a new empty "idx" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTUnsignedInt addNewIdx()
{
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(IDX$0);
return target;
}
}
/**
* Gets the "delete" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDelete()
{
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(DELETE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "delete" element
*/
public boolean isSetDelete()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DELETE$2) != 0;
}
}
/**
* Sets the "delete" element
*/
public void setDelete(org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean delete)
{
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(DELETE$2, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean)get_store().add_element_user(DELETE$2);
}
target.set(delete);
}
}
/**
* Appends and returns a new empty "delete" element
*/
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean addNewDelete()
{
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(DELETE$2);
return target;
}
}
/**
* Unsets the "delete" element
*/
public void unsetDelete()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DELETE$2, 0);
}
}
/**
* Gets the "txPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody getTxPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody)get_store().find_element_user(TXPR$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "txPr" element
*/
public boolean isSetTxPr()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TXPR$4) != 0;
}
}
/**
* Sets the "txPr" element
*/
public void setTxPr(org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody txPr)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody)get_store().find_element_user(TXPR$4, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody)get_store().add_element_user(TXPR$4);
}
target.set(txPr);
}
}
/**
* Appends and returns a new empty "txPr" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody addNewTxPr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTTextBody)get_store().add_element_user(TXPR$4);
return target;
}
}
/**
* Unsets the "txPr" element
*/
public void unsetTxPr()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TXPR$4, 0);
}
}
/**
* Gets the "extLst" element
*/
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(EXTLST$6, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "extLst" element
*/
public boolean isSetExtLst()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXTLST$6) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList extLst)
{
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(EXTLST$6, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList)get_store().add_element_user(EXTLST$6);
}
target.set(extLst);
}
}
/**
* Appends and returns a new empty "extLst" element
*/
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(EXTLST$6);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$6, 0);
}
}
}