Enum Class SelectType

java.lang.Object
java.lang.Enum<SelectType>
org.seasar.doma.SelectType
All Implemented Interfaces:
Serializable, Comparable<SelectType>, Constable

public enum SelectType extends Enum<SelectType>
Defines strategies for handling an object that is mapped to a result set.
  • Enum Constant Details

    • RETURN

      public static final SelectType RETURN
      The object is returned from a method.
    • STREAM

      public static final SelectType STREAM
      The object is handled by using Stream.
    • COLLECT

      public static final SelectType COLLECT
      The object is handled by using Collector.
  • Method Details

    • values

      public static SelectType[] 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 SelectType 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