Package org.hibernate.processor.xml.jaxb
Class CascadeType
java.lang.Object
org.hibernate.processor.xml.jaxb.CascadeType
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="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-persist" type="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-merge" type="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-remove" type="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-refresh" type="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-detach" type="{https://jakarta.ee/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the cascadeAll property.Gets the value of the cascadeDetach property.Gets the value of the cascadeMerge property.Gets the value of the cascadePersist property.Gets the value of the cascadeRefresh property.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.
-
Field Details
-
cascadeAll
-
cascadePersist
-
cascadeMerge
-
cascadeRemove
-
cascadeRefresh
-
cascadeDetach
-
-
Constructor Details
-
CascadeType
public CascadeType()
-
-
Method Details
-
getCascadeAll
Gets the value of the cascadeAll property.- Returns:
- possible object is
EmptyType
-
setCascadeAll
Sets the value of the cascadeAll property.- Parameters:
value
- allowed object isEmptyType
-
getCascadePersist
Gets the value of the cascadePersist property.- Returns:
- possible object is
EmptyType
-
setCascadePersist
Sets the value of the cascadePersist property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeMerge
Gets the value of the cascadeMerge property.- Returns:
- possible object is
EmptyType
-
setCascadeMerge
Sets the value of the cascadeMerge property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeRemove
Gets the value of the cascadeRemove property.- Returns:
- possible object is
EmptyType
-
setCascadeRemove
Sets the value of the cascadeRemove property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeRefresh
Gets the value of the cascadeRefresh property.- Returns:
- possible object is
EmptyType
-
setCascadeRefresh
Sets the value of the cascadeRefresh property.- Parameters:
value
- allowed object isEmptyType
-
getCascadeDetach
Gets the value of the cascadeDetach property.- Returns:
- possible object is
EmptyType
-
setCascadeDetach
Sets the value of the cascadeDetach property.- Parameters:
value
- allowed object isEmptyType
-