public abstract class PropertyMutator extends BeanProperty implements Comparable<PropertyMutator>
Modifier and Type | Class and Description |
---|---|
static class |
PropertyMutator.FieldMutator |
static class |
PropertyMutator.MethodMutator |
annotations, concreteClass, declaringClass, modifiers, name, type
Modifier | Constructor and Description |
---|---|
protected |
PropertyMutator(String name,
Type type,
Class<?> declaringClass,
Class<?> concreteClass,
Annotation[] annotations,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PropertyMutator o) |
protected JsonBindingException |
couldNotDeserialize(Throwable e) |
protected JsonBindingException |
couldNotMutate(Exception e) |
void |
deserialize(Object into,
ObjectReader reader,
Context ctx) |
Object |
deserialize(ObjectReader reader,
Context ctx) |
abstract void |
mutate(Object target,
Object value) |
aliases, getAnnotation, getConcreteClass, getDeclaringClass, getModifiers, getName, getRawClass, getType
protected PropertyMutator(String name, Type type, Class<?> declaringClass, Class<?> concreteClass, Annotation[] annotations, int modifiers)
public Object deserialize(ObjectReader reader, Context ctx)
public void deserialize(Object into, ObjectReader reader, Context ctx)
public int compareTo(PropertyMutator o)
compareTo
in interface Comparable<PropertyMutator>
protected JsonBindingException couldNotMutate(Exception e)
protected JsonBindingException couldNotDeserialize(Throwable e)
Copyright © 2019. All rights reserved.