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

net.zeroinstall.model.impl.ManifestDigestImpl Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  manifest-digest
 * Namespace: http://zero-install.sourceforge.net/2004/injector/interface
 * Java type: net.zeroinstall.model.ManifestDigest
 *
 * Automatically generated - do not modify.
 */
package net.zeroinstall.model.impl;
/**
 * An XML manifest-digest(@http://zero-install.sourceforge.net/2004/injector/interface).
 *
 * This is a complex type.
 */
public class ManifestDigestImpl extends net.zeroinstall.model.impl.FeedElementImpl implements net.zeroinstall.model.ManifestDigest
{
    private static final long serialVersionUID = 1L;
    
    public ManifestDigestImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SHA1$0 = 
        new javax.xml.namespace.QName("", "sha1");
    private static final javax.xml.namespace.QName SHA1NEW$2 = 
        new javax.xml.namespace.QName("", "sha1new");
    private static final javax.xml.namespace.QName SHA256$4 = 
        new javax.xml.namespace.QName("", "sha256");
    private static final javax.xml.namespace.QName SHA256NEW$6 = 
        new javax.xml.namespace.QName("", "sha256new");
    
    
    /**
     * Gets the "sha1" attribute
     */
    public java.lang.String getSha1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA1$0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "sha1" attribute
     */
    public org.apache.xmlbeans.XmlString xgetSha1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA1$0);
            return target;
        }
    }
    
    /**
     * True if has "sha1" attribute
     */
    public boolean isSetSha1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SHA1$0) != null;
        }
    }
    
    /**
     * Sets the "sha1" attribute
     */
    public void setSha1(java.lang.String sha1)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA1$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHA1$0);
            }
            target.setStringValue(sha1);
        }
    }
    
    /**
     * Sets (as xml) the "sha1" attribute
     */
    public void xsetSha1(org.apache.xmlbeans.XmlString sha1)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA1$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SHA1$0);
            }
            target.set(sha1);
        }
    }
    
    /**
     * Unsets the "sha1" attribute
     */
    public void unsetSha1()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SHA1$0);
        }
    }
    
    /**
     * Gets the "sha1new" attribute
     */
    public java.lang.String getSha1New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA1NEW$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "sha1new" attribute
     */
    public org.apache.xmlbeans.XmlString xgetSha1New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA1NEW$2);
            return target;
        }
    }
    
    /**
     * True if has "sha1new" attribute
     */
    public boolean isSetSha1New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SHA1NEW$2) != null;
        }
    }
    
    /**
     * Sets the "sha1new" attribute
     */
    public void setSha1New(java.lang.String sha1New)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA1NEW$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHA1NEW$2);
            }
            target.setStringValue(sha1New);
        }
    }
    
    /**
     * Sets (as xml) the "sha1new" attribute
     */
    public void xsetSha1New(org.apache.xmlbeans.XmlString sha1New)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA1NEW$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SHA1NEW$2);
            }
            target.set(sha1New);
        }
    }
    
    /**
     * Unsets the "sha1new" attribute
     */
    public void unsetSha1New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SHA1NEW$2);
        }
    }
    
    /**
     * Gets the "sha256" attribute
     */
    public java.lang.String getSha256()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA256$4);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "sha256" attribute
     */
    public org.apache.xmlbeans.XmlString xgetSha256()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA256$4);
            return target;
        }
    }
    
    /**
     * True if has "sha256" attribute
     */
    public boolean isSetSha256()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SHA256$4) != null;
        }
    }
    
    /**
     * Sets the "sha256" attribute
     */
    public void setSha256(java.lang.String sha256)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA256$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHA256$4);
            }
            target.setStringValue(sha256);
        }
    }
    
    /**
     * Sets (as xml) the "sha256" attribute
     */
    public void xsetSha256(org.apache.xmlbeans.XmlString sha256)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA256$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SHA256$4);
            }
            target.set(sha256);
        }
    }
    
    /**
     * Unsets the "sha256" attribute
     */
    public void unsetSha256()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SHA256$4);
        }
    }
    
    /**
     * Gets the "sha256new" attribute
     */
    public java.lang.String getSha256New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA256NEW$6);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "sha256new" attribute
     */
    public org.apache.xmlbeans.XmlString xgetSha256New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA256NEW$6);
            return target;
        }
    }
    
    /**
     * True if has "sha256new" attribute
     */
    public boolean isSetSha256New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SHA256NEW$6) != null;
        }
    }
    
    /**
     * Sets the "sha256new" attribute
     */
    public void setSha256New(java.lang.String sha256New)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHA256NEW$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHA256NEW$6);
            }
            target.setStringValue(sha256New);
        }
    }
    
    /**
     * Sets (as xml) the "sha256new" attribute
     */
    public void xsetSha256New(org.apache.xmlbeans.XmlString sha256New)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SHA256NEW$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SHA256NEW$6);
            }
            target.set(sha256New);
        }
    }
    
    /**
     * Unsets the "sha256new" attribute
     */
    public void unsetSha256New()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SHA256NEW$6);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy