Package org.hibernate.loader.ast.spi
Enum CascadingFetchProfile
- java.lang.Object
-
- java.lang.Enum<CascadingFetchProfile>
-
- org.hibernate.loader.ast.spi.CascadingFetchProfile
-
- All Implemented Interfaces:
Serializable
,Comparable<CascadingFetchProfile>
public enum CascadingFetchProfile extends Enum<CascadingFetchProfile>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CascadingFetchProfile
fromLegacyName(String legacyName)
CascadingAction
getCascadingAction()
String
getLegacyName()
static CascadingFetchProfile
valueOf(String name)
Returns the enum constant of this type with the specified name.static CascadingFetchProfile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE
public static final CascadingFetchProfile MERGE
-
REFRESH
public static final CascadingFetchProfile REFRESH
-
-
Method Detail
-
values
public static CascadingFetchProfile[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CascadingFetchProfile c : CascadingFetchProfile.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CascadingFetchProfile valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLegacyName
public String getLegacyName()
-
getCascadingAction
public CascadingAction getCascadingAction()
-
fromLegacyName
public static CascadingFetchProfile fromLegacyName(String legacyName)
-
-