Enum NonNullableExpression.NullStrategy

    • Enum Constant Detail

      • USE_DEFAULT_VALUE

        public static final NonNullableExpression.NullStrategy USE_DEFAULT_VALUE
        Whenever the inner expression returns a null value, a specific constant value will be returned by this expression. If this strategy is used, then the class should also implement the corresponding To__OrElseExpression depending on the type.
    • Method Detail

      • values

        public static NonNullableExpression.NullStrategy[] 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 (NonNullableExpression.NullStrategy c : NonNullableExpression.NullStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NonNullableExpression.NullStrategy 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 name
        NullPointerException - if the argument is null