Enum ValidateUnwrappedValue

    • Enum Constant Detail

      • DEFAULT

        public static final ValidateUnwrappedValue DEFAULT
        No specific unwrapping behavior has been defined for this constraint and the default behavior applies: if there is exactly one maximally-specific type-compliant ValueExtractor and this extractor is marked with UnwrapByDefault, this extractor is applied and the constraint is applied to the value(s) wrapped by the annotated container. Otherwise, no value extractor is applied.
      • UNWRAP

        public static final ValidateUnwrappedValue UNWRAP
        The value is unwrapped before validation, i.e. the constraint is applied to the value(s) wrapped by the annotated container.
      • SKIP

        public static final ValidateUnwrappedValue SKIP
        The value is not unwrapped before validation, i.e. the constraint is applied to the annotated element.
    • Method Detail

      • values

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

        public static ValidateUnwrappedValue 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