Interface Setter<T,P>

Type Parameters:
T - the target type
P - the property type
All Known Implementing Classes:
AppendCollectionSetter, ConvertDelegateSetter, FieldSetter, IndexedBooleanArraySetter, IndexedByteArraySetter, IndexedCharArraySetter, IndexedDoubleArraySetter, IndexedFloatArraySetter, IndexedIntArraySetter, IndexedListSetter, IndexedLongArraySetter, IndexedObjectArraySetter, IndexedShortArraySetter, MethodSetter, NullSetter, SetterOnGetter

public interface Setter<T,P>
Represent a setter of a property of type P on a object of type T.

use ObjectSetterFactory to instantiate.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(T target, P value)
    Set the properties on the target object to value.
  • Method Details

    • set

      void set(T target, P value) throws Exception
      Set the properties on the target object to value.
      Parameters:
      target - the target to set the value on
      value - the value to set
      Throws:
      Exception - if anything goes wrong