static final class DynamoDBReflectionRegistry.BeanProperty
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Field |
field |
private java.lang.String |
fieldName |
private java.lang.reflect.Method |
getter |
private java.lang.Class<?> |
getterType |
private java.lang.reflect.Method |
setter |
private java.lang.Class<?> |
setterType |
Modifier | Constructor and Description |
---|---|
private |
BeanProperty(java.lang.reflect.Method getterMethod)
Constructs an object property mapping for the specified method.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.Class<?> |
getDeclaringType()
Gets the declaring type.
|
(package private) java.lang.reflect.Field |
getField()
Gets the field.
|
(package private) java.lang.String |
getFieldName()
Gets the field name.
|
(package private) java.lang.reflect.Method |
getGetter()
Gets the getter method for this property.
|
(package private) java.lang.Class<?> |
getGetterType()
Gets the value type of the getter.
|
(package private) java.lang.reflect.Method |
getSetter()
Gets the setter method for this property.
|
(package private) java.lang.Class<?> |
getSetterType()
Gets the value type of the setter.
|
(package private) java.lang.Object |
getValueOf(java.lang.Object target)
Tries to get the property value from the object.
|
(package private) void |
setValueOf(java.lang.Object target,
java.lang.Object value)
Tries to set the property value on the object.
|
private final java.lang.reflect.Method getter
private final java.lang.reflect.Method setter
private final java.lang.reflect.Field field
private final java.lang.Class<?> getterType
private final java.lang.Class<?> setterType
private final java.lang.String fieldName
private BeanProperty(java.lang.reflect.Method getterMethod)
getterMethod
- The getter method.final java.lang.reflect.Method getGetter()
final java.lang.reflect.Method getSetter()
final java.lang.reflect.Field getField()
final java.lang.Class<?> getGetterType()
final java.lang.Class<?> getSetterType()
final java.lang.String getFieldName()
final java.lang.Class<?> getDeclaringType()
final java.lang.Object getValueOf(java.lang.Object target)
target
- The target object.final void setValueOf(java.lang.Object target, java.lang.Object value)
target
- The target object.value
- The value.