01: package org.compass.annotations;
02:
03: /**
04: * Specifies cascading for an object relationship.
05: *
06: * @author kimchy
07: */
08: public enum Cascade {
09: /**
10: * Perform cascading for all operations (create, save, delete).
11: */
12: ALL,
13:
14: /**
15: * Perform cascading for create operations.
16: */
17: CREATE,
18:
19: /**
20: * Perform cascading for save operations.
21: */
22: SAVE,
23:
24: /**
25: * Perform cascading for delete operations.
26: */
27: DELETE
28: }
|