Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: CascadeType.java 11282 2007-03-14 22:05:59Z epbernard $
2
//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
/**
6
 * Defines the set of cascadable operations that are propagated to the associated entity.
7
 * The value cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH}.
8
 *
9
 * @author Emmanuel Bernard
10
 */
11
public enum CascadeType {
12
        /**
13
         * Cascade all operations
14
         */
15
        ALL,
16
        /**
17
         * Cascade persist operations
18
         */
19
        PERSIST,
20
        /**
21
         * Cascade merge operations
22
         */
23
        MERGE,
24
        /**
25
         * Cascade remove operations
26
         */
27
        REMOVE,
28
        /**
29
         * Cascade refresh operations
30
         */
31
        REFRESH
32
}