Class IndexedListSetter<E>

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedListSetter<E>
All Implemented Interfaces:
Setter<List<E>,E>

public class IndexedListSetter<E> extends Object implements Setter<List<E>,E>
  • Constructor Details

    • IndexedListSetter

      public IndexedListSetter(int index)
  • Method Details

    • set

      public void set(List<E> target, E value) throws Exception
      Description copied from interface: Setter
      Set the properties on the target object to value.
      Specified by:
      set in interface Setter<List<E>,E>
      Parameters:
      target - the target to set the value on
      value - the value to set
      Throws:
      Exception - if anything goes wrong