org.openxmlformats.schemas.drawingml.x2006.main.impl.CTAnimationDgmBuildPropertiesImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_AnimationDgmBuildProperties
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTAnimationDgmBuildProperties
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
/**
* An XML CT_AnimationDgmBuildProperties(@http://schemas.openxmlformats.org/drawingml/2006/main).
*
* This is a complex type.
*/
public class CTAnimationDgmBuildPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTAnimationDgmBuildProperties {
private static final long serialVersionUID = 1L;
public CTAnimationDgmBuildPropertiesImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("", "bld"),
new QName("", "rev"),
};
/**
* Gets the "bld" attribute
*/
@Override
public java.lang.String getBld() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(PROPERTY_QNAME[0]);
}
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "bld" attribute
*/
@Override
public org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType xgetBld() {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType)get_default_attribute_value(PROPERTY_QNAME[0]);
}
return target;
}
}
/**
* True if has "bld" attribute
*/
@Override
public boolean isSetBld() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[0]) != null;
}
}
/**
* Sets the "bld" attribute
*/
@Override
public void setBld(java.lang.String bld) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.setStringValue(bld);
}
}
/**
* Sets (as xml) the "bld" attribute
*/
@Override
public void xsetBld(org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType bld) {
synchronized (monitor()) {
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STAnimationDgmBuildType)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.set(bld);
}
}
/**
* Unsets the "bld" attribute
*/
@Override
public void unsetBld() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[0]);
}
}
/**
* Gets the "rev" attribute
*/
@Override
public boolean getRev() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(PROPERTY_QNAME[1]);
}
return (target == null) ? false : target.getBooleanValue();
}
}
/**
* Gets (as xml) the "rev" attribute
*/
@Override
public org.apache.xmlbeans.XmlBoolean xgetRev() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(PROPERTY_QNAME[1]);
}
return target;
}
}
/**
* True if has "rev" attribute
*/
@Override
public boolean isSetRev() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[1]) != null;
}
}
/**
* Sets the "rev" attribute
*/
@Override
public void setRev(boolean rev) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[1]);
}
target.setBooleanValue(rev);
}
}
/**
* Sets (as xml) the "rev" attribute
*/
@Override
public void xsetRev(org.apache.xmlbeans.XmlBoolean rev) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(PROPERTY_QNAME[1]);
}
target.set(rev);
}
}
/**
* Unsets the "rev" attribute
*/
@Override
public void unsetRev() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[1]);
}
}
}