Class IndexedIntArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedIntArraySetter
All Implemented Interfaces:
IntSetter<int[]>, Setter<int[],Integer>

public final class IndexedIntArraySetter extends Object implements Setter<int[],Integer>, IntSetter<int[]>
  • Constructor Details

    • IndexedIntArraySetter

      public IndexedIntArraySetter(int index)
  • Method Details

    • setInt

      public void setInt(int[] target, int value) throws Exception
      Specified by:
      setInt in interface IntSetter<int[]>
      Throws:
      Exception
    • set

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