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

io.github.isotes.vs.model.impl.PRIResourceDocumentImpl 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: PRIResource
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.PRIResourceDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one PRIResource(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class PRIResourceDocumentImpl extends io.github.isotes.vs.model.impl.ItemDocumentImpl implements io.github.isotes.vs.model.PRIResourceDocument
{
    private static final long serialVersionUID = 1L;
    
    public PRIResourceDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PRIRESOURCE$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "PRIResource");
    
    
    /**
     * Gets the "PRIResource" element
     */
    public io.github.isotes.vs.model.PRIResourceDocument.PRIResource getPRIResource()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.PRIResourceDocument.PRIResource target = null;
            target = (io.github.isotes.vs.model.PRIResourceDocument.PRIResource)get_store().find_element_user(PRIRESOURCE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "PRIResource" element
     */
    public void setPRIResource(io.github.isotes.vs.model.PRIResourceDocument.PRIResource priResource)
    {
        generatedSetterHelperImpl(priResource, PRIRESOURCE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "PRIResource" element
     */
    public io.github.isotes.vs.model.PRIResourceDocument.PRIResource addNewPRIResource()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.PRIResourceDocument.PRIResource target = null;
            target = (io.github.isotes.vs.model.PRIResourceDocument.PRIResource)get_store().add_element_user(PRIRESOURCE$0);
            return target;
        }
    }
    /**
     * An XML PRIResource(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class PRIResourceImpl extends io.github.isotes.vs.model.impl.SimpleItemTypeImpl implements io.github.isotes.vs.model.PRIResourceDocument.PRIResource
    {
        private static final long serialVersionUID = 1L;
        
        public PRIResourceImpl(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 VISIBLE$4 = 
            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 "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$4, 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$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "Visible" element
         */
        public boolean isSetVisible()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(VISIBLE$4) != 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$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VISIBLE$4);
                }
                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$4, 0);
                if (target == null)
                {
                    target = (io.github.isotes.vs.model.Boolean)get_store().add_element_user(VISIBLE$4);
                }
                target.set(visible);
            }
        }
        
        /**
         * Unsets the "Visible" element
         */
        public void unsetVisible()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(VISIBLE$4, 0);
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy