Package com.palantir.ptoss.util
Class Mutator
java.lang.Object
com.palantir.ptoss.util.Mutator
A class that performs the work of reading and setting values on a bound field.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Mutatorcreate(BindingContext context, String target) Creates a new Mutator bound to the passedBindingContext.get()getModel()Class<?>getType()void
-
Method Details
-
create
Creates a new Mutator bound to the passedBindingContext.- Parameters:
context- the context for thisMutatortarget- the model and field to bind thisMutatorto.- Returns:
- the
Mutator - Throws:
IntrospectionException
-
get
public Object get() throws IllegalArgumentException, IllegalAccessException, InvocationTargetException -
getType
-
set
public void set(Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException -
getModel
-
getSetter
-
getGetter
-