接口 BeanWrapper

    • 方法详细资料

      • setAutoGrowCollectionLimit

        void setAutoGrowCollectionLimit​(int autoGrowCollectionLimit)
        Specify a limit for array and collection auto-growing.

        Default is unlimited on a plain BeanWrapper.

        从以下版本开始:
        4.1
      • getAutoGrowCollectionLimit

        int getAutoGrowCollectionLimit()
        Return the limit for array and collection auto-growing.
        从以下版本开始:
        4.1
      • getWrappedInstance

        Object getWrappedInstance()
        Return the bean instance wrapped by this object, if any.
        返回:
        the bean instance, or null if none set
      • getWrappedClass

        Class<?> getWrappedClass()
        Return the type of the wrapped JavaBean object.
        返回:
        the type of the wrapped bean instance, or null if no wrapped object has been set
      • getPropertyDescriptors

        PropertyDescriptor[] getPropertyDescriptors()
        Obtain the PropertyDescriptors for the wrapped object (as determined by standard JavaBeans introspection).
        返回:
        the PropertyDescriptors for the wrapped object