Class CascadeType
- java.lang.Object
-
- org.hibernate.jpamodelgen.xml.jaxb.CascadeType
-
public class CascadeType extends java.lang.Object
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected EmptyType
cascadeAll
protected EmptyType
cascadeDetach
protected EmptyType
cascadeMerge
protected EmptyType
cascadePersist
protected EmptyType
cascadeRefresh
protected EmptyType
cascadeRemove
-
Constructor Summary
Constructors Constructor Description CascadeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmptyType
getCascadeAll()
Gets the value of the cascadeAll property.EmptyType
getCascadeDetach()
Gets the value of the cascadeDetach property.EmptyType
getCascadeMerge()
Gets the value of the cascadeMerge property.EmptyType
getCascadePersist()
Gets the value of the cascadePersist property.EmptyType
getCascadeRefresh()
Gets the value of the cascadeRefresh property.EmptyType
getCascadeRemove()
Gets the value of the cascadeRemove property.void
setCascadeAll(EmptyType value)
Sets the value of the cascadeAll property.void
setCascadeDetach(EmptyType value)
Sets the value of the cascadeDetach property.void
setCascadeMerge(EmptyType value)
Sets the value of the cascadeMerge property.void
setCascadePersist(EmptyType value)
Sets the value of the cascadePersist property.void
setCascadeRefresh(EmptyType value)
Sets the value of the cascadeRefresh property.void
setCascadeRemove(EmptyType value)
Sets the value of the cascadeRemove property.
-
-
-
Method Detail
-
getCascadeAll
public EmptyType getCascadeAll()
Gets the value of the cascadeAll property.- Returns:
- possible object is
EmptyType
-
setCascadeAll
public void setCascadeAll(EmptyType value)
Sets the value of the cascadeAll property.- Parameters:
value
- allowed object isEmptyType
-
getCascadePersist
public EmptyType getCascadePersist()
Gets the value of the cascadePersist property.- Returns:
- possible object is
EmptyType
-
setCascadePersist
public void setCascadePersist(EmptyType value)
Sets the value of the cascadePersist property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeMerge
public EmptyType getCascadeMerge()
Gets the value of the cascadeMerge property.- Returns:
- possible object is
EmptyType
-
setCascadeMerge
public void setCascadeMerge(EmptyType value)
Sets the value of the cascadeMerge property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeRemove
public EmptyType getCascadeRemove()
Gets the value of the cascadeRemove property.- Returns:
- possible object is
EmptyType
-
setCascadeRemove
public void setCascadeRemove(EmptyType value)
Sets the value of the cascadeRemove property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeRefresh
public EmptyType getCascadeRefresh()
Gets the value of the cascadeRefresh property.- Returns:
- possible object is
EmptyType
-
setCascadeRefresh
public void setCascadeRefresh(EmptyType value)
Sets the value of the cascadeRefresh property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeDetach
public EmptyType getCascadeDetach()
Gets the value of the cascadeDetach property.- Returns:
- possible object is
EmptyType
-
-