public class CascadeStyles extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CascadeStyles.BaseCascadeStyle |
static class |
CascadeStyles.MultipleCascadeStyle |
Modifier and Type | Field and Description |
---|---|
static CascadeStyle |
ALL
save / delete / update / evict / lock / replicate / merge / persist
|
static CascadeStyle |
ALL_DELETE_ORPHAN
save / delete / update / evict / lock / replicate / merge / persist + delete orphans
|
static CascadeStyle |
DELETE
delete
|
static CascadeStyle |
DELETE_ORPHAN
delete + delete orphans
|
static CascadeStyle |
EVICT
evict
|
static CascadeStyle |
LOCK
lock
|
static CascadeStyle |
MERGE
merge
|
static CascadeStyle |
NONE
no cascades
|
static CascadeStyle |
PERSIST
create
|
static CascadeStyle |
REFRESH
refresh
|
static CascadeStyle |
REPLICATE
replicate
|
static CascadeStyle |
UPDATE
save / update
|
Modifier and Type | Method and Description |
---|---|
static CascadeStyle |
getCascadeStyle(String cascade)
Factory method for obtaining named cascade styles
|
static void |
registerCascadeStyle(String name,
CascadeStyles.BaseCascadeStyle cascadeStyle) |
public static final CascadeStyle ALL_DELETE_ORPHAN
public static final CascadeStyle ALL
public static final CascadeStyle UPDATE
public static final CascadeStyle LOCK
public static final CascadeStyle REFRESH
public static final CascadeStyle EVICT
public static final CascadeStyle REPLICATE
public static final CascadeStyle MERGE
public static final CascadeStyle PERSIST
public static final CascadeStyle DELETE
public static final CascadeStyle DELETE_ORPHAN
public static final CascadeStyle NONE
public static CascadeStyle getCascadeStyle(String cascade)
cascade
- The named cascade style name.public static void registerCascadeStyle(String name, CascadeStyles.BaseCascadeStyle cascadeStyle)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.