001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2018.12.10 at 03:02:30 PM PST 006// 007 008 009package org.microbean.jpa.jaxb; 010 011import java.util.ArrayList; 012import java.util.List; 013import javax.xml.bind.annotation.XmlAccessType; 014import javax.xml.bind.annotation.XmlAccessorType; 015import javax.xml.bind.annotation.XmlElement; 016import javax.xml.bind.annotation.XmlType; 017 018 019/** 020 * 021 * 022 * @Target({TYPE}) @Retention(RUNTIME) 023 * public @interface EntityListeners { 024 * Class[] value(); 025 * } 026 * 027 * 028 * 029 * <p>Java class for entity-listeners complex type. 030 * 031 * <p>The following schema fragment specifies the expected content contained within this class. 032 * 033 * <pre> 034 * <complexType name="entity-listeners"> 035 * <complexContent> 036 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 037 * <sequence> 038 * <element name="entity-listener" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity-listener" maxOccurs="unbounded" minOccurs="0"/> 039 * </sequence> 040 * </restriction> 041 * </complexContent> 042 * </complexType> 043 * </pre> 044 * 045 * 046 */ 047@XmlAccessorType(XmlAccessType.FIELD) 048@XmlType(name = "entity-listeners", propOrder = { 049 "entityListener" 050}) 051public class EntityListeners { 052 053 @XmlElement(name = "entity-listener") 054 protected List<EntityListener> entityListener; 055 056 /** 057 * Gets the value of the entityListener property. 058 * 059 * <p> 060 * This accessor method returns a reference to the live list, 061 * not a snapshot. Therefore any modification you make to the 062 * returned list will be present inside the JAXB object. 063 * This is why there is not a <CODE>set</CODE> method for the entityListener property. 064 * 065 * <p> 066 * For example, to add a new item, do as follows: 067 * <pre> 068 * getEntityListener().add(newItem); 069 * </pre> 070 * 071 * 072 * <p> 073 * Objects of the following type(s) are allowed in the list 074 * {@link EntityListener } 075 * 076 * 077 */ 078 public List<EntityListener> getEntityListener() { 079 if (entityListener == null) { 080 entityListener = new ArrayList<EntityListener>(); 081 } 082 return this.entityListener; 083 } 084 085}