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

com.microsoft.schemas.office.visio.x2012.main.impl.ForeignDataTypeImpl Maven / Gradle / Ivy

/*
 * XML Type:  ForeignData_Type
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.ForeignDataType
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
 * An XML ForeignData_Type(@http://schemas.microsoft.com/office/visio/2012/main).
 *
 * This is a complex type.
 */
public class ForeignDataTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.ForeignDataType {
    private static final long serialVersionUID = 1L;
    
    public ForeignDataTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName REL$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/office/visio/2012/main", "Rel");
    private static final javax.xml.namespace.QName FOREIGNTYPE$2 = 
        new javax.xml.namespace.QName("", "ForeignType");
    private static final javax.xml.namespace.QName OBJECTTYPE$4 = 
        new javax.xml.namespace.QName("", "ObjectType");
    private static final javax.xml.namespace.QName SHOWASICON$6 = 
        new javax.xml.namespace.QName("", "ShowAsIcon");
    private static final javax.xml.namespace.QName OBJECTWIDTH$8 = 
        new javax.xml.namespace.QName("", "ObjectWidth");
    private static final javax.xml.namespace.QName OBJECTHEIGHT$10 = 
        new javax.xml.namespace.QName("", "ObjectHeight");
    private static final javax.xml.namespace.QName MAPPINGMODE$12 = 
        new javax.xml.namespace.QName("", "MappingMode");
    private static final javax.xml.namespace.QName EXTENTX$14 = 
        new javax.xml.namespace.QName("", "ExtentX");
    private static final javax.xml.namespace.QName EXTENTY$16 = 
        new javax.xml.namespace.QName("", "ExtentY");
    private static final javax.xml.namespace.QName COMPRESSIONTYPE$18 = 
        new javax.xml.namespace.QName("", "CompressionType");
    private static final javax.xml.namespace.QName COMPRESSIONLEVEL$20 = 
        new javax.xml.namespace.QName("", "CompressionLevel");
    
    
    /**
     * Gets the "Rel" element
     */
    public com.microsoft.schemas.office.visio.x2012.main.RelType getRel() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.visio.x2012.main.RelType target = null;
            target = (com.microsoft.schemas.office.visio.x2012.main.RelType)get_store().find_element_user(REL$0, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Rel" element
     */
    public void setRel(com.microsoft.schemas.office.visio.x2012.main.RelType rel) {
        generatedSetterHelperImpl(rel, REL$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "Rel" element
     */
    public com.microsoft.schemas.office.visio.x2012.main.RelType addNewRel() {
        synchronized (monitor())
        {
            check_orphaned();
            com.microsoft.schemas.office.visio.x2012.main.RelType target = null;
            target = (com.microsoft.schemas.office.visio.x2012.main.RelType)get_store().add_element_user(REL$0);
            return target;
        }
    }
    
    /**
     * Gets the "ForeignType" attribute
     */
    public java.lang.String getForeignType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FOREIGNTYPE$2);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ForeignType" attribute
     */
    public org.apache.xmlbeans.XmlToken xgetForeignType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(FOREIGNTYPE$2);
            return target;
        }
    }
    
