001 002package org.avaje.ebean.ignite.config; 003 004import java.util.ArrayList; 005import java.util.List; 006import javax.xml.bind.annotation.XmlAccessType; 007import javax.xml.bind.annotation.XmlAccessorType; 008import javax.xml.bind.annotation.XmlElement; 009import javax.xml.bind.annotation.XmlType; 010 011 012/** 013 * <p>Java class for l2Apply complex type. 014 * 015 * <p>The following schema fragment specifies the expected content contained within this class. 016 * 017 * <pre> 018 * <complexType name="l2Apply"> 019 * <complexContent> 020 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 021 * <sequence> 022 * <element name="match" type="{http://ebean-orm.github.io/xml/ns/ignite}l2CacheMatch" maxOccurs="unbounded" minOccurs="0"/> 023 * </sequence> 024 * </restriction> 025 * </complexContent> 026 * </complexType> 027 * </pre> 028 * 029 * 030 */ 031@XmlAccessorType(XmlAccessType.FIELD) 032@XmlType(name = "l2Apply", propOrder = { 033 "match" 034}) 035public class L2Apply { 036 037 @XmlElement(nillable = true) 038 protected List<L2CacheMatch> match; 039 040 /** 041 * Gets the value of the match property. 042 * 043 * <p> 044 * This accessor method returns a reference to the live list, 045 * not a snapshot. Therefore any modification you make to the 046 * returned list will be present inside the JAXB object. 047 * This is why there is not a <CODE>set</CODE> method for the match property. 048 * 049 * <p> 050 * For example, to add a new item, do as follows: 051 * <pre> 052 * getMatch().add(newItem); 053 * </pre> 054 * 055 * 056 * <p> 057 * Objects of the following type(s) are allowed in the list 058 * {@link L2CacheMatch } 059 * 060 * 061 */ 062 public List<L2CacheMatch> getMatch() { 063 if (match == null) { 064 match = new ArrayList<L2CacheMatch>(); 065 } 066 return this.match; 067 } 068 069}