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 * &lt;complexType name="l2Apply">
019 *   &lt;complexContent>
020 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
021 *       &lt;sequence>
022 *         &lt;element name="match" type="{http://ebean-orm.github.io/xml/ns/ignite}l2CacheMatch" maxOccurs="unbounded" minOccurs="0"/>
023 *       &lt;/sequence>
024 *     &lt;/restriction>
025 *   &lt;/complexContent>
026 * &lt;/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}