org.openxmlformats.schemas.officeDocument.x2006.math.impl.CTUnSignedIntegerImpl Maven / Gradle / Ivy
/*
* XML Type: CT_UnSignedInteger
* Namespace: http://schemas.openxmlformats.org/officeDocument/2006/math
* Java type: org.openxmlformats.schemas.officeDocument.x2006.math.CTUnSignedInteger
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.officeDocument.x2006.math.impl;
/**
* An XML CT_UnSignedInteger(@http://schemas.openxmlformats.org/officeDocument/2006/math).
*
* This is a complex type.
*/
public class CTUnSignedIntegerImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.officeDocument.x2006.math.CTUnSignedInteger
{
public CTUnSignedIntegerImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VAL$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/math", "val");
/**
* Gets the "val" attribute
*/
public long getVal()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VAL$0);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "val" attribute
*/
public org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger xgetVal()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger)get_store().find_attribute_user(VAL$0);
return target;
}
}
/**
* Sets the "val" attribute
*/
public void setVal(long val)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VAL$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VAL$0);
}
target.setLongValue(val);
}
}
/**
* Sets (as xml) the "val" attribute
*/
public void xsetVal(org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger val)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger)get_store().find_attribute_user(VAL$0);
if (target == null)
{
target = (org.openxmlformats.schemas.officeDocument.x2006.math.STUnSignedInteger)get_store().add_attribute_user(VAL$0);
}
target.set(val);
}
}
}