org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTRevisionQueryTableFieldImpl 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_RevisionQueryTableField
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRevisionQueryTableField
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_RevisionQueryTableField(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTRevisionQueryTableFieldImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTRevisionQueryTableField
{
public CTRevisionQueryTableFieldImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SHEETID$0 =
new javax.xml.namespace.QName("", "sheetId");
private static final javax.xml.namespace.QName REF$2 =
new javax.xml.namespace.QName("", "ref");
private static final javax.xml.namespace.QName FIELDID$4 =
new javax.xml.namespace.QName("", "fieldId");
/**
* 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$0);
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$0);
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$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHEETID$0);
}
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$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(SHEETID$0);
}
target.set(sheetId);
}
}
/**
* Gets the "ref" attribute
*/
public java.lang.String getRef()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ref" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef xgetRef()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef)get_store().find_attribute_user(REF$2);
return target;
}
}
/**
* Sets the "ref" attribute
*/
public void setRef(java.lang.String ref)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REF$2);
}
target.setStringValue(ref);
}
}
/**
* Sets (as xml) the "ref" attribute
*/
public void xsetRef(org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef ref)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef)get_store().find_attribute_user(REF$2);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef)get_store().add_attribute_user(REF$2);
}
target.set(ref);
}
}
/**
* Gets the "fieldId" attribute
*/
public long getFieldId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FIELDID$4);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "fieldId" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetFieldId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(FIELDID$4);
return target;
}
}
/**
* Sets the "fieldId" attribute
*/
public void setFieldId(long fieldId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FIELDID$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FIELDID$4);
}
target.setLongValue(fieldId);
}
}
/**
* Sets (as xml) the "fieldId" attribute
*/
public void xsetFieldId(org.apache.xmlbeans.XmlUnsignedInt fieldId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(FIELDID$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(FIELDID$4);
}
target.set(fieldId);
}
}
}