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

io.github.isotes.vs.model.impl.AppxManifestDocumentImpl 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: AppxManifest
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.AppxManifestDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one AppxManifest(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class AppxManifestDocumentImpl extends io.github.isotes.vs.model.impl.ItemDocumentImpl implements io.github.isotes.vs.model.AppxManifestDocument
{
    private static final long serialVersionUID = 1L;
    
    public AppxManifestDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName APPXMANIFEST$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "AppxManifest");
    
    
    /**
     * Gets the "AppxManifest" element
     */
    public io.github.isotes.vs.model.AppxManifestDocument.AppxManifest getAppxManifest()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.AppxManifestDocument.AppxManifest target = null;
            target = (io.github.isotes.vs.model.AppxManifestDocument.AppxManifest)get_store().find_element_user(APPXMANIFEST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AppxManifest" element
     */
    public void setAppxManifest(io.github.isotes.vs.model.AppxManifestDocument.AppxManifest appxManifest)
    {
        generatedSetterHelperImpl(appxManifest, APPXMANIFEST$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "AppxManifest" element
     */
    public io.github.isotes.vs.model.AppxManifestDocument.AppxManifest addNewAppxManifest()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.AppxManifestDocument.AppxManifest target = null;
            target = (io.github.isotes.vs.model.AppxManifestDocument.AppxManifest)get_store().add_element_user(APPXMANIFEST$0);
            return target;
        }
    }
    /**
     * An XML AppxManifest(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class AppxManifestImpl extends io.github.isotes.vs.model.impl.SimpleItemTypeImpl implements io.github.isotes.vs.model.AppxManifestDocument.AppxManifest
    {
        private static final long serialVersionUID = 1L;
        
        public AppxManifestImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName DEPENDENTUPON$0 = 
            new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "DependentUpon");
        private static final javax.xml.namespace.QName LINK$2 = 
            new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Link");
        private static final javax.xml.namespace.QName SUBTYPE$4 = 
            new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "SubType");
        private static final javax.xml.namespace.QName VISIBLE$6 = 
            new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Visible");
        
        
        /**
         * Gets the "DependentUpon" element
         */
        public org.apache.xmlbeans.XmlObject getDependentUpon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(DEPENDENTUPON$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "DependentUpon" element
         */
        public boolean isSetDependentUpon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DEPENDENTUPON$0) != 0;
            }
        }
        
        /**
         * Sets the "DependentUpon" element
         */
        public void setDependentUpon(org.apache.xmlbeans.XmlObject dependentUpon)
        {
            generatedSetterHelperImpl(dependentUpon, DEPENDENTUPON$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "DependentUpon" element
         */
        public org.apache.xmlbeans.XmlObject addNewDependentUpon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(DEPENDENTUPON$0);
                return target;
            }
        }
        
        /**
         * Unsets the "DependentUpon" element
         */
        public void unsetDependentUpon()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DEPENDENTUPON$0, 0);
            }
        }
        
        /**
         * Gets the "Link" element
         */
        public org.apache.xmlbeans.XmlObject getLink()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(LINK$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Link" element
         */
        public boolean isSetLink()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(LINK$2) != 0;
            }
        }
        
        /**
         * Sets the "Link" element
         */
        public void setLink(org.apache.xmlbeans.XmlObject link)
        {
            generatedSetterHelperImpl(link, LINK$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "Link" element
         */
        public org.apache.xmlbeans.XmlObject addNewLink()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(LINK$2);
                return target;
            }
        }
        
        /**
         * Unsets the "Link" element
         */
        public void unsetLink()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(LINK$2, 0);
            }
        }
        
        /**
         * Gets the "SubType" element
         */
        public org.apache.xmlbeans.XmlObject getSubType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(SUBTYPE$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "SubType" element
         */
        public boolean isSetSubType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(SUBTYPE$4) != 0;
            }
        }
        
        /**
         * Sets the "SubType" element
         */
        public void setSubType(org.apache.xmlbeans.XmlObject subType)
        {
            generatedSetterHelperImpl(subType, SUBTYPE$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
        }
        
        /**
         * Appends and returns a new empty "SubType" element
         */
        public org.apache.xmlbeans.XmlObject addNewSubType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlObject target = null;
                target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(SUBTYPE$4);
                return target;
            }
        }
        
        /**
         * Unsets the "SubType" element
         */
        public void unsetSubType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(SUBTYPE$4, 0);
            }
        }
        
        /**
         * Gets the "Visible" element
         */
        public java.lang.String getVisible()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VISIBLE$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "Visible" element
         */
        public io.github.isotes.vs.model.Boolean xgetVisible()
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_element_user(VISIBLE$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "Visible" element
         */
        public boolean isSetVisible()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(VISIBLE$6) != 0;
            }
        }
        
        /**
         * Sets the "Visible" element
         */
        public void setVisible(java.lang.String visible)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VISIBLE$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VISIBLE$6);
                }
                target.setStringValue(visible);
            }
        }
        
        /**
         * Sets (as xml) the "Visible" element
         */
        public void xsetVisible(io.github.isotes.vs.model.Boolean visible)
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_element_user(VISIBLE$6, 0);
                if (target == null)
                {
                    target = (io.github.isotes.vs.model.Boolean)get_store().add_element_user(VISIBLE$6);
                }
                target.set(visible);
            }
        }
        
        /**
         * Unsets the "Visible" element
         */
        public void unsetVisible()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(VISIBLE$6, 0);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy