org.openxmlformats.schemas.drawingml.x2006.chart.impl.CTTrendlineImpl 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_Trendline
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/chart
* Java type: org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendline
*
* 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_Trendline(@http://schemas.openxmlformats.org/drawingml/2006/chart).
*
* This is a complex type.
*/
public class CTTrendlineImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendline {
private static final long serialVersionUID = 1L;
public CTTrendlineImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "name"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "spPr"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "trendlineType"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "order"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "period"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "forward"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "backward"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "intercept"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "dispRSqr"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "dispEq"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "trendlineLbl"),
new QName("http://schemas.openxmlformats.org/drawingml/2006/chart", "extLst"),
};
/**
* Gets the "name" element
*/
@Override
public java.lang.String getName() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "name" element
*/
@Override
public org.apache.xmlbeans.XmlString xgetName() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return target;
}
}
/**
* True if has "name" element
*/
@Override
public boolean isSetName() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[0]) != 0;
}
}
/**
* Sets the "name" element
*/
@Override
public void setName(java.lang.String name) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" element
*/
@Override
public void xsetName(org.apache.xmlbeans.XmlString name) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.set(name);
}
}
/**
* Unsets the "name" element
*/
@Override
public void unsetName() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[0], 0);
}
}
/**
* Gets the "spPr" element
*/
@Override
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(PROPERTY_QNAME[1], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "spPr" element
*/
@Override
public boolean isSetSpPr() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[1]) != 0;
}
}
/**
* Sets the "spPr" element
*/
@Override
public void setSpPr(org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties spPr) {
generatedSetterHelperImpl(spPr, PROPERTY_QNAME[1], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "spPr" element
*/
@Override
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(PROPERTY_QNAME[1]);
return target;
}
}
/**
* Unsets the "spPr" element
*/
@Override
public void unsetSpPr() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[1], 0);
}
}
/**
* Gets the "trendlineType" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType getTrendlineType() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType)get_store().find_element_user(PROPERTY_QNAME[2], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "trendlineType" element
*/
@Override
public void setTrendlineType(org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType trendlineType) {
generatedSetterHelperImpl(trendlineType, PROPERTY_QNAME[2], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "trendlineType" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType addNewTrendlineType() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineType)get_store().add_element_user(PROPERTY_QNAME[2]);
return target;
}
}
/**
* Gets the "order" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder getOrder() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder)get_store().find_element_user(PROPERTY_QNAME[3], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "order" element
*/
@Override
public boolean isSetOrder() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[3]) != 0;
}
}
/**
* Sets the "order" element
*/
@Override
public void setOrder(org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder order) {
generatedSetterHelperImpl(order, PROPERTY_QNAME[3], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "order" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder addNewOrder() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTOrder)get_store().add_element_user(PROPERTY_QNAME[3]);
return target;
}
}
/**
* Unsets the "order" element
*/
@Override
public void unsetOrder() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[3], 0);
}
}
/**
* Gets the "period" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod getPeriod() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod)get_store().find_element_user(PROPERTY_QNAME[4], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "period" element
*/
@Override
public boolean isSetPeriod() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[4]) != 0;
}
}
/**
* Sets the "period" element
*/
@Override
public void setPeriod(org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod period) {
generatedSetterHelperImpl(period, PROPERTY_QNAME[4], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "period" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod addNewPeriod() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTPeriod)get_store().add_element_user(PROPERTY_QNAME[4]);
return target;
}
}
/**
* Unsets the "period" element
*/
@Override
public void unsetPeriod() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[4], 0);
}
}
/**
* Gets the "forward" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble getForward() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble)get_store().find_element_user(PROPERTY_QNAME[5], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "forward" element
*/
@Override
public boolean isSetForward() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[5]) != 0;
}
}
/**
* Sets the "forward" element
*/
@Override
public void setForward(org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble forward) {
generatedSetterHelperImpl(forward, PROPERTY_QNAME[5], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "forward" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble addNewForward() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble)get_store().add_element_user(PROPERTY_QNAME[5]);
return target;
}
}
/**
* Unsets the "forward" element
*/
@Override
public void unsetForward() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[5], 0);
}
}
/**
* Gets the "backward" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble getBackward() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble)get_store().find_element_user(PROPERTY_QNAME[6], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "backward" element
*/
@Override
public boolean isSetBackward() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[6]) != 0;
}
}
/**
* Sets the "backward" element
*/
@Override
public void setBackward(org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble backward) {
generatedSetterHelperImpl(backward, PROPERTY_QNAME[6], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "backward" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble addNewBackward() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble)get_store().add_element_user(PROPERTY_QNAME[6]);
return target;
}
}
/**
* Unsets the "backward" element
*/
@Override
public void unsetBackward() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[6], 0);
}
}
/**
* Gets the "intercept" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble getIntercept() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble)get_store().find_element_user(PROPERTY_QNAME[7], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "intercept" element
*/
@Override
public boolean isSetIntercept() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[7]) != 0;
}
}
/**
* Sets the "intercept" element
*/
@Override
public void setIntercept(org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble intercept) {
generatedSetterHelperImpl(intercept, PROPERTY_QNAME[7], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "intercept" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble addNewIntercept() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTDouble)get_store().add_element_user(PROPERTY_QNAME[7]);
return target;
}
}
/**
* Unsets the "intercept" element
*/
@Override
public void unsetIntercept() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[7], 0);
}
}
/**
* Gets the "dispRSqr" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDispRSqr() {
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[8], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "dispRSqr" element
*/
@Override
public boolean isSetDispRSqr() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[8]) != 0;
}
}
/**
* Sets the "dispRSqr" element
*/
@Override
public void setDispRSqr(org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean dispRSqr) {
generatedSetterHelperImpl(dispRSqr, PROPERTY_QNAME[8], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "dispRSqr" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean addNewDispRSqr() {
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[8]);
return target;
}
}
/**
* Unsets the "dispRSqr" element
*/
@Override
public void unsetDispRSqr() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[8], 0);
}
}
/**
* Gets the "dispEq" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean getDispEq() {
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[9], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "dispEq" element
*/
@Override
public boolean isSetDispEq() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[9]) != 0;
}
}
/**
* Sets the "dispEq" element
*/
@Override
public void setDispEq(org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean dispEq) {
generatedSetterHelperImpl(dispEq, PROPERTY_QNAME[9], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "dispEq" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTBoolean addNewDispEq() {
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[9]);
return target;
}
}
/**
* Unsets the "dispEq" element
*/
@Override
public void unsetDispEq() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[9], 0);
}
}
/**
* Gets the "trendlineLbl" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl getTrendlineLbl() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl)get_store().find_element_user(PROPERTY_QNAME[10], 0);
return (target == null) ? null : target;
}
}
/**
* True if has "trendlineLbl" element
*/
@Override
public boolean isSetTrendlineLbl() {
synchronized (monitor()) {
check_orphaned();
return get_store().count_elements(PROPERTY_QNAME[10]) != 0;
}
}
/**
* Sets the "trendlineLbl" element
*/
@Override
public void setTrendlineLbl(org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl trendlineLbl) {
generatedSetterHelperImpl(trendlineLbl, PROPERTY_QNAME[10], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "trendlineLbl" element
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl addNewTrendlineLbl() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.chart.CTTrendlineLbl)get_store().add_element_user(PROPERTY_QNAME[10]);
return target;
}
}
/**
* Unsets the "trendlineLbl" element
*/
@Override
public void unsetTrendlineLbl() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[10], 0);
}
}
/**
* 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[11], 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[11]) != 0;
}
}
/**
* Sets the "extLst" element
*/
@Override
public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.chart.CTExtensionList extLst) {
generatedSetterHelperImpl(extLst, PROPERTY_QNAME[11], 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[11]);
return target;
}
}
/**
* Unsets the "extLst" element
*/
@Override
public void unsetExtLst() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_element(PROPERTY_QNAME[11], 0);
}
}
}