001package io.ebeaninternal.server.autotune.model;
002
003import javax.xml.bind.annotation.XmlAccessType;
004import javax.xml.bind.annotation.XmlAccessorType;
005import javax.xml.bind.annotation.XmlRootElement;
006import javax.xml.bind.annotation.XmlType;
007import java.util.ArrayList;
008import java.util.List;
009
010
011/**
012 * Java class for anonymous complex type.
013 * <p>
014 * The following schema fragment specifies the expected content contained within this class.
015 * <p>
016 * <pre>
017 * &lt;complexType>
018 *   &lt;complexContent>
019 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
020 *       &lt;sequence>
021 *         &lt;element ref="{http://ebean-orm.github.io/xml/ns/autotune}origin" maxOccurs="unbounded" minOccurs="0"/>
022 *         &lt;element ref="{http://ebean-orm.github.io/xml/ns/autotune}profileDiff" minOccurs="0"/>
023 *         &lt;element ref="{http://ebean-orm.github.io/xml/ns/autotune}profileNew" minOccurs="0"/>
024 *         &lt;element ref="{http://ebean-orm.github.io/xml/ns/autotune}profileEmpty" minOccurs="0"/>
025 *       &lt;/sequence>
026 *     &lt;/restriction>
027 *   &lt;/complexContent>
028 * &lt;/complexType>
029 * </pre>
030 */
031@XmlAccessorType(XmlAccessType.FIELD)
032@XmlType(name = "", propOrder = {
033  "origin",
034  "profileDiff",
035  "profileNew",
036  "profileEmpty"
037})
038@XmlRootElement(name = "autotune")
039public class Autotune {
040
041  protected List<Origin> origin;
042  protected ProfileDiff profileDiff;
043  protected ProfileNew profileNew;
044  protected ProfileEmpty profileEmpty;
045
046  /**
047   * Gets the value of the origin property.
048   * <p>
049   * <p>
050   * This accessor method returns a reference to the live list,
051   * not a snapshot. Therefore any modification you make to the
052   * returned list will be present inside the JAXB object.
053   * This is why there is not a <CODE>set</CODE> method for the origin property.
054   * <p>
055   * <p>
056   * For example, to add a new item, do as follows:
057   * <pre>
058   *    getOrigin().add(newItem);
059   * </pre>
060   * <p>
061   * <p>
062   * <p>
063   * Objects of the following type(s) are allowed in the list
064   * {@link Origin }
065   */
066  public List<Origin> getOrigin() {
067    if (origin == null) {
068      origin = new ArrayList<>();
069    }
070    return this.origin;
071  }
072
073  /**
074   * Gets the value of the profileDiff property.
075   *
076   * @return possible object is
077   * {@link ProfileDiff }
078   */
079  public ProfileDiff getProfileDiff() {
080    return profileDiff;
081  }
082
083  /**
084   * Sets the value of the profileDiff property.
085   *
086   * @param value allowed object is
087   *              {@link ProfileDiff }
088   */
089  public void setProfileDiff(ProfileDiff value) {
090    this.profileDiff = value;
091  }
092
093  /**
094   * Gets the value of the profileNew property.
095   *
096   * @return possible object is
097   * {@link ProfileNew }
098   */
099  public ProfileNew getProfileNew() {
100    return profileNew;
101  }
102
103  /**
104   * Sets the value of the profileNew property.
105   *
106   * @param value allowed object is
107   *              {@link ProfileNew }
108   */
109  public void setProfileNew(ProfileNew value) {
110    this.profileNew = value;
111  }
112
113  /**
114   * Gets the value of the profileEmpty property.
115   *
116   * @return possible object is
117   * {@link ProfileEmpty }
118   */
119  public ProfileEmpty getProfileEmpty() {
120    return profileEmpty;
121  }
122
123  /**
124   * Sets the value of the profileEmpty property.
125   *
126   * @param value allowed object is
127   *              {@link ProfileEmpty }
128   */
129  public void setProfileEmpty(ProfileEmpty value) {
130    this.profileEmpty = value;
131  }
132
133}