net.vidageek.mirror.set
Class FieldSetterByField

java.lang.Object
  extended by net.vidageek.mirror.set.FieldSetterByField
All Implemented Interfaces:
FieldSetter

public final class FieldSetterByField
extends Object
implements FieldSetter

Author:
jonasabreu

Constructor Summary
FieldSetterByField(ReflectionProvider provider, Object target, Class<?> clazz, Field field)
           
 
Method Summary
 void withValue(Object value)
          Use this method to set a value on the wrapped field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldSetterByField

public FieldSetterByField(ReflectionProvider provider,
                          Object target,
                          Class<?> clazz,
                          Field field)
Method Detail

withValue

public void withValue(Object value)
Description copied from interface: FieldSetter
Use this method to set a value on the wrapped field.

Specified by:
withValue in interface FieldSetter
Parameters:
value - Value to be set.


Copyright © 2011 VidaGeek.net. All Rights Reserved.