Class SetterOnGetter<T,I,P>

java.lang.Object
org.simpleflatmapper.reflect.setter.SetterOnGetter<T,I,P>
All Implemented Interfaces:
Setter<T,P>

public class SetterOnGetter<T,I,P> extends Object implements Setter<T,P>
  • Constructor Details

    • SetterOnGetter

      public SetterOnGetter(Setter<T,I> setter, Getter<P,I> getter)
  • Method Details

    • set

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