protected abstract static class AbstractNestablePropertyAccessor.PropertyHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
propertyType |
private boolean |
readable |
private boolean |
writable |
Constructor and Description |
---|
PropertyHandler(java.lang.Class<?> propertyType,
boolean readable,
boolean writable) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getCollectionType(int nestingLevel) |
java.lang.Class<?> |
getMapKeyType(int nestingLevel) |
java.lang.Class<?> |
getMapValueType(int nestingLevel) |
java.lang.Class<?> |
getPropertyType() |
abstract ResolvableType |
getResolvableType() |
abstract java.lang.Object |
getValue() |
boolean |
isReadable() |
boolean |
isWritable() |
abstract TypeDescriptor |
nested(int level) |
abstract void |
setValue(java.lang.Object object,
java.lang.Object value) |
abstract TypeDescriptor |
toTypeDescriptor() |
private final java.lang.Class<?> propertyType
private final boolean readable
private final boolean writable
public PropertyHandler(java.lang.Class<?> propertyType, boolean readable, boolean writable)
public java.lang.Class<?> getPropertyType()
public boolean isReadable()
public boolean isWritable()
public abstract TypeDescriptor toTypeDescriptor()
public abstract ResolvableType getResolvableType()
public java.lang.Class<?> getMapKeyType(int nestingLevel)
public java.lang.Class<?> getMapValueType(int nestingLevel)
public java.lang.Class<?> getCollectionType(int nestingLevel)
public abstract TypeDescriptor nested(int level)
public abstract java.lang.Object getValue() throws java.lang.Exception
java.lang.Exception
public abstract void setValue(java.lang.Object object, java.lang.Object value) throws java.lang.Exception
java.lang.Exception