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

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

/*
 * An XML document type.
 * Localname: AssignTargetPath
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.AssignTargetPathDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one AssignTargetPath(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class AssignTargetPathDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.AssignTargetPathDocument
{
    private static final long serialVersionUID = 1L;
    
    public AssignTargetPathDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ASSIGNTARGETPATH$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "AssignTargetPath");
    
    
    /**
     * Gets the "AssignTargetPath" element
     */
    public io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath getAssignTargetPath()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath target = null;
            target = (io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath)get_store().find_element_user(ASSIGNTARGETPATH$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "AssignTargetPath" element
     */
    public void setAssignTargetPath(io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath assignTargetPath)
    {
        generatedSetterHelperImpl(assignTargetPath, ASSIGNTARGETPATH$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "AssignTargetPath" element
     */
    public io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath addNewAssignTargetPath()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath target = null;
            target = (io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath)get_store().add_element_user(ASSIGNTARGETPATH$0);
            return target;
        }
    }
    /**
     * An XML AssignTargetPath(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class AssignTargetPathImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.AssignTargetPathDocument.AssignTargetPath
    {
        private static final long serialVersionUID = 1L;
        
        public AssignTargetPathImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName FILES$0 = 
            new javax.xml.namespace.QName("", "Files");
        private static final javax.xml.namespace.QName ROOTFOLDER$2 = 
            new javax.xml.namespace.QName("", "RootFolder");
        
        
        /**
         * Gets the "Files" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getFiles()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FILES$0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Files" attribute
         */
        public boolean isSetFiles()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(FILES$0) != null;
            }
        }
        
        /**
         * Sets the "Files" attribute
         */
        public void setFiles(org.apache.xmlbeans.XmlAnySimpleType files)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FILES$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILES$0);
                }
                target.set(files);
            }
        }
        
        /**
         * Appends and returns a new empty "Files" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewFiles()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILES$0);
                return target;
            }
        }
        
        /**
         * Unsets the "Files" attribute
         */
        public void unsetFiles()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(FILES$0);
            }
        }
        
        /**
         * Gets the "RootFolder" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getRootFolder()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ROOTFOLDER$2);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * Sets the "RootFolder" attribute
         */
        public void setRootFolder(org.apache.xmlbeans.XmlAnySimpleType rootFolder)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ROOTFOLDER$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ROOTFOLDER$2);
                }
                target.set(rootFolder);
            }
        }
        
        /**
         * Appends and returns a new empty "RootFolder" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewRootFolder()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ROOTFOLDER$2);
                return target;
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy