org.hibernate.jpamodelgen.xml.jaxb.CascadeType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-jpamodelgen Show documentation
Show all versions of hibernate-jpamodelgen Show documentation
Annotation Processor to generate JPA 2 static metamodel classes
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.01.16 at 03:04:29 PM CST
//
package org.hibernate.jpamodelgen.xml.jaxb;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
*
* public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH, DETACH};
*
*
*
* Java class for cascade-type complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="cascade-type">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="cascade-all" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="cascade-persist" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="cascade-merge" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="cascade-remove" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="cascade-refresh" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* <element name="cascade-detach" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cascade-type", propOrder = {
"cascadeAll",
"cascadePersist",
"cascadeMerge",
"cascadeRemove",
"cascadeRefresh",
"cascadeDetach"
})
public class CascadeType {
@XmlElement(name = "cascade-all")
protected EmptyType cascadeAll;
@XmlElement(name = "cascade-persist")
protected EmptyType cascadePersist;
@XmlElement(name = "cascade-merge")
protected EmptyType cascadeMerge;
@XmlElement(name = "cascade-remove")
protected EmptyType cascadeRemove;
@XmlElement(name = "cascade-refresh")
protected EmptyType cascadeRefresh;
@XmlElement(name = "cascade-detach")
protected EmptyType cascadeDetach;
/**
* Gets the value of the cascadeAll property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getCascadeAll() {
return cascadeAll;
}
/**
* Sets the value of the cascadeAll property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setCascadeAll(EmptyType value) {
this.cascadeAll = value;
}
/**
* Gets the value of the cascadePersist property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getCascadePersist() {
return cascadePersist;
}
/**
* Sets the value of the cascadePersist property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setCascadePersist(EmptyType value) {
this.cascadePersist = value;
}
/**
* Gets the value of the cascadeMerge property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getCascadeMerge() {
return cascadeMerge;
}
/**
* Sets the value of the cascadeMerge property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setCascadeMerge(EmptyType value) {
this.cascadeMerge = value;
}
/**
* Gets the value of the cascadeRemove property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getCascadeRemove() {
return cascadeRemove;
}
/**
* Sets the value of the cascadeRemove property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setCascadeRemove(EmptyType value) {
this.cascadeRemove = value;
}
/**
* Gets the value of the cascadeRefresh property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getCascadeRefresh() {
return cascadeRefresh;
}
/**
* Sets the value of the cascadeRefresh property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setCascadeRefresh(EmptyType value) {
this.cascadeRefresh = value;
}
/**
* Gets the value of the cascadeDetach property.
*
* @return
* possible object is
* {@link EmptyType }
*
*/
public EmptyType getCascadeDetach() {
return cascadeDetach;
}
/**
* Sets the value of the cascadeDetach property.
*
* @param value
* allowed object is
* {@link EmptyType }
*
*/
public void setCascadeDetach(EmptyType value) {
this.cascadeDetach = value;
}
}