Class FillStrategy.Bean<T>

  • All Implemented Interfaces:
    FillStrategy<T>
    Enclosing interface:
    FillStrategy<T>

    public static class FillStrategy.Bean<T>
    extends java.lang.Object
    implements FillStrategy<T>
    Create and populate a bean by invoking setter methods identified by alias name with each array element value as argument.
    • Constructor Detail

      • Bean

        public Bean​(java.lang.Class<T> cls)
    • Method Detail

      • fill

        public T fill​(java.lang.Object[] values,
                      java.lang.Class<?>[] types,
                      java.lang.String[] aliases)
        Specified by:
        fill in interface FillStrategy<T>