org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTMetadataStringIndexImpl 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_MetadataStringIndex
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTMetadataStringIndex
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_MetadataStringIndex(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTMetadataStringIndexImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTMetadataStringIndex
{
public CTMetadataStringIndexImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName X$0 =
new javax.xml.namespace.QName("", "x");
private static final javax.xml.namespace.QName S$2 =
new javax.xml.namespace.QName("", "s");
/**
* Gets the "x" attribute
*/
public long 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 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "x" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetX()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(X$0);
return target;
}
}
/**
* Sets the "x" attribute
*/
public void setX(long 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.setLongValue(x);
}
}
/**
* Sets (as xml) the "x" attribute
*/
public void xsetX(org.apache.xmlbeans.XmlUnsignedInt x)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(X$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(X$0);
}
target.set(x);
}
}
/**
* Gets the "s" attribute
*/
public boolean getS()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(S$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(S$2);
}
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "s" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetS()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(S$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(S$2);
}
return target;
}
}
/**
* True if has "s" attribute
*/
public boolean isSetS()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(S$2) != null;
}
}
/**
* Sets the "s" attribute
*/
public void setS(boolean s)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(S$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(S$2);
}
target.setBooleanValue(s);
}
}
/**
* Sets (as xml) the "s" attribute
*/
public void xsetS(org.apache.xmlbeans.XmlBoolean s)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(S$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(S$2);
}
target.set(s);
}
}
/**
* Unsets the "s" attribute
*/
public void unsetS()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(S$2);
}
}
}