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

io.github.isotes.vs.model.impl.ReadLinesFromFileDocumentImpl 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: ReadLinesFromFile
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.ReadLinesFromFileDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one ReadLinesFromFile(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class ReadLinesFromFileDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.ReadLinesFromFileDocument
{
    private static final long serialVersionUID = 1L;
    
    public ReadLinesFromFileDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName READLINESFROMFILE$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "ReadLinesFromFile");
    
    
    /**
     * Gets the "ReadLinesFromFile" element
     */
    public io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile getReadLinesFromFile()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile target = null;
            target = (io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile)get_store().find_element_user(READLINESFROMFILE$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ReadLinesFromFile" element
     */
    public void setReadLinesFromFile(io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile readLinesFromFile)
    {
        generatedSetterHelperImpl(readLinesFromFile, READLINESFROMFILE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "ReadLinesFromFile" element
     */
    public io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile addNewReadLinesFromFile()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile target = null;
            target = (io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile)get_store().add_element_user(READLINESFROMFILE$0);
            return target;
        }
    }
    /**
     * An XML ReadLinesFromFile(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class ReadLinesFromFileImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.ReadLinesFromFileDocument.ReadLinesFromFile
    {
        private static final long serialVersionUID = 1L;
        
        public ReadLinesFromFileImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName FILE$0 = 
            new javax.xml.namespace.QName("", "File");
        private static final javax.xml.namespace.QName LINES$2 = 
            new javax.xml.namespace.QName("", "Lines");
        
        
        /**
         * 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$0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * 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$0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FILE$0);
                }
                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$0);
                return target;
            }
        }
        
        /**
         * Gets the "Lines" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getLines()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(LINES$2);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Lines" attribute
         */
        public boolean isSetLines()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(LINES$2) != null;
            }
        }
        
        /**
         * Sets the "Lines" attribute
         */
        public void setLines(org.apache.xmlbeans.XmlAnySimpleType lines)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(LINES$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(LINES$2);
                }
                target.set(lines);
            }
        }
        
        /**
         * Appends and returns a new empty "Lines" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewLines()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(LINES$2);
                return target;
            }
        }
        
        /**
         * Unsets the "Lines" attribute
         */
        public void unsetLines()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(LINES$2);
            }
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy