public class CascadeType
extends java.lang.Object
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://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-persist" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-merge" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-remove" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-refresh" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
<element name="cascade-detach" type="{http://java.sun.com/xml/ns/persistence/orm}emptyType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| 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 |
|---|---|
boolean |
isCascadeAll()
Gets the value of the cascadeAll property.
|
boolean |
isCascadeDetach()
Gets the value of the cascadeDetach property.
|
boolean |
isCascadeMerge()
Gets the value of the cascadeMerge property.
|
boolean |
isCascadePersist()
Gets the value of the cascadePersist property.
|
boolean |
isCascadeRefresh()
Gets the value of the cascadeRefresh property.
|
boolean |
isCascadeRemove()
Gets the value of the cascadeRemove property.
|
void |
setCascadeAll(boolean value)
Sets the value of the cascadeAll property.
|
void |
setCascadeDetach(boolean value)
Sets the value of the cascadeDetach property.
|
void |
setCascadeMerge(boolean value)
Sets the value of the cascadeMerge property.
|
void |
setCascadePersist(boolean value)
Sets the value of the cascadePersist property.
|
void |
setCascadeRefresh(boolean value)
Sets the value of the cascadeRefresh property.
|
void |
setCascadeRemove(boolean 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 boolean isCascadeAll()
boolean public void setCascadeAll(boolean value)
value - allowed object is
boolean public boolean isCascadePersist()
boolean public void setCascadePersist(boolean value)
value - allowed object is
boolean public boolean isCascadeMerge()
boolean public void setCascadeMerge(boolean value)
value - allowed object is
boolean public boolean isCascadeRemove()
boolean public void setCascadeRemove(boolean value)
value - allowed object is
boolean public boolean isCascadeRefresh()
boolean public void setCascadeRefresh(boolean value)
value - allowed object is
boolean public boolean isCascadeDetach()
boolean public void setCascadeDetach(boolean value)
value - allowed object is
boolean