- All Implemented Interfaces:
Serializable,Comparable<Templates.SelectMode>,Constable
- Enclosing interface:
Templates
Specifies the selection mode for query operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Templates.SelectModeReturns the enum constant of this class with the specified name.static Templates.SelectMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PK
Only the primary key fields are selected. This mode returns the minimal data necessary to identify records. -
FLAT
Only the fields of the main table are selected, without including nested object hierarchies. This mode is useful if you need the basic attributes of the record without fetching associated records. -
NESTED
The entire object hierarchy is selected. This mode retrieves the full record along with any nested associations, providing a complete view of the entity.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-