org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTCellStyleImpl Maven / Gradle / Ivy
/*
* XML Type: CT_CellStyle
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCellStyle
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_CellStyle(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTCellStyleImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCellStyle {
private static final long serialVersionUID = 1L;
public CTCellStyleImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName EXTLST$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/spreadsheetml/2006/main", "extLst");
private static final javax.xml.namespace.QName NAME$2 =
new javax.xml.namespace.QName("", "name");
private static final javax.xml.namespace.QName XFID$4 =
new javax.xml.namespace.QName("", "xfId");
private static final javax.xml.namespace.QName BUILTINID$6 =
new javax.xml.namespace.QName("", "builtinId");
private static final javax.xml.namespace.QName ILEVEL$8 =
new javax.xml.namespace.QName("", "iLevel");
private static final javax.xml.namespace.QName HIDDEN$10 =
new javax.xml.namespace.QName("", "hidden");
private static final javax.xml.namespace.QName CUSTOMBUILTIN$12 =
new javax.xml.namespace.QName("", "customBuiltin");
/**
* 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$0, 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$0) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList extLst) {
generatedSetterHelperImpl(extLst, EXTLST$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* 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$0);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$0, 0);
}
}
/**
* Gets the "name" attribute
*/
public java.lang.String getName() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "name" attribute
*/
public org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring xgetName() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring)get_store().find_attribute_user(NAME$2);
return target;
}
}
/**
* True if has "name" attribute
*/
public boolean isSetName() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NAME$2) != null;
}
}
/**
* Sets the "name" attribute
*/
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_attribute_user(NAME$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring name) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring)get_store().find_attribute_user(NAME$2);
if (target == null) {
target = (org.openxmlformats.schemas.officeDocument.x2006.sharedTypes.STXstring)get_store().add_attribute_user(NAME$2);
}
target.set(name);
}
}
/**
* Unsets the "name" attribute
*/
public void unsetName() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NAME$2);
}
}
/**
* Gets the "xfId" attribute
*/
public long getXfId() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(XFID$4);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "xfId" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId xgetXfId() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId)get_store().find_attribute_user(XFID$4);
return target;
}
}
/**
* Sets the "xfId" attribute
*/
public void setXfId(long xfId) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(XFID$4);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(XFID$4);
}
target.setLongValue(xfId);
}
}
/**
* Sets (as xml) the "xfId" attribute
*/
public void xsetXfId(org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId xfId) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId)get_store().find_attribute_user(XFID$4);
if (target == null) {
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STCellStyleXfId)get_store().add_attribute_user(XFID$4);
}
target.set(xfId);
}
}
/**
* Gets the "builtinId" attribute
*/
public long getBuiltinId() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BUILTINID$6);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "builtinId" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetBuiltinId() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(BUILTINID$6);
return target;
}
}
/**
* True if has "builtinId" attribute
*/
public boolean isSetBuiltinId() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(BUILTINID$6) != null;
}
}
/**
* Sets the "builtinId" attribute
*/
public void setBuiltinId(long builtinId) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BUILTINID$6);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(BUILTINID$6);
}
target.setLongValue(builtinId);
}
}
/**
* Sets (as xml) the "builtinId" attribute
*/
public void xsetBuiltinId(org.apache.xmlbeans.XmlUnsignedInt builtinId) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(BUILTINID$6);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(BUILTINID$6);
}
target.set(builtinId);
}
}
/**
* Unsets the "builtinId" attribute
*/
public void unsetBuiltinId() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(BUILTINID$6);
}
}
/**
* Gets the "iLevel" attribute
*/
public long getILevel() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ILEVEL$8);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "iLevel" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetILevel() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ILEVEL$8);
return target;
}
}
/**
* True if has "iLevel" attribute
*/
public boolean isSetILevel() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ILEVEL$8) != null;
}
}
/**
* Sets the "iLevel" attribute
*/
public void setILevel(long iLevel) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ILEVEL$8);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ILEVEL$8);
}
target.setLongValue(iLevel);
}
}
/**
* Sets (as xml) the "iLevel" attribute
*/
public void xsetILevel(org.apache.xmlbeans.XmlUnsignedInt iLevel) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ILEVEL$8);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ILEVEL$8);
}
target.set(iLevel);
}
}
/**
* Unsets the "iLevel" attribute
*/
public void unsetILevel() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ILEVEL$8);
}
}
/**
* Gets the "hidden" attribute
*/
public boolean getHidden() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HIDDEN$10);
if (target == null) {
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "hidden" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetHidden() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(HIDDEN$10);
return target;
}
}
/**
* True if has "hidden" attribute
*/
public boolean isSetHidden() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(HIDDEN$10) != null;
}
}
/**
* Sets the "hidden" attribute
*/
public void setHidden(boolean hidden) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HIDDEN$10);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HIDDEN$10);
}
target.setBooleanValue(hidden);
}
}
/**
* Sets (as xml) the "hidden" attribute
*/
public void xsetHidden(org.apache.xmlbeans.XmlBoolean hidden) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(HIDDEN$10);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(HIDDEN$10);
}
target.set(hidden);
}
}
/**
* Unsets the "hidden" attribute
*/
public void unsetHidden() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(HIDDEN$10);
}
}
/**
* Gets the "customBuiltin" attribute
*/
public boolean getCustomBuiltin() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CUSTOMBUILTIN$12);
if (target == null) {
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "customBuiltin" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetCustomBuiltin() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(CUSTOMBUILTIN$12);
return target;
}
}
/**
* True if has "customBuiltin" attribute
*/
public boolean isSetCustomBuiltin() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(CUSTOMBUILTIN$12) != null;
}
}
/**
* Sets the "customBuiltin" attribute
*/
public void setCustomBuiltin(boolean customBuiltin) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CUSTOMBUILTIN$12);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CUSTOMBUILTIN$12);
}
target.setBooleanValue(customBuiltin);
}
}
/**
* Sets (as xml) the "customBuiltin" attribute
*/
public void xsetCustomBuiltin(org.apache.xmlbeans.XmlBoolean customBuiltin) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(CUSTOMBUILTIN$12);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(CUSTOMBUILTIN$12);
}
target.set(customBuiltin);
}
}
/**
* Unsets the "customBuiltin" attribute
*/
public void unsetCustomBuiltin() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CUSTOMBUILTIN$12);
}
}
}