net.sourceforge.jpaxjc.ns.persistence.orm
Class CascadeType

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.CascadeType
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class CascadeType
extends Object
implements Cloneable

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()
          Creates a new CascadeType instance.
CascadeType(CascadeType o)
          Creates a new CascadeType instance by deeply copying a given CascadeType instance.
 
Method Summary
 CascadeType clone()
          Creates and returns a deep copy of this object.
 EmptyType getCascadeAll()
          Gets the value of the cascadeAll 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 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cascadeAll

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected EmptyType cascadeAll

cascadePersist

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected EmptyType cascadePersist

cascadeMerge

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected EmptyType cascadeMerge

cascadeRemove

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected EmptyType cascadeRemove

cascadeRefresh

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected EmptyType cascadeRefresh
Constructor Detail

CascadeType

public CascadeType()
Creates a new CascadeType instance.


CascadeType

public CascadeType(CascadeType o)
Creates a new CascadeType instance by deeply copying a given CascadeType instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getCascadeAll

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmptyType getCascadeAll()
Gets the value of the cascadeAll property.

Returns:
possible object is EmptyType

setCascadeAll

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCascadeAll(EmptyType value)
Sets the value of the cascadeAll property.

Parameters:
value - allowed object is EmptyType

getCascadePersist

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmptyType getCascadePersist()
Gets the value of the cascadePersist property.

Returns:
possible object is EmptyType

setCascadePersist

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCascadePersist(EmptyType value)
Sets the value of the cascadePersist property.

Parameters:
value - allowed object is EmptyType

getCascadeMerge

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmptyType getCascadeMerge()
Gets the value of the cascadeMerge property.

Returns:
possible object is EmptyType

setCascadeMerge

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCascadeMerge(EmptyType value)
Sets the value of the cascadeMerge property.

Parameters:
value - allowed object is EmptyType

getCascadeRemove

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmptyType getCascadeRemove()
Gets the value of the cascadeRemove property.

Returns:
possible object is EmptyType

setCascadeRemove

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCascadeRemove(EmptyType value)
Sets the value of the cascadeRemove property.

Parameters:
value - allowed object is EmptyType

getCascadeRefresh

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmptyType getCascadeRefresh()
Gets the value of the cascadeRefresh property.

Returns:
possible object is EmptyType

setCascadeRefresh

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setCascadeRefresh(EmptyType value)
Sets the value of the cascadeRefresh property.

Parameters:
value - allowed object is EmptyType

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public CascadeType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.