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

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

/*
 * An XML document type.
 * Localname: CallTarget
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.CallTargetDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one CallTarget(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class CallTargetDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.CallTargetDocument
{
    private static final long serialVersionUID = 1L;
    
    public CallTargetDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CALLTARGET$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "CallTarget");
    
    
    /**
     * Gets the "CallTarget" element
     */
    public io.github.isotes.vs.model.CallTargetDocument.CallTarget getCallTarget()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.CallTargetDocument.CallTarget target = null;
            target = (io.github.isotes.vs.model.CallTargetDocument.CallTarget)get_store().find_element_user(CALLTARGET$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "CallTarget" element
     */
    public void setCallTarget(io.github.isotes.vs.model.CallTargetDocument.CallTarget callTarget)
    {
        generatedSetterHelperImpl(callTarget, CALLTARGET$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "CallTarget" element
     */
    public io.github.isotes.vs.model.CallTargetDocument.CallTarget addNewCallTarget()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.CallTargetDocument.CallTarget target = null;
            target = (io.github.isotes.vs.model.CallTargetDocument.CallTarget)get_store().add_element_user(CALLTARGET$0);
            return target;
        }
    }
    /**
     * An XML CallTarget(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class CallTargetImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.CallTargetDocument.CallTarget
    {
        private static final long serialVersionUID = 1L;
        
        public CallTargetImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName RUNEACHTARGETSEPARATELY$0 = 
            new javax.xml.namespace.QName("", "RunEachTargetSeparately");
        private static final javax.xml.namespace.QName TARGETS$2 = 
            new javax.xml.namespace.QName("", "Targets");
        private static final javax.xml.namespace.QName USERESULTSCACHE$4 = 
            new javax.xml.namespace.QName("", "UseResultsCache");
        
        
        /**
         * Gets the "RunEachTargetSeparately" attribute
         */
        public java.lang.String getRunEachTargetSeparately()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RUNEACHTARGETSEPARATELY$0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "RunEachTargetSeparately" attribute
         */
        public io.github.isotes.vs.model.Boolean xgetRunEachTargetSeparately()
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(RUNEACHTARGETSEPARATELY$0);
                return target;
            }
        }
        
        /**
         * True if has "RunEachTargetSeparately" attribute
         */
        public boolean isSetRunEachTargetSeparately()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(RUNEACHTARGETSEPARATELY$0) != null;
            }
        }
        
        /**
         * Sets the "RunEachTargetSeparately" attribute
         */
        public void setRunEachTargetSeparately(java.lang.String runEachTargetSeparately)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RUNEACHTARGETSEPARATELY$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RUNEACHTARGETSEPARATELY$0);
                }
                target.setStringValue(runEachTargetSeparately);
            }
        }
        
        /**
         * Sets (as xml) the "RunEachTargetSeparately" attribute
         */
        public void xsetRunEachTargetSeparately(io.github.isotes.vs.model.Boolean runEachTargetSeparately)
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(RUNEACHTARGETSEPARATELY$0);
                if (target == null)
                {
                    target = (io.github.isotes.vs.model.Boolean)get_store().add_attribute_user(RUNEACHTARGETSEPARATELY$0);
                }
                target.set(runEachTargetSeparately);
            }
        }
        
        /**
         * Unsets the "RunEachTargetSeparately" attribute
         */
        public void unsetRunEachTargetSeparately()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(RUNEACHTARGETSEPARATELY$0);
            }
        }
        
        /**
         * Gets the "Targets" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getTargets()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TARGETS$2);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Targets" attribute
         */
        public boolean isSetTargets()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(TARGETS$2) != null;
            }
        }
        
        /**
         * Sets the "Targets" attribute
         */
        public void setTargets(org.apache.xmlbeans.XmlAnySimpleType targets)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TARGETS$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TARGETS$2);
                }
                target.set(targets);
            }
        }
        
        /**
         * Appends and returns a new empty "Targets" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewTargets()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TARGETS$2);
                return target;
            }
        }
        
        /**
         * Unsets the "Targets" attribute
         */
        public void unsetTargets()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(TARGETS$2);
            }
        }
        
        /**
         * Gets the "UseResultsCache" attribute
         */
        public java.lang.String getUseResultsCache()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(USERESULTSCACHE$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "UseResultsCache" attribute
         */
        public io.github.isotes.vs.model.Boolean xgetUseResultsCache()
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(USERESULTSCACHE$4);
                return target;
            }
        }
        
        /**
         * True if has "UseResultsCache" attribute
         */
        public boolean isSetUseResultsCache()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(USERESULTSCACHE$4) != null;
            }
        }
        
        /**
         * Sets the "UseResultsCache" attribute
         */
        public void setUseResultsCache(java.lang.String useResultsCache)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(USERESULTSCACHE$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(USERESULTSCACHE$4);
                }
                target.setStringValue(useResultsCache);
            }
        }
        
        /**
         * Sets (as xml) the "UseResultsCache" attribute
         */
        public void xsetUseResultsCache(io.github.isotes.vs.model.Boolean useResultsCache)
        {
            synchronized (monitor())
            {
                check_orphaned();
                io.github.isotes.vs.model.Boolean target = null;
                target = (io.github.isotes.vs.model.Boolean)get_store().find_attribute_user(USERESULTSCACHE$4);
                if (target == null)
                {
                    target = (io.github.isotes.vs.model.Boolean)get_store().add_attribute_user(USERESULTSCACHE$4);
                }
                target.set(useResultsCache);
            }
        }
        
        /**
         * Unsets the "UseResultsCache" attribute
         */
        public void unsetUseResultsCache()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(USERESULTSCACHE$4);
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy