Class IndexedBooleanArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedBooleanArraySetter
All Implemented Interfaces:
BooleanSetter<boolean[]>, Setter<boolean[],Boolean>

public final class IndexedBooleanArraySetter extends Object implements Setter<boolean[],Boolean>, BooleanSetter<boolean[]>
  • Constructor Details

    • IndexedBooleanArraySetter

      public IndexedBooleanArraySetter(int index)
  • Method Details

    • setBoolean

      public void setBoolean(boolean[] target, boolean value) throws Exception
      Specified by:
      setBoolean in interface BooleanSetter<boolean[]>
      Throws:
      Exception
    • set

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