org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTFieldUsageImpl 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_FieldUsage
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFieldUsage
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_FieldUsage(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTFieldUsageImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTFieldUsage
{
public CTFieldUsageImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName X$0 =
new javax.xml.namespace.QName("", "x");
/**
* Gets the "x" attribute
*/
public int getX()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(X$0);
if (target == null)
{
return 0;
}
return target.getIntValue();
}
}
/**
* Gets (as xml) the "x" attribute
*/
public org.apache.xmlbeans.XmlInt xgetX()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlInt target = null;
target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(X$0);
return target;
}
}
/**
* Sets the "x" attribute
*/
public void setX(int x)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(X$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(X$0);
}
target.setIntValue(x);
}
}
/**
* Sets (as xml) the "x" attribute
*/
public void xsetX(org.apache.xmlbeans.XmlInt x)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlInt target = null;
target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(X$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(X$0);
}
target.set(x);
}
}
}