public class CascadeType extends Object
public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH, DETACH};
<p>Java class for cascade-type complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected EmptyType |
cascadeAll |
protected EmptyType |
cascadeDetach |
protected EmptyType |
cascadeMerge |
protected EmptyType |
cascadePersist |
protected EmptyType |
cascadeRefresh |
protected EmptyType |
cascadeRemove |
| Constructor and Description |
|---|
CascadeType() |
| Modifier and Type | Method and 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.
|
protected EmptyType cascadeAll
protected EmptyType cascadePersist
protected EmptyType cascadeMerge
protected EmptyType cascadeRemove
protected EmptyType cascadeRefresh
protected EmptyType cascadeDetach
public EmptyType getCascadeAll()
Gets the value of the cascadeAll property.
EmptyTypepublic void setCascadeAll(EmptyType value)
Sets the value of the cascadeAll property.
value - allowed object is
EmptyTypepublic EmptyType getCascadePersist()
Gets the value of the cascadePersist property.
EmptyTypepublic void setCascadePersist(EmptyType value)
Sets the value of the cascadePersist property.
value - allowed object is
EmptyTypepublic EmptyType getCascadeMerge()
Gets the value of the cascadeMerge property.
EmptyTypepublic void setCascadeMerge(EmptyType value)
Sets the value of the cascadeMerge property.
value - allowed object is
EmptyTypepublic EmptyType getCascadeRemove()
Gets the value of the cascadeRemove property.
EmptyTypepublic void setCascadeRemove(EmptyType value)
Sets the value of the cascadeRemove property.
value - allowed object is
EmptyTypepublic EmptyType getCascadeRefresh()
Gets the value of the cascadeRefresh property.
EmptyTypepublic void setCascadeRefresh(EmptyType value)
Sets the value of the cascadeRefresh property.
value - allowed object is
EmptyTypepublic EmptyType getCascadeDetach()
Gets the value of the cascadeDetach property.
EmptyTypeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.