/* * XML Type: CT_AlphaReplaceEffect * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTAlphaReplaceEffect * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.drawingml.x2006.main.impl; /** * An XML CT_AlphaReplaceEffect(@http://schemas.openxmlformats.org/drawingml/2006/main). * * This is a complex type. */ public class CTAlphaReplaceEffectImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTAlphaReplaceEffect { public CTAlphaReplaceEffectImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName A$0 = new javax.xml.namespace.QName("", "a"); /** * Gets the "a" attribute */ public int getA() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(A$0); if (target == null) { return 0; } return target.getIntValue(); } } /** * Gets (as xml) the "a" attribute */ public org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage xgetA() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage)get_store().find_attribute_user(A$0); return target; } } /** * Sets the "a" attribute */ public void setA(int a) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(A$0); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(A$0); } target.setIntValue(a); } } /** * Sets (as xml) the "a" attribute */ public void xsetA(org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage a) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage)get_store().find_attribute_user(A$0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveFixedPercentage)get_store().add_attribute_user(A$0); } target.set(a); } } }