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

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

/*
 * An XML document type.
 * Localname: CodeAnalysisTreatWarningsAsErrors
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.CodeAnalysisTreatWarningsAsErrorsDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one CodeAnalysisTreatWarningsAsErrors(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class CodeAnalysisTreatWarningsAsErrorsDocumentImpl extends io.github.isotes.vs.model.impl.PropertyDocumentImpl implements io.github.isotes.vs.model.CodeAnalysisTreatWarningsAsErrorsDocument
{
    private static final long serialVersionUID = 1L;
    
    public CodeAnalysisTreatWarningsAsErrorsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CODEANALYSISTREATWARNINGSASERRORS$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "CodeAnalysisTreatWarningsAsErrors");
    
    
    /**
     * Gets the "CodeAnalysisTreatWarningsAsErrors" element
     */
    public java.lang.String getCodeAnalysisTreatWarningsAsErrors()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CODEANALYSISTREATWARNINGSASERRORS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "CodeAnalysisTreatWarningsAsErrors" element
     */
    public io.github.isotes.vs.model.Boolean xgetCodeAnalysisTreatWarningsAsErrors()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.Boolean target = null;
            target = (io.github.isotes.vs.model.Boolean)get_store().find_element_user(CODEANALYSISTREATWARNINGSASERRORS$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "CodeAnalysisTreatWarningsAsErrors" element
     */
    public void setCodeAnalysisTreatWarningsAsErrors(java.lang.String codeAnalysisTreatWarningsAsErrors)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CODEANALYSISTREATWARNINGSASERRORS$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CODEANALYSISTREATWARNINGSASERRORS$0);
            }
            target.setStringValue(codeAnalysisTreatWarningsAsErrors);
        }
    }
    
    /**
     * Sets (as xml) the "CodeAnalysisTreatWarningsAsErrors" element
     */
    public void xsetCodeAnalysisTreatWarningsAsErrors(io.github.isotes.vs.model.Boolean codeAnalysisTreatWarningsAsErrors)
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.Boolean target = null;
            target = (io.github.isotes.vs.model.Boolean)get_store().find_element_user(CODEANALYSISTREATWARNINGSASERRORS$0, 0);
            if (target == null)
            {
                target = (io.github.isotes.vs.model.Boolean)get_store().add_element_user(CODEANALYSISTREATWARNINGSASERRORS$0);
            }
            target.set(codeAnalysisTreatWarningsAsErrors);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy