public enum ForeignKeyDirection extends Enum<ForeignKeyDirection>
| Enum Constant and Description | 
|---|
FROM_PARENT
A foreign key from parent to child 
 | 
TO_PARENT
A foreign key from child to parent 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract boolean | 
cascadeNow(org.hibernate.engine.internal.CascadePoint cascadePoint)
Should we cascade at this cascade point? 
 | 
static ForeignKeyDirection | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ForeignKeyDirection[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ForeignKeyDirection TO_PARENT
public static final ForeignKeyDirection FROM_PARENT
public static ForeignKeyDirection[] values()
for (ForeignKeyDirection c : ForeignKeyDirection.values()) System.out.println(c);
public static ForeignKeyDirection valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract boolean cascadeNow(org.hibernate.engine.internal.CascadePoint cascadePoint)
cascadePoint - The point at which the cascade is being initiated.true if cascading should be performed now.CascadeCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.