| /******************************************************************************* |
| * 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.XmlElement; |
| import javax.xml.bind.annotation.XmlType; |
| |
| |
| /** |
| * <p>Java class for hudson.model.TimeSeries complex type. |
| * |
| * <p>The following schema fragment specifies the expected content contained within this class. |
| * |
| * <pre> |
| * <complexType name="hudson.model.TimeSeries"> |
| * <complexContent> |
| * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
| * <sequence> |
| * <element name="history" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/> |
| * <element name="latest" type="{http://www.w3.org/2001/XMLSchema}anyType"/> |
| * </sequence> |
| * </restriction> |
| * </complexContent> |
| * </complexType> |
| * </pre> |
| * |
| * |
| */ |
| @XmlAccessorType(XmlAccessType.FIELD) |
| @XmlType(name = "hudson.model.TimeSeries", propOrder = { |
| "history", |
| "latest" |
| }) |
| @SuppressWarnings("all") |
| public class HudsonModelTimeSeries { |
| |
| protected List<Object> history; |
| @XmlElement(required = true) |
| protected Object latest; |
| |
| /** |
| * Gets the value of the history 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 history property. |
| * |
| * <p> |
| * For example, to add a new item, do as follows: |
| * <pre> |
| * getHistory().add(newItem); |
| * </pre> |
| * |
| * |
| * <p> |
| * Objects of the following type(s) are allowed in the list |
| * {@link Object } |
| * |
| * |
| */ |
| public List<Object> getHistory() { |
| if (history == null) { |
| history = new ArrayList<Object>(); |
| } |
| return this.history; |
| } |
| |
| /** |
| * Gets the value of the latest property. |
| * |
| * @return |
| * possible object is |
| * {@link Object } |
| * |
| */ |
| public Object getLatest() { |
| return latest; |
| } |
| |
| /** |
| * Sets the value of the latest property. |
| * |
| * @param value |
| * allowed object is |
| * {@link Object } |
| * |
| */ |
| public void setLatest(Object value) { |
| this.latest = value; |
| } |
| |
| } |