public abstract class BeanPropertyMutator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
index
Index of the property setter or field.
|
protected com.fasterxml.jackson.databind.deser.SettableBeanProperty |
originalMutator
Mutator we have to call if an access exception is encountered
durign operation
|
| Modifier | Constructor and Description |
|---|---|
protected |
BeanPropertyMutator()
Default constructor used for creating a "blueprint" instance, from
which per-field/per-method instances specialize.
|
protected |
BeanPropertyMutator(com.fasterxml.jackson.databind.deser.SettableBeanProperty origM,
int ix) |
| Modifier and Type | Method and Description |
|---|---|
void |
booleanField(Object bean,
boolean value) |
protected void |
booleanField(Object bean,
int propertyIndex,
boolean value) |
void |
booleanSetter(Object bean,
boolean value) |
protected void |
booleanSetter(Object bean,
int propertyIndex,
boolean value) |
void |
intField(Object bean,
int value) |
protected void |
intField(Object bean,
int propertyIndex,
int value) |
void |
intSetter(Object bean,
int value) |
protected void |
intSetter(Object bean,
int propertyIndex,
int value) |
protected void |
longField(Object bean,
int propertyIndex,
long value) |
void |
longField(Object bean,
long value) |
protected void |
longSetter(Object bean,
int propertyIndex,
long value) |
void |
longSetter(Object bean,
long value) |
protected void |
objectField(Object bean,
int propertyIndex,
Object value) |
void |
objectField(Object bean,
Object value) |
protected void |
objectSetter(Object bean,
int propertyIndex,
Object value) |
void |
objectSetter(Object bean,
Object value) |
protected void |
stringField(Object bean,
int propertyIndex,
String value) |
void |
stringField(Object bean,
String value) |
protected void |
stringSetter(Object bean,
int propertyIndex,
String value) |
void |
stringSetter(Object bean,
String value) |
abstract BeanPropertyMutator |
with(com.fasterxml.jackson.databind.deser.SettableBeanProperty origM,
int newIndex)
Mutant factory method called to create variant with proper fallback property
to call, index to use for error reporting.
|
protected final com.fasterxml.jackson.databind.deser.SettableBeanProperty originalMutator
protected final int index
protected BeanPropertyMutator()
protected BeanPropertyMutator(com.fasterxml.jackson.databind.deser.SettableBeanProperty origM,
int ix)
public abstract BeanPropertyMutator with(com.fasterxml.jackson.databind.deser.SettableBeanProperty origM, int newIndex)
public void intSetter(Object bean, int value) throws IOException
IOExceptionpublic void longSetter(Object bean, long value) throws IOException
IOExceptionpublic void booleanSetter(Object bean, boolean value) throws IOException
IOExceptionpublic void stringSetter(Object bean, String value) throws IOException
IOExceptionpublic void objectSetter(Object bean, Object value) throws IOException
IOExceptionpublic void intField(Object bean, int value) throws IOException
IOExceptionpublic void longField(Object bean, long value) throws IOException
IOExceptionpublic void booleanField(Object bean, boolean value) throws IOException
IOExceptionpublic void stringField(Object bean, String value) throws IOException
IOExceptionpublic void objectField(Object bean, Object value) throws IOException
IOExceptionprotected void intSetter(Object bean, int propertyIndex, int value)
protected void longSetter(Object bean, int propertyIndex, long value)
protected void booleanSetter(Object bean, int propertyIndex, boolean value)
protected void intField(Object bean, int propertyIndex, int value)
protected void longField(Object bean, int propertyIndex, long value)
protected void booleanField(Object bean, int propertyIndex, boolean value)
Copyright © 2016 FasterXML. All rights reserved.