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

net.sf.buildbox.changes.bean.impl.VersionNotesBeanImpl Maven / Gradle / Ivy

Go to download

Commandline utility for creating reproducible releases. Minimal parametrization, isolated sandbox for releases. Currently built on top of maven-release-plugin.

The newest version!
/*
 * XML Type:  VersionNotes
 * Namespace: http://buildbox.sf.net/changes/2.0
 * Java type: net.sf.buildbox.changes.bean.VersionNotesBean
 *
 * Automatically generated - do not modify.
 */
package net.sf.buildbox.changes.bean.impl;
/**
 * An XML VersionNotes(@http://buildbox.sf.net/changes/2.0).
 *
 * This is a complex type.
 */
public class VersionNotesBeanImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.sf.buildbox.changes.bean.VersionNotesBean
{
    private static final long serialVersionUID = 1L;
    
    public VersionNotesBeanImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ITEM$0 = 
        new javax.xml.namespace.QName("http://buildbox.sf.net/changes/2.0", "item");
    private static final javax.xml.namespace.QName UPGRADE$2 = 
        new javax.xml.namespace.QName("http://buildbox.sf.net/changes/2.0", "upgrade");
    private static final javax.xml.namespace.QName CODENAME$4 = 
        new javax.xml.namespace.QName("", "codename");
    private static final javax.xml.namespace.QName GROUPID$6 = 
        new javax.xml.namespace.QName("", "groupId");
    private static final javax.xml.namespace.QName ARTIFACTID$8 = 
        new javax.xml.namespace.QName("", "artifactId");
    private static final javax.xml.namespace.QName VERSION$10 = 
        new javax.xml.namespace.QName("", "version");
    
    
    /**
     * Gets array of all "item" elements
     */
    public net.sf.buildbox.changes.bean.ItemBean[] getItemArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(ITEM$0, targetList);
            net.sf.buildbox.changes.bean.ItemBean[] result = new net.sf.buildbox.changes.bean.ItemBean[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "item" element
     */
    public net.sf.buildbox.changes.bean.ItemBean getItemArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.ItemBean target = null;
            target = (net.sf.buildbox.changes.bean.ItemBean)get_store().find_element_user(ITEM$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "item" element
     */
    public int sizeOfItemArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ITEM$0);
        }
    }
    
    /**
     * Sets array of all "item" element
     */
    public void setItemArray(net.sf.buildbox.changes.bean.ItemBean[] itemArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(itemArray, ITEM$0);
        }
    }
    
    /**
     * Sets ith "item" element
     */
    public void setItemArray(int i, net.sf.buildbox.changes.bean.ItemBean item)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.ItemBean target = null;
            target = (net.sf.buildbox.changes.bean.ItemBean)get_store().find_element_user(ITEM$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(item);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "item" element
     */
    public net.sf.buildbox.changes.bean.ItemBean insertNewItem(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.ItemBean target = null;
            target = (net.sf.buildbox.changes.bean.ItemBean)get_store().insert_element_user(ITEM$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "item" element
     */
    public net.sf.buildbox.changes.bean.ItemBean addNewItem()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.ItemBean target = null;
            target = (net.sf.buildbox.changes.bean.ItemBean)get_store().add_element_user(ITEM$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "item" element
     */
    public void removeItem(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ITEM$0, i);
        }
    }
    
    /**
     * Gets array of all "upgrade" elements
     */
    public net.sf.buildbox.changes.bean.UpgradeProcedureBean[] getUpgradeArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(UPGRADE$2, targetList);
            net.sf.buildbox.changes.bean.UpgradeProcedureBean[] result = new net.sf.buildbox.changes.bean.UpgradeProcedureBean[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "upgrade" element
     */
    public net.sf.buildbox.changes.bean.UpgradeProcedureBean getUpgradeArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.UpgradeProcedureBean target = null;
            target = (net.sf.buildbox.changes.bean.UpgradeProcedureBean)get_store().find_element_user(UPGRADE$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "upgrade" element
     */
    public int sizeOfUpgradeArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(UPGRADE$2);
        }
    }
    
    /**
     * Sets array of all "upgrade" element
     */
    public void setUpgradeArray(net.sf.buildbox.changes.bean.UpgradeProcedureBean[] upgradeArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(upgradeArray, UPGRADE$2);
        }
    }
    
    /**
     * Sets ith "upgrade" element
     */
    public void setUpgradeArray(int i, net.sf.buildbox.changes.bean.UpgradeProcedureBean upgrade)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.UpgradeProcedureBean target = null;
            target = (net.sf.buildbox.changes.bean.UpgradeProcedureBean)get_store().find_element_user(UPGRADE$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(upgrade);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "upgrade" element
     */
    public net.sf.buildbox.changes.bean.UpgradeProcedureBean insertNewUpgrade(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.UpgradeProcedureBean target = null;
            target = (net.sf.buildbox.changes.bean.UpgradeProcedureBean)get_store().insert_element_user(UPGRADE$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "upgrade" element
     */
    public net.sf.buildbox.changes.bean.UpgradeProcedureBean addNewUpgrade()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.UpgradeProcedureBean target = null;
            target = (net.sf.buildbox.changes.bean.UpgradeProcedureBean)get_store().add_element_user(UPGRADE$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "upgrade" element
     */
    public void removeUpgrade(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(UPGRADE$2, i);
        }
    }
    
    /**
     * Gets the "codename" attribute
     */
    public java.lang.String getCodename()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CODENAME$4);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "codename" attribute
     */
    public net.sf.buildbox.changes.bean.VersionNotesBean.Codename xgetCodename()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.Codename target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.Codename)get_store().find_attribute_user(CODENAME$4);
            return target;
        }
    }
    
    /**
     * True if has "codename" attribute
     */
    public boolean isSetCodename()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CODENAME$4) != null;
        }
    }
    
    /**
     * Sets the "codename" attribute
     */
    public void setCodename(java.lang.String codename)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CODENAME$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CODENAME$4);
            }
            target.setStringValue(codename);
        }
    }
    
    /**
     * Sets (as xml) the "codename" attribute
     */
    public void xsetCodename(net.sf.buildbox.changes.bean.VersionNotesBean.Codename codename)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.Codename target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.Codename)get_store().find_attribute_user(CODENAME$4);
            if (target == null)
            {
                target = (net.sf.buildbox.changes.bean.VersionNotesBean.Codename)get_store().add_attribute_user(CODENAME$4);
            }
            target.set(codename);
        }
    }
    
    /**
     * Unsets the "codename" attribute
     */
    public void unsetCodename()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CODENAME$4);
        }
    }
    
    /**
     * Gets the "groupId" attribute
     */
    public java.lang.String getGroupId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GROUPID$6);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "groupId" attribute
     */
    public net.sf.buildbox.changes.bean.VersionNotesBean.GroupId xgetGroupId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.GroupId target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.GroupId)get_store().find_attribute_user(GROUPID$6);
            return target;
        }
    }
    
    /**
     * Sets the "groupId" attribute
     */
    public void setGroupId(java.lang.String groupId)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(GROUPID$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(GROUPID$6);
            }
            target.setStringValue(groupId);
        }
    }
    
    /**
     * Sets (as xml) the "groupId" attribute
     */
    public void xsetGroupId(net.sf.buildbox.changes.bean.VersionNotesBean.GroupId groupId)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.GroupId target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.GroupId)get_store().find_attribute_user(GROUPID$6);
            if (target == null)
            {
                target = (net.sf.buildbox.changes.bean.VersionNotesBean.GroupId)get_store().add_attribute_user(GROUPID$6);
            }
            target.set(groupId);
        }
    }
    
    /**
     * Gets the "artifactId" attribute
     */
    public java.lang.String getArtifactId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARTIFACTID$8);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "artifactId" attribute
     */
    public net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId xgetArtifactId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId)get_store().find_attribute_user(ARTIFACTID$8);
            return target;
        }
    }
    
    /**
     * Sets the "artifactId" attribute
     */
    public void setArtifactId(java.lang.String artifactId)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARTIFACTID$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ARTIFACTID$8);
            }
            target.setStringValue(artifactId);
        }
    }
    
    /**
     * Sets (as xml) the "artifactId" attribute
     */
    public void xsetArtifactId(net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId artifactId)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId)get_store().find_attribute_user(ARTIFACTID$8);
            if (target == null)
            {
                target = (net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId)get_store().add_attribute_user(ARTIFACTID$8);
            }
            target.set(artifactId);
        }
    }
    
    /**
     * Gets the "version" attribute
     */
    public java.lang.String getVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSION$10);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "version" attribute
     */
    public net.sf.buildbox.changes.bean.VersionNotesBean.Version xgetVersion()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.Version target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.Version)get_store().find_attribute_user(VERSION$10);
            return target;
        }
    }
    
    /**
     * Sets the "version" attribute
     */
    public void setVersion(java.lang.String version)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSION$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VERSION$10);
            }
            target.setStringValue(version);
        }
    }
    
    /**
     * Sets (as xml) the "version" attribute
     */
    public void xsetVersion(net.sf.buildbox.changes.bean.VersionNotesBean.Version version)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.sf.buildbox.changes.bean.VersionNotesBean.Version target = null;
            target = (net.sf.buildbox.changes.bean.VersionNotesBean.Version)get_store().find_attribute_user(VERSION$10);
            if (target == null)
            {
                target = (net.sf.buildbox.changes.bean.VersionNotesBean.Version)get_store().add_attribute_user(VERSION$10);
            }
            target.set(version);
        }
    }
    /**
     * An XML codename(@).
     *
     * This is an atomic type that is a restriction of net.sf.buildbox.changes.bean.VersionNotesBean$Codename.
     */
    public static class CodenameImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements net.sf.buildbox.changes.bean.VersionNotesBean.Codename
    {
        private static final long serialVersionUID = 1L;
        
        public CodenameImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected CodenameImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
    /**
     * An XML groupId(@).
     *
     * This is an atomic type that is a restriction of net.sf.buildbox.changes.bean.VersionNotesBean$GroupId.
     */
    public static class GroupIdImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements net.sf.buildbox.changes.bean.VersionNotesBean.GroupId
    {
        private static final long serialVersionUID = 1L;
        
        public GroupIdImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected GroupIdImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
    /**
     * An XML artifactId(@).
     *
     * This is an atomic type that is a restriction of net.sf.buildbox.changes.bean.VersionNotesBean$ArtifactId.
     */
    public static class ArtifactIdImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements net.sf.buildbox.changes.bean.VersionNotesBean.ArtifactId
    {
        private static final long serialVersionUID = 1L;
        
        public ArtifactIdImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected ArtifactIdImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
    /**
     * An XML version(@).
     *
     * This is an atomic type that is a restriction of net.sf.buildbox.changes.bean.VersionNotesBean$Version.
     */
    public static class VersionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements net.sf.buildbox.changes.bean.VersionNotesBean.Version
    {
        private static final long serialVersionUID = 1L;
        
        public VersionImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected VersionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy