|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.jpa.CascadeType
public class CascadeType
public enum CascadeType { ALL, PERSIST, MERGE, REMOVE, REFRESH};
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"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected EmptyType |
cascadeAll
|
protected EmptyType |
cascadeMerge
|
protected EmptyType |
cascadePersist
|
protected EmptyType |
cascadeRefresh
|
protected EmptyType |
cascadeRemove
|
| Constructor Summary | |
|---|---|
CascadeType()
|
|
| Method Summary | |
|---|---|
boolean |
isCascadeAll()
Gets the value of the cascadeAll 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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EmptyType cascadeAll
protected EmptyType cascadePersist
protected EmptyType cascadeMerge
protected EmptyType cascadeRemove
protected EmptyType cascadeRefresh
| Constructor Detail |
|---|
public CascadeType()
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||