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

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

/*
 * An XML document type.
 * Localname: GetFileHash
 * Namespace: http://schemas.microsoft.com/developer/msbuild/2003
 * Java type: io.github.isotes.vs.model.GetFileHashDocument
 *
 * Automatically generated - do not modify.
 */
package io.github.isotes.vs.model.impl;
/**
 * A document containing one GetFileHash(@http://schemas.microsoft.com/developer/msbuild/2003) element.
 *
 * This is a complex type.
 */
public class GetFileHashDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.GetFileHashDocument
{
    private static final long serialVersionUID = 1L;
    
    public GetFileHashDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName GETFILEHASH$0 = 
        new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "GetFileHash");
    
    
    /**
     * Gets the "GetFileHash" element
     */
    public io.github.isotes.vs.model.GetFileHashDocument.GetFileHash getGetFileHash()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.GetFileHashDocument.GetFileHash target = null;
            target = (io.github.isotes.vs.model.GetFileHashDocument.GetFileHash)get_store().find_element_user(GETFILEHASH$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "GetFileHash" element
     */
    public void setGetFileHash(io.github.isotes.vs.model.GetFileHashDocument.GetFileHash getFileHash)
    {
        generatedSetterHelperImpl(getFileHash, GETFILEHASH$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "GetFileHash" element
     */
    public io.github.isotes.vs.model.GetFileHashDocument.GetFileHash addNewGetFileHash()
    {
        synchronized (monitor())
        {
            check_orphaned();
            io.github.isotes.vs.model.GetFileHashDocument.GetFileHash target = null;
            target = (io.github.isotes.vs.model.GetFileHashDocument.GetFileHash)get_store().add_element_user(GETFILEHASH$0);
            return target;
        }
    }
    /**
     * An XML GetFileHash(@http://schemas.microsoft.com/developer/msbuild/2003).
     *
     * This is a complex type.
     */
    public static class GetFileHashImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.GetFileHashDocument.GetFileHash
    {
        private static final long serialVersionUID = 1L;
        
        public GetFileHashImpl(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 ALGORITHM$2 = 
            new javax.xml.namespace.QName("", "Algorithm");
        private static final javax.xml.namespace.QName METADATANAME$4 = 
            new javax.xml.namespace.QName("", "MetadataName");
        private static final javax.xml.namespace.QName HASHENCODING$6 = 
            new javax.xml.namespace.QName("", "HashEncoding");
        private static final javax.xml.namespace.QName HASH$8 = 
            new javax.xml.namespace.QName("", "Hash");
        private static final javax.xml.namespace.QName ITEMS$10 = 
            new javax.xml.namespace.QName("", "Items");
        
        
        /**
         * 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;
            }
        }
        
        /**
         * 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;
            }
        }
        
        /**
         * Gets the "Algorithm" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getAlgorithm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ALGORITHM$2);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Algorithm" attribute
         */
        public boolean isSetAlgorithm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ALGORITHM$2) != null;
            }
        }
        
        /**
         * Sets the "Algorithm" attribute
         */
        public void setAlgorithm(org.apache.xmlbeans.XmlAnySimpleType algorithm)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ALGORITHM$2);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ALGORITHM$2);
                }
                target.set(algorithm);
            }
        }
        
        /**
         * Appends and returns a new empty "Algorithm" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewAlgorithm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ALGORITHM$2);
                return target;
            }
        }
        
        /**
         * Unsets the "Algorithm" attribute
         */
        public void unsetAlgorithm()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ALGORITHM$2);
            }
        }
        
        /**
         * Gets the "MetadataName" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getMetadataName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(METADATANAME$4);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "MetadataName" attribute
         */
        public boolean isSetMetadataName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(METADATANAME$4) != null;
            }
        }
        
        /**
         * Sets the "MetadataName" attribute
         */
        public void setMetadataName(org.apache.xmlbeans.XmlAnySimpleType metadataName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(METADATANAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(METADATANAME$4);
                }
                target.set(metadataName);
            }
        }
        
        /**
         * Appends and returns a new empty "MetadataName" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewMetadataName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(METADATANAME$4);
                return target;
            }
        }
        
        /**
         * Unsets the "MetadataName" attribute
         */
        public void unsetMetadataName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(METADATANAME$4);
            }
        }
        
        /**
         * Gets the "HashEncoding" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getHashEncoding()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HASHENCODING$6);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "HashEncoding" attribute
         */
        public boolean isSetHashEncoding()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HASHENCODING$6) != null;
            }
        }
        
        /**
         * Sets the "HashEncoding" attribute
         */
        public void setHashEncoding(org.apache.xmlbeans.XmlAnySimpleType hashEncoding)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HASHENCODING$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HASHENCODING$6);
                }
                target.set(hashEncoding);
            }
        }
        
        /**
         * Appends and returns a new empty "HashEncoding" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewHashEncoding()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HASHENCODING$6);
                return target;
            }
        }
        
        /**
         * Unsets the "HashEncoding" attribute
         */
        public void unsetHashEncoding()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HASHENCODING$6);
            }
        }
        
        /**
         * Gets the "Hash" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getHash()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HASH$8);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Hash" attribute
         */
        public boolean isSetHash()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(HASH$8) != null;
            }
        }
        
        /**
         * Sets the "Hash" attribute
         */
        public void setHash(org.apache.xmlbeans.XmlAnySimpleType hash)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(HASH$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HASH$8);
                }
                target.set(hash);
            }
        }
        
        /**
         * Appends and returns a new empty "Hash" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewHash()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(HASH$8);
                return target;
            }
        }
        
        /**
         * Unsets the "Hash" attribute
         */
        public void unsetHash()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(HASH$8);
            }
        }
        
        /**
         * Gets the "Items" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType getItems()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ITEMS$10);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "Items" attribute
         */
        public boolean isSetItems()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ITEMS$10) != null;
            }
        }
        
        /**
         * Sets the "Items" attribute
         */
        public void setItems(org.apache.xmlbeans.XmlAnySimpleType items)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(ITEMS$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ITEMS$10);
                }
                target.set(items);
            }
        }
        
        /**
         * Appends and returns a new empty "Items" attribute
         */
        public org.apache.xmlbeans.XmlAnySimpleType addNewItems()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlAnySimpleType target = null;
                target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(ITEMS$10);
                return target;
            }
        }
        
        /**
         * Unsets the "Items" attribute
         */
        public void unsetItems()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ITEMS$10);
            }
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy