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

io.github.isotes.vs.model.impl.WarningDocumentImpl 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: Warning
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.WarningDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one Warning(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class WarningDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.WarningDocument
{
    private static final long serialVersionUID = 1L;
    
    public WarningDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName WARNING$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Warning");
    
    
    /**
     * Gets the "Warning" element
     */
    public io.github.isotes.vs.model.WarningDocument.Warning getWarning()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.WarningDocument.Warning target = null;
            target = (io.github.isotes.vs.model.WarningDocument.Warning)get_store().find_element_user(WARNING$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "Warning" element
     */
    public void setWarning(io.github.isotes.vs.model.WarningDocument.Warning warning)
    {
        generatedSetterHelperImpl(warning, WARNING$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "Warning" element
     */
    public io.github.isotes.vs.model.WarningDocument.Warning addNewWarning()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.WarningDocument.Warning target = null;
            target = (io.github.isotes.vs.model.WarningDocument.Warning)get_store().add_element_user(WARNING$0);
            return target;
        }
    }
    /**
     * An XML Warning(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class WarningImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.WarningDocument.Warning
    {
        private static final long serialVersionUID = 1L;
        
        public WarningImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName CODE$0 = 
            new javax.xml.namespace.QName("", "Code");
        private static final javax.xml.namespace.QName FILE$2 = 
            new javax.xml.namespace.QName("", "File");
        private static final javax.xml.namespace.QName HELPKEYWORD$4 = 
            new javax.xml.namespace.QName("", "HelpKeyword");
        private static final javax.xml.namespace.QName TEXT$6 = 
            new javax.xml.namespace.QName("", "Text");
        
        
        /**
         * Gets the "Code" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Code" attribute
         */
        public boolean isSetCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(CODE$0) != null;
            }
        }
        
        /**
         * Sets the "Code" attribute
         */
        public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$0);
                }
                target.set(code);
            }
        }
        
        /**
         * Appends and returns a new empty "Code" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$0);
                return target;
            }
        }
        
        /**
         * Unsets the "Code" attribute
         */
        public void unsetCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(CODE$0);
            }
        }
        
        /**
         * Gets the "File" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getFile()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FILE$2);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "File" attribute
         */
        public boolean isSetFile()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(FILE$2) != null;
            }
        }
        
        /**
         * Sets the "File" attribute
         */
        public void setFile(org.apache.xmlbeans.XmlAnySimpleType file)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FILE$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILE$2);
                }
                target.set(file);
            }
        }
        
        /**
         * Appends and returns a new empty "File" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewFile()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILE$2);
                return target;
            }
        }
        
        /**
         * Unsets the "File" attribute
         */
        public void unsetFile()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(FILE$2);
            }
        }
        
        /**
         * Gets the "HelpKeyword" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getHelpKeyword()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HELPKEYWORD$4);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "HelpKeyword" attribute
         */
        public boolean isSetHelpKeyword()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HELPKEYWORD$4) != null;
            }
        }
        
        /**
         * Sets the "HelpKeyword" attribute
         */
        public void setHelpKeyword(org.apache.xmlbeans.XmlAnySimpleType helpKeyword)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HELPKEYWORD$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HELPKEYWORD$4);
                }
                target.set(helpKeyword);
            }
        }
        
        /**
         * Appends and returns a new empty "HelpKeyword" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewHelpKeyword()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HELPKEYWORD$4);
                return target;
            }
        }
        
        /**
         * Unsets the "HelpKeyword" attribute
         */
        public void unsetHelpKeyword()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HELPKEYWORD$4);
            }
        }
        
        /**
         * Gets the "Text" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getText()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TEXT$6);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Text" attribute
         */
        public boolean isSetText()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TEXT$6) != null;
            }
        }
        
        /**
         * Sets the "Text" attribute
         */
        public void setText(org.apache.xmlbeans.XmlAnySimpleType text)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TEXT$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TEXT$6);
                }
                target.set(text);
            }
        }
        
        /**
         * Appends and returns a new empty "Text" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewText()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TEXT$6);
                return target;
            }
        }
        
        /**
         * Unsets the "Text" attribute
         */
        public void unsetText()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TEXT$6);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy