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

com.microsoft.schemas.office.visio.x2012.main.impl.StyleSheetTypeImpl 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:  StyleSheet_Type
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.StyleSheetType
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
 * An XML StyleSheet_Type(@http://schemas.microsoft.com/office/visio/2012/main).
 *
 * This is a complex type.
 */
public class StyleSheetTypeImpl extends com.microsoft.schemas.office.visio.x2012.main.impl.SheetTypeImpl implements com.microsoft.schemas.office.visio.x2012.main.StyleSheetType
{
    
    public StyleSheetTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ID$0 = 
        new javax.xml.namespace.QName("", "ID");
    private static final javax.xml.namespace.QName NAME$2 = 
        new javax.xml.namespace.QName("", "Name");
    private static final javax.xml.namespace.QName NAMEU$4 = 
        new javax.xml.namespace.QName("", "NameU");
    private static final javax.xml.namespace.QName ISCUSTOMNAME$6 = 
        new javax.xml.namespace.QName("", "IsCustomName");
    private static final javax.xml.namespace.QName ISCUSTOMNAMEU$8 = 
        new javax.xml.namespace.QName("", "IsCustomNameU");
    
    
    /**
     * Gets the "ID" attribute
     */
    public long getID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
            if (target == null)
            {
                return 0L;
            }
            return target.getLongValue();
        }
    }
    
    /**
     * Gets (as xml) the "ID" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedInt xgetID()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$0);
            return target;
        }
    }
    
    /**
     * Sets the "ID" attribute
     */
    public void setID(long id)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$0);
            }
            target.setLongValue(id);
        }
    }
    
    /**
     * Sets (as xml) the "ID" attribute
     */
    public void xsetID(org.apache.xmlbeans.XmlUnsignedInt id)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ID$0);
            }
            target.set(id);
        }
    }
    
    /**
     * Gets the "Name" attribute
     */
    public java.lang.String getName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "Name" attribute
     */
    public org.apache.xmlbeans.XmlString xgetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$2);
            return target;
        }
    }
    
    /**
     * True if has "Name" attribute
     */
    public boolean isSetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(NAME$2) != null;
        }
    }
    
    /**
     * Sets the "Name" attribute
     */
    public void setName(java.lang.String name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);
            }
            target.setStringValue(name);
        }
    }
    
    /**
     * Sets (as xml) the "Name" attribute
     */
    public void xsetName(org.apache.xmlbeans.XmlString name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$2);
            }
            target.set(name);
        }
    }
    
    /**
     * Unsets the "Name" attribute
     */
    public void unsetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(NAME$2);
        }
    }
    
    /**
     * Gets the "NameU" attribute
     */
    public java.lang.String getNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAMEU$4);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "NameU" attribute
     */
    public org.apache.xmlbeans.XmlString xgetNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAMEU$4);
            return target;
        }
    }
    
    /**
     * True if has "NameU" attribute
     */
    public boolean isSetNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(NAMEU$4) != null;
        }
    }
    
    /**
     * Sets the "NameU" attribute
     */
    public void setNameU(java.lang.String nameU)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAMEU$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAMEU$4);
            }
            target.setStringValue(nameU);
        }
    }
    
    /**
     * Sets (as xml) the "NameU" attribute
     */
    public void xsetNameU(org.apache.xmlbeans.XmlString nameU)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAMEU$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAMEU$4);
            }
            target.set(nameU);
        }
    }
    
    /**
     * Unsets the "NameU" attribute
     */
    public void unsetNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(NAMEU$4);
        }
    }
    
    /**
     * Gets the "IsCustomName" attribute
     */
    public boolean getIsCustomName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISCUSTOMNAME$6);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "IsCustomName" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetIsCustomName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISCUSTOMNAME$6);
            return target;
        }
    }
    
    /**
     * True if has "IsCustomName" attribute
     */
    public boolean isSetIsCustomName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ISCUSTOMNAME$6) != null;
        }
    }
    
    /**
     * Sets the "IsCustomName" attribute
     */
    public void setIsCustomName(boolean isCustomName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISCUSTOMNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISCUSTOMNAME$6);
            }
            target.setBooleanValue(isCustomName);
        }
    }
    
    /**
     * Sets (as xml) the "IsCustomName" attribute
     */
    public void xsetIsCustomName(org.apache.xmlbeans.XmlBoolean isCustomName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISCUSTOMNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ISCUSTOMNAME$6);
            }
            target.set(isCustomName);
        }
    }
    
    /**
     * Unsets the "IsCustomName" attribute
     */
    public void unsetIsCustomName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ISCUSTOMNAME$6);
        }
    }
    
    /**
     * Gets the "IsCustomNameU" attribute
     */
    public boolean getIsCustomNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISCUSTOMNAMEU$8);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "IsCustomNameU" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetIsCustomNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISCUSTOMNAMEU$8);
            return target;
        }
    }
    
    /**
     * True if has "IsCustomNameU" attribute
     */
    public boolean isSetIsCustomNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ISCUSTOMNAMEU$8) != null;
        }
    }
    
    /**
     * Sets the "IsCustomNameU" attribute
     */
    public void setIsCustomNameU(boolean isCustomNameU)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISCUSTOMNAMEU$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISCUSTOMNAMEU$8);
            }
            target.setBooleanValue(isCustomNameU);
        }
    }
    
    /**
     * Sets (as xml) the "IsCustomNameU" attribute
     */
    public void xsetIsCustomNameU(org.apache.xmlbeans.XmlBoolean isCustomNameU)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISCUSTOMNAMEU$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ISCUSTOMNAMEU$8);
            }
            target.set(isCustomNameU);
        }
    }
    
    /**
     * Unsets the "IsCustomNameU" attribute
     */
    public void unsetIsCustomNameU()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ISCUSTOMNAMEU$8);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy