Module storm
Package st.orm

Enum Class Templates.SelectMode

All Implemented Interfaces:
Serializable, Comparable<Templates.SelectMode>, Constable
Enclosing interface:
Templates

public static enum Templates.SelectMode extends Enum<Templates.SelectMode>
Specifies the selection mode for query operations.
  • Enum Constant Details

    • PK

      public static final Templates.SelectMode PK
      Only the primary key fields are selected. This mode returns the minimal data necessary to identify records.
    • FLAT

      public static final Templates.SelectMode 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

      public static final Templates.SelectMode 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

      public static Templates.SelectMode[] 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

      public static Templates.SelectMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null