org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTConditionalFormatImpl 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_ConditionalFormat
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTConditionalFormat
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_ConditionalFormat(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTConditionalFormatImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTConditionalFormat
{
public CTConditionalFormatImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PIVOTAREAS$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/spreadsheetml/2006/main", "pivotAreas");
private static final javax.xml.namespace.QName EXTLST$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/spreadsheetml/2006/main", "extLst");
private static final javax.xml.namespace.QName SCOPE$4 =
new javax.xml.namespace.QName("", "scope");
private static final javax.xml.namespace.QName TYPE$6 =
new javax.xml.namespace.QName("", "type");
private static final javax.xml.namespace.QName PRIORITY$8 =
new javax.xml.namespace.QName("", "priority");
/**
* Gets the "pivotAreas" element
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas getPivotAreas()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas)get_store().find_element_user(PIVOTAREAS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "pivotAreas" element
*/
public void setPivotAreas(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas pivotAreas)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas)get_store().find_element_user(PIVOTAREAS$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas)get_store().add_element_user(PIVOTAREAS$0);
}
target.set(pivotAreas);
}
}
/**
* Appends and returns a new empty "pivotAreas" element
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas addNewPivotAreas()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreas)get_store().add_element_user(PIVOTAREAS$0);
return target;
}
}
/**
* Gets the "extLst" element
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList getExtLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList)get_store().find_element_user(EXTLST$2, 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$2) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList extLst)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList)get_store().find_element_user(EXTLST$2, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$2);
}
target.set(extLst);
}
}
/**
* Appends and returns a new empty "extLst" element
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList addNewExtLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$2);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$2, 0);
}
}
/**
* Gets the "scope" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope.Enum getScope()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SCOPE$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(SCOPE$4);
}
if (target == null)
{
return null;
}
return (org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "scope" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope xgetScope()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope)get_store().find_attribute_user(SCOPE$4);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope)get_default_attribute_value(SCOPE$4);
}
return target;
}
}
/**
* True if has "scope" attribute
*/
public boolean isSetScope()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SCOPE$4) != null;
}
}
/**
* Sets the "scope" attribute
*/
public void setScope(org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope.Enum scope)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SCOPE$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SCOPE$4);
}
target.setEnumValue(scope);
}
}
/**
* Sets (as xml) the "scope" attribute
*/
public void xsetScope(org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope scope)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope)get_store().find_attribute_user(SCOPE$4);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STScope)get_store().add_attribute_user(SCOPE$4);
}
target.set(scope);
}
}
/**
* Unsets the "scope" attribute
*/
public void unsetScope()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SCOPE$4);
}
}
/**
* Gets the "type" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STType.Enum getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(TYPE$6);
}
if (target == null)
{
return null;
}
return (org.openxmlformats.schemas.spreadsheetml.x2006.main.STType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STType xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STType target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STType)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STType)get_default_attribute_value(TYPE$6);
}
return target;
}
}
/**
* True if has "type" attribute
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TYPE$6) != null;
}
}
/**
* Sets the "type" attribute
*/
public void setType(org.openxmlformats.schemas.spreadsheetml.x2006.main.STType.Enum type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$6);
}
target.setEnumValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.openxmlformats.schemas.spreadsheetml.x2006.main.STType type)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STType target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STType)get_store().find_attribute_user(TYPE$6);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STType)get_store().add_attribute_user(TYPE$6);
}
target.set(type);
}
}
/**
* Unsets the "type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$6);
}
}
/**
* Gets the "priority" attribute
*/
public long getPriority()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PRIORITY$8);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "priority" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetPriority()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(PRIORITY$8);
return target;
}
}
/**
* Sets the "priority" attribute
*/
public void setPriority(long priority)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PRIORITY$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PRIORITY$8);
}
target.setLongValue(priority);
}
}
/**
* Sets (as xml) the "priority" attribute
*/
public void xsetPriority(org.apache.xmlbeans.XmlUnsignedInt priority)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(PRIORITY$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(PRIORITY$8);
}
target.set(priority);
}
}
}