001package io.ebeaninternal.dbmigration.migration; 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 * <complexType> 018 * <complexContent> 019 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 020 * <sequence> 021 * <element ref="{http://ebean-orm.github.io/xml/ns/dbmigration}application" maxOccurs="unbounded" minOccurs="0"/> 022 * </sequence> 023 * </restriction> 024 * </complexContent> 025 * </complexType> 026 * </pre> 027 */ 028@XmlAccessorType(XmlAccessType.FIELD) 029@XmlType(name = "", propOrder = { 030 "application" 031}) 032@XmlRootElement(name = "applications") 033public class Applications { 034 035 protected List<Application> application; 036 037 /** 038 * Gets the value of the application 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 application property. 045 * <p> 046 * <p> 047 * For example, to add a new item, do as follows: 048 * <pre> 049 * getApplication().add(newItem); 050 * </pre> 051 * <p> 052 * <p> 053 * <p> 054 * Objects of the following type(s) are allowed in the list 055 * {@link Application } 056 */ 057 public List<Application> getApplication() { 058 if (application == null) { 059 application = new ArrayList<>(); 060 } 061 return this.application; 062 } 063 064}