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

io.github.isotes.vs.model.impl.MakeAppxPackDocumentImpl Maven / Gradle / Ivy

Go to download

Generated XMLBeans Java classes for the XML schema of MSBuild project files

The newest version!
/*
 * An XML document type.
 * Localname: MakeAppxPack
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.MakeAppxPackDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one MakeAppxPack(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class MakeAppxPackDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.MakeAppxPackDocument
{
    private static final long serialVersionUID = 1L;
    
    public MakeAppxPackDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName MAKEAPPXPACK$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "MakeAppxPack");
    
    
    /**
     * Gets the "MakeAppxPack" element
     */
    public io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack getMakeAppxPack()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack target = null;
            target = (io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack)get_store().find_element_user(MAKEAPPXPACK$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "MakeAppxPack" element
     */
    public void setMakeAppxPack(io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack makeAppxPack)
    {
        generatedSetterHelperImpl(makeAppxPack, MAKEAPPXPACK$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "MakeAppxPack" element
     */
    public io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack addNewMakeAppxPack()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack target = null;
            target = (io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack)get_store().add_element_user(MAKEAPPXPACK$0);
            return target;
        }
    }
    /**
     * An XML MakeAppxPack(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class MakeAppxPackImpl extends io.github.isotes.vs.model.impl.MakeAppxWithOutputTypeImpl implements io.github.isotes.vs.model.MakeAppxPackDocument.MakeAppxPack
    {
        private static final long serialVersionUID = 1L;
        
        public MakeAppxPackImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName RESOURCEPACK$0 = 
            new javax.xml.namespace.QName("", "ResourcePack");
        private static final javax.xml.namespace.QName VALIDATERESOURCESREFERENCEDBYMANIFEST$2 = 
            new javax.xml.namespace.QName("", "ValidateResourcesReferencedByManifest");
        private static final javax.xml.namespace.QName HASHALGORITHMID$4 = 
            new javax.xml.namespace.QName("", "HashAlgorithmId");
        private static final javax.xml.namespace.QName APPXMANIFEST$6 = 
            new javax.xml.namespace.QName("", "AppxManifest");
        private static final javax.xml.namespace.QName FILEMAP$8 = 
            new javax.xml.namespace.QName("", "FileMap");
        
        
        /**
         * Gets the "ResourcePack" attribute
         */
        public java.lang.String getResourcePack()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOURCEPACK$0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "ResourcePack" attribute
         */
        public io.github.isotes.vs.model.Boolean xgetResourcePack()
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(RESOURCEPACK$0);
                return target;
            }
        }
        
        /**
         * True if has "ResourcePack" attribute
         */
        public boolean isSetResourcePack()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(RESOURCEPACK$0) != null;
            }
        }
        
        /**
         * Sets the "ResourcePack" attribute
         */
        public void setResourcePack(java.lang.String resourcePack)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOURCEPACK$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RESOURCEPACK$0);
                }
                target.setStringValue(resourcePack);
            }
        }
        
        /**
         * Sets (as xml) the "ResourcePack" attribute
         */
        public void xsetResourcePack(io.github.isotes.vs.model.Boolean resourcePack)
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(RESOURCEPACK$0);
                if (target == null)
                {
                    target = (io.github.isotes.vs.model.Boolean)get_store().add_attribute_user(RESOURCEPACK$0);
                }
                target.set(resourcePack);
            }
        }
        
        /**
         * Unsets the "ResourcePack" attribute
         */
        public void unsetResourcePack()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(RESOURCEPACK$0);
            }
        }
        
        /**
         * Gets the "ValidateResourcesReferencedByManifest" attribute
         */
        public java.lang.String getValidateResourcesReferencedByManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "ValidateResourcesReferencedByManifest" attribute
         */
        public io.github.isotes.vs.model.Boolean xgetValidateResourcesReferencedByManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
                return target;
            }
        }
        
        /**
         * True if has "ValidateResourcesReferencedByManifest" attribute
         */
        public boolean isSetValidateResourcesReferencedByManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2) != null;
            }
        }
        
        /**
         * Sets the "ValidateResourcesReferencedByManifest" attribute
         */
        public void setValidateResourcesReferencedByManifest(java.lang.String validateResourcesReferencedByManifest)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
                }
                target.setStringValue(validateResourcesReferencedByManifest);
            }
        }
        
        /**
         * Sets (as xml) the "ValidateResourcesReferencedByManifest" attribute
         */
        public void xsetValidateResourcesReferencedByManifest(io.github.isotes.vs.model.Boolean validateResourcesReferencedByManifest)
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
                if (target == null)
                {
                    target = (io.github.isotes.vs.model.Boolean)get_store().add_attribute_user(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
                }
                target.set(validateResourcesReferencedByManifest);
            }
        }
        
        /**
         * Unsets the "ValidateResourcesReferencedByManifest" attribute
         */
        public void unsetValidateResourcesReferencedByManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(VALIDATERESOURCESREFERENCEDBYMANIFEST$2);
            }
        }
        
        /**
         * Gets the "HashAlgorithmId" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getHashAlgorithmId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HASHALGORITHMID$4);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "HashAlgorithmId" attribute
         */
        public void setHashAlgorithmId(org.apache.xmlbeans.XmlAnySimpleType hashAlgorithmId)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HASHALGORITHMID$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HASHALGORITHMID$4);
                }
                target.set(hashAlgorithmId);
            }
        }
        
        /**
         * Appends and returns a new empty "HashAlgorithmId" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewHashAlgorithmId()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HASHALGORITHMID$4);
                return target;
            }
        }
        
        /**
         * Gets the "AppxManifest" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getAppxManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(APPXMANIFEST$6);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "AppxManifest" attribute
         */
        public boolean isSetAppxManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(APPXMANIFEST$6) != null;
            }
        }
        
        /**
         * Sets the "AppxManifest" attribute
         */
        public void setAppxManifest(org.apache.xmlbeans.XmlAnySimpleType appxManifest)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(APPXMANIFEST$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(APPXMANIFEST$6);
                }
                target.set(appxManifest);
            }
        }
        
        /**
         * Appends and returns a new empty "AppxManifest" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewAppxManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(APPXMANIFEST$6);
                return target;
            }
        }
        
        /**
         * Unsets the "AppxManifest" attribute
         */
        public void unsetAppxManifest()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(APPXMANIFEST$6);
            }
        }
        
        /**
         * Gets the "FileMap" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getFileMap()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FILEMAP$8);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "FileMap" attribute
         */
        public void setFileMap(org.apache.xmlbeans.XmlAnySimpleType fileMap)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FILEMAP$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILEMAP$8);
                }
                target.set(fileMap);
            }
        }
        
        /**
         * Appends and returns a new empty "FileMap" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewFileMap()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILEMAP$8);
                return target;
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy