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 * <p>Java class for anonymous complex type.
013 * <p>
014 * <p>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;/sequence>
023 *     &lt;/restriction>
024 *   &lt;/complexContent>
025 * &lt;/complexType>
026 * </pre>
027 */
028@XmlAccessorType(XmlAccessType.FIELD)
029@XmlType(name = "", propOrder = {
030  "origin"
031})
032@XmlRootElement(name = "profileEmpty")
033public class ProfileEmpty {
034
035  protected List<Origin> origin;
036
037  /**
038   * Gets the value of the origin property.
039   * <p>
040   * <p>
041   * This accessor method returns a reference to the live list,
042   * not a snapshot. Therefore any modification you make to the
043   * returned list will be present inside the JAXB object.
044   * This is why there is not a <CODE>set</CODE> method for the origin property.
045   * <p>
046   * <p>
047   * For example, to add a new item, do as follows:
048   * <pre>
049   *    getOrigin().add(newItem);
050   * </pre>
051   * <p>
052   * <p>
053   * <p>
054   * Objects of the following type(s) are allowed in the list
055   * {@link Origin }
056   */
057  public List<Origin> getOrigin() {
058    if (origin == null) {
059      origin = new ArrayList<>();
060    }
061    return this.origin;
062  }
063
064}