Class IndexedShortArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedShortArraySetter
All Implemented Interfaces:
ShortSetter<short[]>, Setter<short[],Short>

public final class IndexedShortArraySetter extends Object implements Setter<short[],Short>, ShortSetter<short[]>
  • Constructor Details

    • IndexedShortArraySetter

      public IndexedShortArraySetter(int index)
  • Method Details

    • setShort

      public void setShort(short[] target, short value) throws Exception
      Specified by:
      setShort in interface ShortSetter<short[]>
      Throws:
      Exception
    • set

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