Class JaxbCascadeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.spi.JaxbCascadeType
-
- All Implemented Interfaces:
Serializable
public class JaxbCascadeType extends Object implements Serializable
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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JaxbEmptyTypecascadeAllprotected JaxbEmptyTypecascadeDetachprotected JaxbEmptyTypecascadeMergeprotected JaxbEmptyTypecascadePersistprotected JaxbEmptyTypecascadeRefreshprotected JaxbEmptyTypecascadeRemove
-
Constructor Summary
Constructors Constructor Description JaxbCascadeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxbEmptyTypegetCascadeAll()Gets the value of the cascadeAll property.JaxbEmptyTypegetCascadeDetach()Gets the value of the cascadeDetach property.JaxbEmptyTypegetCascadeMerge()Gets the value of the cascadeMerge property.JaxbEmptyTypegetCascadePersist()Gets the value of the cascadePersist property.JaxbEmptyTypegetCascadeRefresh()Gets the value of the cascadeRefresh property.JaxbEmptyTypegetCascadeRemove()Gets the value of the cascadeRemove property.voidsetCascadeAll(JaxbEmptyType value)Sets the value of the cascadeAll property.voidsetCascadeDetach(JaxbEmptyType value)Sets the value of the cascadeDetach property.voidsetCascadeMerge(JaxbEmptyType value)Sets the value of the cascadeMerge property.voidsetCascadePersist(JaxbEmptyType value)Sets the value of the cascadePersist property.voidsetCascadeRefresh(JaxbEmptyType value)Sets the value of the cascadeRefresh property.voidsetCascadeRemove(JaxbEmptyType value)Sets the value of the cascadeRemove property.
-
-
-
Field Detail
-
cascadeAll
protected JaxbEmptyType cascadeAll
-
cascadePersist
protected JaxbEmptyType cascadePersist
-
cascadeMerge
protected JaxbEmptyType cascadeMerge
-
cascadeRemove
protected JaxbEmptyType cascadeRemove
-
cascadeRefresh
protected JaxbEmptyType cascadeRefresh
-
cascadeDetach
protected JaxbEmptyType cascadeDetach
-
-
Method Detail
-
getCascadeAll
public JaxbEmptyType getCascadeAll()
Gets the value of the cascadeAll property.- Returns:
- possible object is
JaxbEmptyType
-
setCascadeAll
public void setCascadeAll(JaxbEmptyType value)
Sets the value of the cascadeAll property.- Parameters:
value- allowed object isJaxbEmptyType
-
getCascadePersist
public JaxbEmptyType getCascadePersist()
Gets the value of the cascadePersist property.- Returns:
- possible object is
JaxbEmptyType
-
setCascadePersist
public void setCascadePersist(JaxbEmptyType value)
Sets the value of the cascadePersist property.- Parameters:
value- allowed object isJaxbEmptyType
-
getCascadeMerge
public JaxbEmptyType getCascadeMerge()
Gets the value of the cascadeMerge property.- Returns:
- possible object is
JaxbEmptyType
-
setCascadeMerge
public void setCascadeMerge(JaxbEmptyType value)
Sets the value of the cascadeMerge property.- Parameters:
value- allowed object isJaxbEmptyType
-
getCascadeRemove
public JaxbEmptyType getCascadeRemove()
Gets the value of the cascadeRemove property.- Returns:
- possible object is
JaxbEmptyType
-
setCascadeRemove
public void setCascadeRemove(JaxbEmptyType value)
Sets the value of the cascadeRemove property.- Parameters:
value- allowed object isJaxbEmptyType
-
getCascadeRefresh
public JaxbEmptyType getCascadeRefresh()
Gets the value of the cascadeRefresh property.- Returns:
- possible object is
JaxbEmptyType
-
setCascadeRefresh
public void setCascadeRefresh(JaxbEmptyType value)
Sets the value of the cascadeRefresh property.- Parameters:
value- allowed object isJaxbEmptyType
-
getCascadeDetach
public JaxbEmptyType getCascadeDetach()
Gets the value of the cascadeDetach property.- Returns:
- possible object is
JaxbEmptyType
-
setCascadeDetach
public void setCascadeDetach(JaxbEmptyType value)
Sets the value of the cascadeDetach property.- Parameters:
value- allowed object isJaxbEmptyType
-
-