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.XmlType;
015
016
017/**
018 * 
019 * 
020 *         public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH, DETACH};
021 * 
022 *       
023 * 
024 * <p>Java class for cascade-type complex type.
025 * 
026 * <p>The following schema fragment specifies the expected content contained within this class.
027 * 
028 * <pre>
029 * &lt;complexType name="cascade-type"&gt;
030 *   &lt;complexContent&gt;
031 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
032 *       &lt;sequence&gt;
033 *         &lt;element name="cascade-all" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
034 *         &lt;element name="cascade-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
035 *         &lt;element name="cascade-merge" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
036 *         &lt;element name="cascade-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
037 *         &lt;element name="cascade-refresh" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
038 *         &lt;element name="cascade-detach" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/&gt;
039 *       &lt;/sequence&gt;
040 *     &lt;/restriction&gt;
041 *   &lt;/complexContent&gt;
042 * &lt;/complexType&gt;
043 * </pre>
044 * 
045 * 
046 */
047@XmlAccessorType(XmlAccessType.FIELD)
048@XmlType(name = "cascade-type", propOrder = {
049    "cascadeAll",
050    "cascadePersist",
051    "cascadeMerge",
052    "cascadeRemove",
053    "cascadeRefresh",
054    "cascadeDetach"
055})
056public class CascadeType {
057
058    @XmlElement(name = "cascade-all")
059    protected EmptyType cascadeAll;
060    @XmlElement(name = "cascade-persist")
061    protected EmptyType cascadePersist;
062    @XmlElement(name = "cascade-merge")
063    protected EmptyType cascadeMerge;
064    @XmlElement(name = "cascade-remove")
065    protected EmptyType cascadeRemove;
066    @XmlElement(name = "cascade-refresh")
067    protected EmptyType cascadeRefresh;
068    @XmlElement(name = "cascade-detach")
069    protected EmptyType cascadeDetach;
070
071    /**
072     * Gets the value of the cascadeAll property.
073     * 
074     * @return
075     *     possible object is
076     *     {@link EmptyType }
077     *     
078     */
079    public EmptyType getCascadeAll() {
080        return cascadeAll;
081    }
082
083    /**
084     * Sets the value of the cascadeAll property.
085     * 
086     * @param value
087     *     allowed object is
088     *     {@link EmptyType }
089     *     
090     */
091    public void setCascadeAll(EmptyType value) {
092        this.cascadeAll = value;
093    }
094
095    /**
096     * Gets the value of the cascadePersist property.
097     * 
098     * @return
099     *     possible object is
100     *     {@link EmptyType }
101     *     
102     */
103    public EmptyType getCascadePersist() {
104        return cascadePersist;
105    }
106
107    /**
108     * Sets the value of the cascadePersist property.
109     * 
110     * @param value
111     *     allowed object is
112     *     {@link EmptyType }
113     *     
114     */
115    public void setCascadePersist(EmptyType value) {
116        this.cascadePersist = value;
117    }
118
119    /**
120     * Gets the value of the cascadeMerge property.
121     * 
122     * @return
123     *     possible object is
124     *     {@link EmptyType }
125     *     
126     */
127    public EmptyType getCascadeMerge() {
128        return cascadeMerge;
129    }
130
131    /**
132     * Sets the value of the cascadeMerge property.
133     * 
134     * @param value
135     *     allowed object is
136     *     {@link EmptyType }
137     *     
138     */
139    public void setCascadeMerge(EmptyType value) {
140        this.cascadeMerge = value;
141    }
142
143    /**
144     * Gets the value of the cascadeRemove property.
145     * 
146     * @return
147     *     possible object is
148     *     {@link EmptyType }
149     *     
150     */
151    public EmptyType getCascadeRemove() {
152        return cascadeRemove;
153    }
154
155    /**
156     * Sets the value of the cascadeRemove property.
157     * 
158     * @param value
159     *     allowed object is
160     *     {@link EmptyType }
161     *     
162     */
163    public void setCascadeRemove(EmptyType value) {
164        this.cascadeRemove = value;
165    }
166
167    /**
168     * Gets the value of the cascadeRefresh property.
169     * 
170     * @return
171     *     possible object is
172     *     {@link EmptyType }
173     *     
174     */
175    public EmptyType getCascadeRefresh() {
176        return cascadeRefresh;
177    }
178
179    /**
180     * Sets the value of the cascadeRefresh property.
181     * 
182     * @param value
183     *     allowed object is
184     *     {@link EmptyType }
185     *     
186     */
187    public void setCascadeRefresh(EmptyType value) {
188        this.cascadeRefresh = value;
189    }
190
191    /**
192     * Gets the value of the cascadeDetach property.
193     * 
194     * @return
195     *     possible object is
196     *     {@link EmptyType }
197     *     
198     */
199    public EmptyType getCascadeDetach() {
200        return cascadeDetach;
201    }
202
203    /**
204     * Sets the value of the cascadeDetach property.
205     * 
206     * @param value
207     *     allowed object is
208     *     {@link EmptyType }
209     *     
210     */
211    public void setCascadeDetach(EmptyType value) {
212        this.cascadeDetach = value;
213    }
214
215}