Class IndexedLongArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedLongArraySetter
All Implemented Interfaces:
LongSetter<long[]>, Setter<long[],Long>

public final class IndexedLongArraySetter extends Object implements Setter<long[],Long>, LongSetter<long[]>
  • Constructor Details

    • IndexedLongArraySetter

      public IndexedLongArraySetter(int index)
  • Method Details

    • setLong

      public void setLong(long[] target, long value) throws Exception
      Specified by:
      setLong in interface LongSetter<long[]>
      Throws:
      Exception
    • set

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