All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxmlformats.schemas.drawingml.x2006.main.impl.CTRelativeOffsetEffectImpl 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

There is a newer version: 1.4
Show newest version
/*
 * XML Type:  CT_RelativeOffsetEffect
 * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
 * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTRelativeOffsetEffect
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
 * An XML CT_RelativeOffsetEffect(@http://schemas.openxmlformats.org/drawingml/2006/main).
 *
 * This is a complex type.
 */
public class CTRelativeOffsetEffectImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTRelativeOffsetEffect
{
    
    public CTRelativeOffsetEffectImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TX$0 = 
        new javax.xml.namespace.QName("", "tx");
    private static final javax.xml.namespace.QName TY$2 = 
        new javax.xml.namespace.QName("", "ty");
    
    
    /**
     * Gets the "tx" attribute
     */
    public int getTx()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TX$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(TX$0);
            }
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "tx" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.STPercentage xgetTx()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(TX$0);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_default_attribute_value(TX$0);
            }
            return target;
        }
    }
    
    /**
     * True if has "tx" attribute
     */
    public boolean isSetTx()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(TX$0) != null;
        }
    }
    
    /**
     * Sets the "tx" attribute
     */
    public void setTx(int tx)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TX$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TX$0);
            }
            target.setIntValue(tx);
        }
    }
    
    /**
     * Sets (as xml) the "tx" attribute
     */
    public void xsetTx(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage tx)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(TX$0);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().add_attribute_user(TX$0);
            }
            target.set(tx);
        }
    }
    
    /**
     * Unsets the "tx" attribute
     */
    public void unsetTx()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(TX$0);
        }
    }
    
    /**
     * Gets the "ty" attribute
     */
    public int getTy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TY$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(TY$2);
            }
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "ty" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.STPercentage xgetTy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(TY$2);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_default_attribute_value(TY$2);
            }
            return target;
        }
    }
    
    /**
     * True if has "ty" attribute
     */
    public boolean isSetTy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(TY$2) != null;
        }
    }
    
    /**
     * Sets the "ty" attribute
     */
    public void setTy(int ty)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TY$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TY$2);
            }
            target.setIntValue(ty);
        }
    }
    
    /**
     * Sets (as xml) the "ty" attribute
     */
    public void xsetTy(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage ty)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(TY$2);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().add_attribute_user(TY$2);
            }
            target.set(ty);
        }
    }
    
    /**
     * Unsets the "ty" attribute
     */
    public void unsetTy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(TY$2);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy