|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.java.xml.ns.persistence.orm.CascadeType
public class 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="{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>
| Field Summary | |
|---|---|
protected EmptyType |
cascadeAll
|
protected EmptyType |
cascadeDetach
|
protected EmptyType |
cascadeMerge
|
protected EmptyType |
cascadePersist
|
protected EmptyType |
cascadeRefresh
|
protected EmptyType |
cascadeRemove
|
| Constructor Summary | |
|---|---|
CascadeType()
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
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. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
|
void |
mergeFrom(Object left,
Object right)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EmptyType cascadeAll
protected EmptyType cascadePersist
protected EmptyType cascadeMerge
protected EmptyType cascadeRemove
protected EmptyType cascadeRefresh
protected EmptyType cascadeDetach
| Constructor Detail |
|---|
public CascadeType()
| Method Detail |
|---|
public EmptyType getCascadeAll()
EmptyTypepublic void setCascadeAll(EmptyType value)
value - allowed object is
EmptyTypepublic EmptyType getCascadePersist()
EmptyTypepublic void setCascadePersist(EmptyType value)
value - allowed object is
EmptyTypepublic EmptyType getCascadeMerge()
EmptyTypepublic void setCascadeMerge(EmptyType value)
value - allowed object is
EmptyTypepublic EmptyType getCascadeRemove()
EmptyTypepublic void setCascadeRemove(EmptyType value)
value - allowed object is
EmptyTypepublic EmptyType getCascadeRefresh()
EmptyTypepublic void setCascadeRefresh(EmptyType value)
value - allowed object is
EmptyTypepublic EmptyType getCascadeDetach()
EmptyTypepublic void setCascadeDetach(EmptyType value)
value - allowed object is
EmptyType
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||