public class ChainAccessiblePropertyOperator extends Object implements PropertyOperator
PropertyOperator that
adds support for nested bean chain operations to the original operator.CacheableChainAccessiblePropertyOperator| 限定符和类型 | 类和说明 |
|---|---|
protected class |
ChainAccessiblePropertyOperator.ChainAccessPropDesc
The property descriptor that supports chain property access.
|
static class |
ChainAccessiblePropertyOperator.DefaultSplitter
The default splitter implementation that
uses
String.split(java.lang.String, int) to split the input string
into multiple attributes by separator. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected PropertyOperator |
delegate
original operator
|
| 构造器和说明 |
|---|
ChainAccessiblePropertyOperator(PropertyOperator delegate)
Create an
ChainAccessiblePropertyOperator instance,
and use the default splitter to separate input chain operators based on the "." character. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected MethodInvoker |
chainGetter(String[] splitPropertyChain)
Create a chain getter.
|
protected MethodInvoker |
chainSetter(String[] splitPropertyChain)
Create a chain setter.
|
@NonNull PropDesc |
getPropertyDescriptor(Class<?> targetType)
Get property descriptor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindGetter, findSetter, readProperty, writePropertyprotected final PropertyOperator delegate
public ChainAccessiblePropertyOperator(PropertyOperator delegate)
ChainAccessiblePropertyOperator instance,
and use the default splitter to separate input chain operators based on the "." character.delegate - property operatorChainAccessiblePropertyOperator.DefaultSplitterpublic @NonNull PropDesc getPropertyDescriptor(Class<?> targetType)
getPropertyDescriptor 在接口中 PropertyOperatortargetType - target typeprotected MethodInvoker chainSetter(String[] splitPropertyChain)
splitPropertyChain - split property chainprotected MethodInvoker chainGetter(String[] splitPropertyChain)
splitPropertyChain - split property chainCopyright © 2024. All rights reserved.