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

io.github.isotes.vs.model.impl.VCMessageDocumentImpl 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: VCMessage
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.VCMessageDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one VCMessage(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class VCMessageDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.VCMessageDocument
{
    private static final long serialVersionUID = 1L;
    
    public VCMessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName VCMESSAGE$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "VCMessage");
    
    
    /**
     * Gets the "VCMessage" element
     */
    public io.github.isotes.vs.model.VCMessageDocument.VCMessage getVCMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.VCMessageDocument.VCMessage target = null;
            target = (io.github.isotes.vs.model.VCMessageDocument.VCMessage)get_store().find_element_user(VCMESSAGE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "VCMessage" element
     */
    public void setVCMessage(io.github.isotes.vs.model.VCMessageDocument.VCMessage vcMessage)
    {
        generatedSetterHelperImpl(vcMessage, VCMESSAGE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "VCMessage" element
     */
    public io.github.isotes.vs.model.VCMessageDocument.VCMessage addNewVCMessage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.VCMessageDocument.VCMessage target = null;
            target = (io.github.isotes.vs.model.VCMessageDocument.VCMessage)get_store().add_element_user(VCMESSAGE$0);
            return target;
        }
    }
    /**
     * An XML VCMessage(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class VCMessageImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.VCMessageDocument.VCMessage
    {
        private static final long serialVersionUID = 1L;
        
        public VCMessageImpl(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 TYPE$2 = 
            new javax.xml.namespace.QName("", "Type");
        private static final javax.xml.namespace.QName ARGUMENTS$4 = 
            new javax.xml.namespace.QName("", "Arguments");
        
        
        /**
         * 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;
            }
        }
        
        /**
         * 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;
            }
        }
        
        /**
         * Gets the "Type" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$2);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Type" attribute
         */
        public boolean isSetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TYPE$2) != null;
            }
        }
        
        /**
         * Sets the "Type" attribute
         */
        public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$2);
                }
                target.set(type);
            }
        }
        
        /**
         * Appends and returns a new empty "Type" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$2);
                return target;
            }
        }
        
        /**
         * Unsets the "Type" attribute
         */
        public void unsetType()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TYPE$2);
            }
        }
        
        /**
         * Gets the "Arguments" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getArguments()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ARGUMENTS$4);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Arguments" attribute
         */
        public boolean isSetArguments()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ARGUMENTS$4) != null;
            }
        }
        
        /**
         * Sets the "Arguments" attribute
         */
        public void setArguments(org.apache.xmlbeans.XmlAnySimpleType arguments)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ARGUMENTS$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ARGUMENTS$4);
                }
                target.set(arguments);
            }
        }
        
        /**
         * Appends and returns a new empty "Arguments" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewArguments()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ARGUMENTS$4);
                return target;
            }
        }
        
        /**
         * Unsets the "Arguments" attribute
         */
        public void unsetArguments()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ARGUMENTS$4);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy