org.hibernate.boot.jaxb.mapping.spi.JaxbCascadeType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.12.16 at 08:34:01 AM UTC
//
package org.hibernate.boot.jaxb.mapping.spi;
import java.io.Serializable;
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", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm", propOrder = {
"cascadeAll",
"cascadePersist",
"cascadeMerge",
"cascadeRemove",
"cascadeRefresh",
"cascadeDetach"
})
public class JaxbCascadeType
implements Serializable
{
@XmlElement(name = "cascade-all", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm")
protected JaxbEmptyType cascadeAll;
@XmlElement(name = "cascade-persist", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm")
protected JaxbEmptyType cascadePersist;
@XmlElement(name = "cascade-merge", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm")
protected JaxbEmptyType cascadeMerge;
@XmlElement(name = "cascade-remove", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm")
protected JaxbEmptyType cascadeRemove;
@XmlElement(name = "cascade-refresh", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm")
protected JaxbEmptyType cascadeRefresh;
@XmlElement(name = "cascade-detach", namespace = "http://xmlns.jcp.org/xml/ns/persistence/orm")
protected JaxbEmptyType cascadeDetach;
/**
* Gets the value of the cascadeAll property.
*
* @return
* possible object is
* {@link JaxbEmptyType }
*
*/
public JaxbEmptyType getCascadeAll() {
return cascadeAll;
}
/**
* Sets the value of the cascadeAll property.
*
* @param value
* allowed object is
* {@link JaxbEmptyType }
*
*/
public void setCascadeAll(JaxbEmptyType value) {
this.cascadeAll = value;
}
/**
* Gets the value of the cascadePersist property.
*
* @return
* possible object is
* {@link JaxbEmptyType }
*
*/
public JaxbEmptyType getCascadePersist() {
return cascadePersist;
}
/**
* Sets the value of the cascadePersist property.
*
* @param value
* allowed object is
* {@link JaxbEmptyType }
*
*/
public void setCascadePersist(JaxbEmptyType value) {
this.cascadePersist = value;
}
/**
* Gets the value of the cascadeMerge property.
*
* @return
* possible object is
* {@link JaxbEmptyType }
*
*/
public JaxbEmptyType getCascadeMerge() {
return cascadeMerge;
}
/**
* Sets the value of the cascadeMerge property.
*
* @param value
* allowed object is
* {@link JaxbEmptyType }
*
*/
public void setCascadeMerge(JaxbEmptyType value) {
this.cascadeMerge = value;
}
/**
* Gets the value of the cascadeRemove property.
*
* @return
* possible object is
* {@link JaxbEmptyType }
*
*/
public JaxbEmptyType getCascadeRemove() {
return cascadeRemove;
}
/**
* Sets the value of the cascadeRemove property.
*
* @param value
* allowed object is
* {@link JaxbEmptyType }
*
*/
public void setCascadeRemove(JaxbEmptyType value) {
this.cascadeRemove = value;
}
/**
* Gets the value of the cascadeRefresh property.
*
* @return
* possible object is
* {@link JaxbEmptyType }
*
*/
public JaxbEmptyType getCascadeRefresh() {
return cascadeRefresh;
}
/**
* Sets the value of the cascadeRefresh property.
*
* @param value
* allowed object is
* {@link JaxbEmptyType }
*
*/
public void setCascadeRefresh(JaxbEmptyType value) {
this.cascadeRefresh = value;
}
/**
* Gets the value of the cascadeDetach property.
*
* @return
* possible object is
* {@link JaxbEmptyType }
*
*/
public JaxbEmptyType getCascadeDetach() {
return cascadeDetach;
}
/**
* Sets the value of the cascadeDetach property.
*
* @param value
* allowed object is
* {@link JaxbEmptyType }
*
*/
public void setCascadeDetach(JaxbEmptyType value) {
this.cascadeDetach = value;
}
}