org.springframework.beans

Interface ConfigurablePropertyAccessor

    • Method Detail

      • setConversionService

        void setConversionService(@Nullable
                                  ConversionService conversionService)
        Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors.
      • setExtractOldValueForEditor

        void setExtractOldValueForEditor(boolean extractOldValueForEditor)
        Set whether to extract the old property value when applying a property editor to a new value for a property.
      • isExtractOldValueForEditor

        boolean isExtractOldValueForEditor()
        Return whether to extract the old property value when applying a property editor to a new value for a property.
      • setAutoGrowNestedPaths

        void setAutoGrowNestedPaths(boolean autoGrowNestedPaths)
        Set whether this instance should attempt to "auto-grow" a nested path that contains a null value.

        If true, a null path location will be populated with a default object value and traversed instead of resulting in a NullValueInNestedPathException.

        Default is false on a plain PropertyAccessor instance.

      • isAutoGrowNestedPaths

        boolean isAutoGrowNestedPaths()
        Return whether "auto-growing" of nested paths has been activated.