protected abstract static class AbstractNestablePropertyAccessor.PropertyHandler
extends java.lang.Object
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() |
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