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

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

The newest version!
/*
 * XML Type:  feed-element
 * Namespace: http://zero-install.sourceforge.net/2004/injector/interface
 * Java type: net.zeroinstall.model.FeedElement
 *
 * Automatically generated - do not modify.
 */
package net.zeroinstall.model.impl;
/**
 * An XML feed-element(@http://zero-install.sourceforge.net/2004/injector/interface).
 *
 * This is a complex type.
 */
public class FeedElementImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.zeroinstall.model.FeedElement
{
    private static final long serialVersionUID = 1L;
    
    public FeedElementImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName IF0INSTALLVERSION$0 = 
        new javax.xml.namespace.QName("", "if-0install-version");
    
    
    /**
     * Gets the "if-0install-version" attribute
     */
    public java.lang.String getIf0InstallVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(IF0INSTALLVERSION$0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "if-0install-version" attribute
     */
    public org.apache.xmlbeans.XmlString xgetIf0InstallVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(IF0INSTALLVERSION$0);
            return target;
        }
    }
    
    /**
     * True if has "if-0install-version" attribute
     */
    public boolean isSetIf0InstallVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(IF0INSTALLVERSION$0) != null;
        }
    }
    
    /**
     * Sets the "if-0install-version" attribute
     */
    public void setIf0InstallVersion(java.lang.String if0InstallVersion)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(IF0INSTALLVERSION$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(IF0INSTALLVERSION$0);
            }
            target.setStringValue(if0InstallVersion);
        }
    }
    
    /**
     * Sets (as xml) the "if-0install-version" attribute
     */
    public void xsetIf0InstallVersion(org.apache.xmlbeans.XmlString if0InstallVersion)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(IF0INSTALLVERSION$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(IF0INSTALLVERSION$0);
            }
            target.set(if0InstallVersion);
        }
    }
    
    /**
     * Unsets the "if-0install-version" attribute
     */
    public void unsetIf0InstallVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(IF0INSTALLVERSION$0);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy