/*******************************************************************************
 * Copyright (c) 2010 Tasktop Technologies and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Tasktop Technologies - initial API and implementation
 *******************************************************************************/

// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 

package org.eclipse.mylyn.internal.hudson.model;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for hudson.model.AbstractBuild complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="hudson.model.AbstractBuild">
 *   &lt;complexContent>
 *     &lt;extension base="{}hudson.model.Run">
 *       &lt;sequence>
 *         &lt;element name="builtOn" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="changeSet" type="{}hudson.scm.ChangeLogSet" minOccurs="0"/>
 *         &lt;element name="culprit" type="{}hudson.model.User" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "hudson.model.AbstractBuild", propOrder = {
    "builtOn",
    "changeSet",
    "culprit"
})
@SuppressWarnings("all")
public class HudsonModelAbstractBuild
    extends HudsonModelRun
{

    protected String builtOn;
    protected HudsonScmChangeLogSet changeSet;
    protected List<HudsonModelUser> culprit;

    /**
     * Gets the value of the builtOn property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getBuiltOn() {
        return builtOn;
    }

    /**
     * Sets the value of the builtOn property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setBuiltOn(String value) {
        this.builtOn = value;
    }

    /**
     * Gets the value of the changeSet property.
     * 
     * @return
     *     possible object is
     *     {@link HudsonScmChangeLogSet }
     *     
     */
    public HudsonScmChangeLogSet getChangeSet() {
        return changeSet;
    }

    /**
     * Sets the value of the changeSet property.
     * 
     * @param value
     *     allowed object is
     *     {@link HudsonScmChangeLogSet }
     *     
     */
    public void setChangeSet(HudsonScmChangeLogSet value) {
        this.changeSet = value;
    }

    /**
     * Gets the value of the culprit property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the culprit property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getCulprit().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link HudsonModelUser }
     * 
     * 
     */
    public List<HudsonModelUser> getCulprit() {
        if (culprit == null) {
            culprit = new ArrayList<HudsonModelUser>();
        }
        return this.culprit;
    }

}
