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 javax.xml.bind.annotation.XmlAccessType;
012import javax.xml.bind.annotation.XmlAccessorType;
013import javax.xml.bind.annotation.XmlElement;
014import javax.xml.bind.annotation.XmlSchemaType;
015import javax.xml.bind.annotation.XmlType;
016
017
018/**
019 * 
020 * 
021 *         These defaults are applied to the persistence unit as a whole 
022 *         unless they are overridden by local annotation or XML 
023 *         element settings. 
024 *         
025 *         schema - Used as the schema for all tables, secondary tables, join
026 *             tables, collection tables, sequence generators, and table 
027 *             generators that apply to the persistence unit
028 *         catalog - Used as the catalog for all tables, secondary tables, join
029 *             tables, collection tables, sequence generators, and table 
030 *             generators that apply to the persistence unit
031 *         delimited-identifiers - Used to treat database identifiers as
032 *             delimited identifiers.
033 *         access - Used as the access type for all managed classes in
034 *             the persistence unit
035 *         cascade-persist - Adds cascade-persist to the set of cascade options
036 *             in all entity relationships of the persistence unit
037 *         entity-listeners - List of default entity listeners to be invoked 
038 *             on each entity in the persistence unit. 
039 *       
040 * 
041 * <p>Java class for persistence-unit-defaults complex type.
042 * 
043 * <p>The following schema fragment specifies the expected content contained within this class.
044 * 
045 * <pre>
046 * &lt;complexType name="persistence-unit-defaults"&gt;
047 *   &lt;complexContent&gt;
048 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
049 *       &lt;sequence&gt;
050 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
051 *         &lt;element name="schema" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
052 *         &lt;element name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
053 *         &lt;element name="delimited-identifiers" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
054 *         &lt;element name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" minOccurs="0"/&gt;
055 *         &lt;element name="cascade-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
056 *         &lt;element name="entity-listeners" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}entity-listeners" minOccurs="0"/&gt;
057 *       &lt;/sequence&gt;
058 *     &lt;/restriction&gt;
059 *   &lt;/complexContent&gt;
060 * &lt;/complexType&gt;
061 * </pre>
062 * 
063 * 
064 */
065@XmlAccessorType(XmlAccessType.FIELD)
066@XmlType(name = "persistence-unit-defaults", propOrder = {
067    "description",
068    "schema",
069    "catalog",
070    "delimitedIdentifiers",
071    "access",
072    "cascadePersist",
073    "entityListeners"
074})
075public class PersistenceUnitDefaults {
076
077    protected String description;
078    protected String schema;
079    protected String catalog;
080    @XmlElement(name = "delimited-identifiers")
081    protected EmptyType delimitedIdentifiers;
082    @XmlSchemaType(name = "token")
083    protected AccessType access;
084    @XmlElement(name = "cascade-persist")
085    protected EmptyType cascadePersist;
086    @XmlElement(name = "entity-listeners")
087    protected EntityListeners entityListeners;
088
089    /**
090     * Gets the value of the description property.
091     * 
092     * @return
093     *     possible object is
094     *     {@link String }
095     *     
096     */
097    public String getDescription() {
098        return description;
099    }
100
101    /**
102     * Sets the value of the description property.
103     * 
104     * @param value
105     *     allowed object is
106     *     {@link String }
107     *     
108     */
109    public void setDescription(String value) {
110        this.description = value;
111    }
112
113    /**
114     * Gets the value of the schema property.
115     * 
116     * @return
117     *     possible object is
118     *     {@link String }
119     *     
120     */
121    public String getSchema() {
122        return schema;
123    }
124
125    /**
126     * Sets the value of the schema property.
127     * 
128     * @param value
129     *     allowed object is
130     *     {@link String }
131     *     
132     */
133    public void setSchema(String value) {
134        this.schema = value;
135    }
136
137    /**
138     * Gets the value of the catalog property.
139     * 
140     * @return
141     *     possible object is
142     *     {@link String }
143     *     
144     */
145    public String getCatalog() {
146        return catalog;
147    }
148
149    /**
150     * Sets the value of the catalog property.
151     * 
152     * @param value
153     *     allowed object is
154     *     {@link String }
155     *     
156     */
157    public void setCatalog(String value) {
158        this.catalog = value;
159    }
160
161    /**
162     * Gets the value of the delimitedIdentifiers property.
163     * 
164     * @return
165     *     possible object is
166     *     {@link EmptyType }
167     *     
168     */
169    public EmptyType getDelimitedIdentifiers() {
170        return delimitedIdentifiers;
171    }
172
173    /**
174     * Sets the value of the delimitedIdentifiers property.
175     * 
176     * @param value
177     *     allowed object is
178     *     {@link EmptyType }
179     *     
180     */
181    public void setDelimitedIdentifiers(EmptyType value) {
182        this.delimitedIdentifiers = value;
183    }
184
185    /**
186     * Gets the value of the access property.
187     * 
188     * @return
189     *     possible object is
190     *     {@link AccessType }
191     *     
192     */
193    public AccessType getAccess() {
194        return access;
195    }
196
197    /**
198     * Sets the value of the access property.
199     * 
200     * @param value
201     *     allowed object is
202     *     {@link AccessType }
203     *     
204     */
205    public void setAccess(AccessType value) {
206        this.access = value;
207    }
208
209    /**
210     * Gets the value of the cascadePersist property.
211     * 
212     * @return
213     *     possible object is
214     *     {@link EmptyType }
215     *     
216     */
217    public EmptyType getCascadePersist() {
218        return cascadePersist;
219    }
220
221    /**
222     * Sets the value of the cascadePersist property.
223     * 
224     * @param value
225     *     allowed object is
226     *     {@link EmptyType }
227     *     
228     */
229    public void setCascadePersist(EmptyType value) {
230        this.cascadePersist = value;
231    }
232
233    /**
234     * Gets the value of the entityListeners property.
235     * 
236     * @return
237     *     possible object is
238     *     {@link EntityListeners }
239     *     
240     */
241    public EntityListeners getEntityListeners() {
242        return entityListeners;
243    }
244
245    /**
246     * Sets the value of the entityListeners property.
247     * 
248     * @param value
249     *     allowed object is
250     *     {@link EntityListeners }
251     *     
252     */
253    public void setEntityListeners(EntityListeners value) {
254        this.entityListeners = value;
255    }
256
257}