org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTRevisionSheetRenameImpl 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_RevisionSheetRename
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRevisionSheetRename
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_RevisionSheetRename(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTRevisionSheetRenameImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRevisionSheetRename
{
public CTRevisionSheetRenameImpl(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 RID$2 =
new javax.xml.namespace.QName("", "rId");
private static final javax.xml.namespace.QName UA$4 =
new javax.xml.namespace.QName("", "ua");
private static final javax.xml.namespace.QName RA$6 =
new javax.xml.namespace.QName("", "ra");
private static final javax.xml.namespace.QName SHEETID$8 =
new javax.xml.namespace.QName("", "sheetId");
private static final javax.xml.namespace.QName OLDNAME$10 =
new javax.xml.namespace.QName("", "oldName");
private static final javax.xml.namespace.QName NEWNAME$12 =
new javax.xml.namespace.QName("", "newName");
/**
* 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)
{
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)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$0);
}
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$0);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$0, 0);
}
}
/**
* Gets the "rId" attribute
*/
public long getRId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RID$2);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "rId" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetRId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(RID$2);
return target;
}
}
/**
* Sets the "rId" attribute
*/
public void setRId(long rId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RID$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RID$2);
}
target.setLongValue(rId);
}
}
/**
* Sets (as xml) the "rId" attribute
*/
public void xsetRId(org.apache.xmlbeans.XmlUnsignedInt rId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(RID$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(RID$2);
}
target.set(rId);
}
}
/**
* Gets the "ua" attribute
*/
public boolean getUa()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UA$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(UA$4);
}
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "ua" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetUa()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(UA$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(UA$4);
}
return target;
}
}
/**
* True if has "ua" attribute
*/
public boolean isSetUa()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(UA$4) != null;
}
}
/**
* Sets the "ua" attribute
*/
public void setUa(boolean ua)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UA$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(UA$4);
}
target.setBooleanValue(ua);
}
}
/**
* Sets (as xml) the "ua" attribute
*/
public void xsetUa(org.apache.xmlbeans.XmlBoolean ua)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(UA$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(UA$4);
}
target.set(ua);
}
}
/**
* Unsets the "ua" attribute
*/
public void unsetUa()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(UA$4);
}
}
/**
* Gets the "ra" attribute
*/
public boolean getRa()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RA$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(RA$6);
}
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "ra" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetRa()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(RA$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(RA$6);
}
return target;
}
}
/**
* True if has "ra" attribute
*/
public boolean isSetRa()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(RA$6) != null;
}
}
/**
* Sets the "ra" attribute
*/
public void setRa(boolean ra)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RA$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RA$6);
}
target.setBooleanValue(ra);
}
}
/**
* Sets (as xml) the "ra" attribute
*/
public void xsetRa(org.apache.xmlbeans.XmlBoolean ra)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(RA$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(RA$6);
}
target.set(ra);
}
}
/**
* Unsets the "ra" attribute
*/
public void unsetRa()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(RA$6);
}
}
/**
* Gets the "sheetId" attribute
*/
public long getSheetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHEETID$8);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "sheetId" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetSheetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(SHEETID$8);
return target;
}
}
/**
* Sets the "sheetId" attribute
*/
public void setSheetId(long sheetId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHEETID$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHEETID$8);
}
target.setLongValue(sheetId);
}
}
/**
* Sets (as xml) the "sheetId" attribute
*/
public void xsetSheetId(org.apache.xmlbeans.XmlUnsignedInt sheetId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(SHEETID$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(SHEETID$8);
}
target.set(sheetId);
}
}
/**
* Gets the "oldName" attribute
*/
public java.lang.String getOldName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OLDNAME$10);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "oldName" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetOldName()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(OLDNAME$10);
return target;
}
}
/**
* Sets the "oldName" attribute
*/
public void setOldName(java.lang.String oldName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OLDNAME$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OLDNAME$10);
}
target.setStringValue(oldName);
}
}
/**
* Sets (as xml) the "oldName" attribute
*/
public void xsetOldName(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring oldName)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(OLDNAME$10);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(OLDNAME$10);
}
target.set(oldName);
}
}
/**
* Gets the "newName" attribute
*/
public java.lang.String getNewName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NEWNAME$12);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "newName" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetNewName()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(NEWNAME$12);
return target;
}
}
/**
* Sets the "newName" attribute
*/
public void setNewName(java.lang.String newName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NEWNAME$12);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NEWNAME$12);
}
target.setStringValue(newName);
}
}
/**
* Sets (as xml) the "newName" attribute
*/
public void xsetNewName(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring newName)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(NEWNAME$12);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(NEWNAME$12);
}
target.set(newName);
}
}
}