Class IndexedCharArraySetter

java.lang.Object
org.simpleflatmapper.reflect.setter.IndexedCharArraySetter
All Implemented Interfaces:
CharacterSetter<char[]>, Setter<char[],Character>

public final class IndexedCharArraySetter extends Object implements Setter<char[],Character>, CharacterSetter<char[]>
  • Constructor Details

    • IndexedCharArraySetter

      public IndexedCharArraySetter(int index)
  • Method Details

    • setCharacter

      public void setCharacter(char[] target, char value) throws Exception
      Specified by:
      setCharacter in interface CharacterSetter<char[]>
      Throws:
      Exception
    • set

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