public abstract class AbstractPojoPropertyAccessorProxyAdapter extends AbstractPojoPropertyAccessorProxy
PojoPropertyAccessor
that acts as proxy to a
delegate
allowing to add new ways to access a property. delegate
is a
getter
that returns an array
or a List
then this adapter may expose it as
indexed getter
or size
accessor.Modifier and Type | Field and Description |
---|---|
private PojoPropertyAccessorNonArg |
containerGetAccessor |
private PojoDescriptorDependencies |
dependencies |
Constructor and Description |
---|
AbstractPojoPropertyAccessorProxyAdapter(PojoDescriptorDependencies dependencies,
PojoPropertyAccessorNonArg containerGetAccessor)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected PojoPropertyAccessorNonArg |
getDelegate()
This method gets the
accessor this proxy delegates to. |
protected PojoDescriptorDependencies |
getDependencies() |
getAccessibleObject, getAccessibleObjectName, getDeclaringClass, getMode, getModifiers, getName, getPropertyClass, getPropertyType, getReturnClass, getReturnType
toString
private final PojoPropertyAccessorNonArg containerGetAccessor
private final PojoDescriptorDependencies dependencies
public AbstractPojoPropertyAccessorProxyAdapter(PojoDescriptorDependencies dependencies, PojoPropertyAccessorNonArg containerGetAccessor)
dependencies
- are the PojoDescriptorDependencies
to use.containerGetAccessor
- is the accessor delegate that gets an array, map or collection property.protected final PojoPropertyAccessorNonArg getDelegate()
AbstractPojoPropertyAccessorProxy
accessor
this proxy delegates to.getDelegate
in class AbstractPojoPropertyAccessorProxy
protected PojoDescriptorDependencies getDependencies()
Copyright © 2001–2016 mmm-Team. All rights reserved.