    /**
     * Sets the "ForeignType" attribute
     */
    public void setForeignType(java.lang.String foreignType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FOREIGNTYPE$2);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FOREIGNTYPE$2);
            }
            target.setStringValue(foreignType);
        }
    }
    
    /**
     * Sets (as xml) the "ForeignType" attribute
     */
    public void xsetForeignType(org.apache.xmlbeans.XmlToken foreignType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(FOREIGNTYPE$2);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(FOREIGNTYPE$2);
            }
            target.set(foreignType);
        }
    }
    
    /**
     * Gets the "ObjectType" attribute
     */
    public long getObjectType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTTYPE$4);
            if (target == null) {
                return 0L;
            }
            return target.getLongValue();
        }
    }
    
    /**
     * Gets (as xml) the "ObjectType" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedInt xgetObjectType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(OBJECTTYPE$4);
            return target;
        }
    }
    
    /**
     * True if has "ObjectType" attribute
     */
    public boolean isSetObjectType() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OBJECTTYPE$4) != null;
        }
    }
    
    /**
     * Sets the "ObjectType" attribute
     */
    public void setObjectType(long objectType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTTYPE$4);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBJECTTYPE$4);
            }
            target.setLongValue(objectType);
        }
    }
    
    /**
     * Sets (as xml) the "ObjectType" attribute
     */
    public void xsetObjectType(org.apache.xmlbeans.XmlUnsignedInt objectType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(OBJECTTYPE$4);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(OBJECTTYPE$4);
            }
            target.set(objectType);
        }
    }
    
    /**
     * Unsets the "ObjectType" attribute
     */
    public void unsetObjectType() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OBJECTTYPE$4);
        }
    }
    
    /**
     * Gets the "ShowAsIcon" attribute
     */
    public boolean getShowAsIcon() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWASICON$6);
            if (target == null) {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "ShowAsIcon" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetShowAsIcon() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWASICON$6);
            return target;
        }
    }
    
    /**
     * True if has "ShowAsIcon" attribute
     */
    public boolean isSetShowAsIcon() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SHOWASICON$6) != null;
        }
    }
    
    /**
     * Sets the "ShowAsIcon" attribute
     */
    public void setShowAsIcon(boolean showAsIcon) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHOWASICON$6);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHOWASICON$6);
            }
            target.setBooleanValue(showAsIcon);
        }
    }
    
    /**
     * Sets (as xml) the "ShowAsIcon" attribute
     */
    public void xsetShowAsIcon(org.apache.xmlbeans.XmlBoolean showAsIcon) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(SHOWASICON$6);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(SHOWASICON$6);
            }
            target.set(showAsIcon);
        }
    }
    
    /**
     * Unsets the "ShowAsIcon" attribute
     */
    public void unsetShowAsIcon() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SHOWASICON$6);
        }
    }
    
    /**
     * Gets the "ObjectWidth" attribute
     */
    public double getObjectWidth() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTWIDTH$8);
            if (target == null) {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "ObjectWidth" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetObjectWidth() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(OBJECTWIDTH$8);
            return target;
        }
    }
    
    /**
     * True if has "ObjectWidth" attribute
     */
    public boolean isSetObjectWidth() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OBJECTWIDTH$8) != null;
        }
    }
    
    /**
     * Sets the "ObjectWidth" attribute
     */
    public void setObjectWidth(double objectWidth) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTWIDTH$8);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBJECTWIDTH$8);
            }
            target.setDoubleValue(objectWidth);
        }
    }
    
    /**
     * Sets (as xml) the "ObjectWidth" attribute
     */
    public void xsetObjectWidth(org.apache.xmlbeans.XmlDouble objectWidth) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(OBJECTWIDTH$8);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(OBJECTWIDTH$8);
            }
            target.set(objectWidth);
        }
    }
    
    /**
     * Unsets the "ObjectWidth" attribute
     */
    public void unsetObjectWidth() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OBJECTWIDTH$8);
        }
    }
    
    /**
     * Gets the "ObjectHeight" attribute
     */
    public double getObjectHeight() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTHEIGHT$10);
            if (target == null) {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "ObjectHeight" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetObjectHeight() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(OBJECTHEIGHT$10);
            return target;
        }
    }
    
    /**
     * True if has "ObjectHeight" attribute
     */
    public boolean isSetObjectHeight() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OBJECTHEIGHT$10) != null;
        }
    }
    
    /**
     * Sets the "ObjectHeight" attribute
     */
    public void setObjectHeight(double objectHeight) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTHEIGHT$10);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBJECTHEIGHT$10);
            }
            target.setDoubleValue(objectHeight);
        }
    }
    
    /**
     * Sets (as xml) the "ObjectHeight" attribute
     */
    public void xsetObjectHeight(org.apache.xmlbeans.XmlDouble objectHeight) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(OBJECTHEIGHT$10);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(OBJECTHEIGHT$10);
            }
            target.set(objectHeight);
        }
    }
    
    /**
     * Unsets the "ObjectHeight" attribute
     */
    public void unsetObjectHeight() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OBJECTHEIGHT$10);
        }
    }
    
    /**
     * Gets the "MappingMode" attribute
     */
    public int getMappingMode() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAPPINGMODE$12);
            if (target == null) {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "MappingMode" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedShort xgetMappingMode() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedShort target = null;
            target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_attribute_user(MAPPINGMODE$12);
            return target;
        }
    }
    
    /**
     * True if has "MappingMode" attribute
     */
    public boolean isSetMappingMode() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(MAPPINGMODE$12) != null;
        }
    }
    
    /**
     * Sets the "MappingMode" attribute
     */
    public void setMappingMode(int mappingMode) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAPPINGMODE$12);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MAPPINGMODE$12);
            }
            target.setIntValue(mappingMode);
        }
    }
    
    /**
     * Sets (as xml) the "MappingMode" attribute
     */
    public void xsetMappingMode(org.apache.xmlbeans.XmlUnsignedShort mappingMode) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedShort target = null;
            target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_attribute_user(MAPPINGMODE$12);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().add_attribute_user(MAPPINGMODE$12);
            }
            target.set(mappingMode);
        }
    }
    
    /**
     * Unsets the "MappingMode" attribute
     */
    public void unsetMappingMode() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(MAPPINGMODE$12);
        }
    }
    
    /**
     * Gets the "ExtentX" attribute
     */
    public double getExtentX() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENTX$14);
            if (target == null) {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "ExtentX" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetExtentX() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(EXTENTX$14);
            return target;
        }
    }
    
    /**
     * True if has "ExtentX" attribute
     */
    public boolean isSetExtentX() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(EXTENTX$14) != null;
        }
    }
    
    /**
     * Sets the "ExtentX" attribute
     */
    public void setExtentX(double extentX) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENTX$14);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXTENTX$14);
            }
            target.setDoubleValue(extentX);
        }
    }
    
    /**
     * Sets (as xml) the "ExtentX" attribute
     */
    public void xsetExtentX(org.apache.xmlbeans.XmlDouble extentX) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(EXTENTX$14);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(EXTENTX$14);
            }
            target.set(extentX);
        }
    }
    
    /**
     * Unsets the "ExtentX" attribute
     */
    public void unsetExtentX() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(EXTENTX$14);
        }
    }
    
    /**
     * Gets the "ExtentY" attribute
     */
    public double getExtentY() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENTY$16);
            if (target == null) {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "ExtentY" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetExtentY() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(EXTENTY$16);
            return target;
        }
    }
    
    /**
     * True if has "ExtentY" attribute
     */
    public boolean isSetExtentY() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(EXTENTY$16) != null;
        }
    }
    
    /**
     * Sets the "ExtentY" attribute
     */
    public void setExtentY(double extentY) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXTENTY$16);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXTENTY$16);
            }
            target.setDoubleValue(extentY);
        }
    }
    
    /**
     * Sets (as xml) the "ExtentY" attribute
     */
    public void xsetExtentY(org.apache.xmlbeans.XmlDouble extentY) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(EXTENTY$16);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(EXTENTY$16);
            }
            target.set(extentY);
        }
    }
    
    /**
     * Unsets the "ExtentY" attribute
     */
    public void unsetExtentY() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(EXTENTY$16);
        }
    }
    
    /**
     * Gets the "CompressionType" attribute
     */
    public java.lang.String getCompressionType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMPRESSIONTYPE$18);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "CompressionType" attribute
     */
    public org.apache.xmlbeans.XmlToken xgetCompressionType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(COMPRESSIONTYPE$18);
            return target;
        }
    }
    
    /**
     * True if has "CompressionType" attribute
     */
    public boolean isSetCompressionType() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(COMPRESSIONTYPE$18) != null;
        }
    }
    
    /**
     * Sets the "CompressionType" attribute
     */
    public void setCompressionType(java.lang.String compressionType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMPRESSIONTYPE$18);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COMPRESSIONTYPE$18);
            }
            target.setStringValue(compressionType);
        }
    }
    
    /**
     * Sets (as xml) the "CompressionType" attribute
     */
    public void xsetCompressionType(org.apache.xmlbeans.XmlToken compressionType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(COMPRESSIONTYPE$18);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(COMPRESSIONTYPE$18);
            }
            target.set(compressionType);
        }
    }
    
    /**
     * Unsets the "CompressionType" attribute
     */
    public void unsetCompressionType() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(COMPRESSIONTYPE$18);
        }
    }
    
    /**
     * Gets the "CompressionLevel" attribute
     */
    public double getCompressionLevel() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMPRESSIONLEVEL$20);
            if (target == null) {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "CompressionLevel" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetCompressionLevel() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(COMPRESSIONLEVEL$20);
            return target;
        }
    }
    
    /**
     * True if has "CompressionLevel" attribute
     */
    public boolean isSetCompressionLevel() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(COMPRESSIONLEVEL$20) != null;
        }
    }
    
    /**
     * Sets the "CompressionLevel" attribute
     */
    public void setCompressionLevel(double compressionLevel) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMPRESSIONLEVEL$20);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COMPRESSIONLEVEL$20);
            }
            target.setDoubleValue(compressionLevel);
        }
    }
    
    /**
     * Sets (as xml) the "CompressionLevel" attribute
     */
    public void xsetCompressionLevel(org.apache.xmlbeans.XmlDouble compressionLevel) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(COMPRESSIONLEVEL$20);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(COMPRESSIONLEVEL$20);
            }
            target.set(compressionLevel);
        }
    }
    
    /**
     * Unsets the "CompressionLevel" attribute
     */
    public void unsetCompressionLevel() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(COMPRESSIONLEVEL$20);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy