org.springframework.validation

Class BeanPropertyBindingResult

    • Constructor Detail

      • BeanPropertyBindingResult

        public BeanPropertyBindingResult(@Nullable
                                         java.lang.Object target,
                                         java.lang.String objectName)
        Creates a new instance of the BeanPropertyBindingResult class.
        Parameters:
        target - the target bean to bind onto
        objectName - the name of the target object
      • BeanPropertyBindingResult

        public BeanPropertyBindingResult(@Nullable
                                         java.lang.Object target,
                                         java.lang.String objectName,
                                         boolean autoGrowNestedPaths,
                                         int autoGrowCollectionLimit)
        Creates a new instance of the BeanPropertyBindingResult class.
        Parameters:
        target - the target bean to bind onto
        objectName - the name of the target object
        autoGrowNestedPaths - whether to "auto-grow" a nested path that contains a null value
        autoGrowCollectionLimit - the limit for array and collection auto-growing