net.sf.mmm.util.pojo.descriptor.base.accessor
Class AbstractPojoPropertyAccessorProxyAdapter
java.lang.Object
net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessor
net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessorProxy
net.sf.mmm.util.pojo.descriptor.base.accessor.AbstractPojoPropertyAccessorProxyAdapter
- All Implemented Interfaces:
- PojoPropertyAccessor, PojoAttributeName
- Direct Known Subclasses:
- AbstractPojoPropertyAccessorProxyAdapterComponentType, PojoPropertyAccessorProxyGetSize
public abstract class AbstractPojoPropertyAccessorProxyAdapter
- extends AbstractPojoPropertyAccessorProxy
This is the abstract base implementation of a
PojoPropertyAccessor
that acts as proxy to a delegate allowing to add new
ways to access a property.
E.g. if the delegate is a
getter that returns an array or a List then this adapter
may expose it as
indexed getter or
size accessor.
- Since:
- 1.1.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
containerGetAccessor
private final PojoPropertyAccessorNonArg containerGetAccessor
- See Also:
getDelegate()
dependencies
private final PojoDescriptorDependencies dependencies
- See Also:
getDependencies()
AbstractPojoPropertyAccessorProxyAdapter
public AbstractPojoPropertyAccessorProxyAdapter(PojoDescriptorDependencies dependencies,
PojoPropertyAccessorNonArg containerGetAccessor)
- The constructor.
- Parameters:
dependencies - are the PojoDescriptorDependencies to use.containerGetAccessor - is the accessor delegate that gets an array,
map or collection property.
getDelegate
protected final PojoPropertyAccessorNonArg getDelegate()
- This method gets the
accessor this proxy
delegates to.
- Specified by:
getDelegate in class AbstractPojoPropertyAccessorProxy
- Returns:
- the delegate.
getDependencies
protected PojoDescriptorDependencies getDependencies()
- Returns:
- the dependencies
Copyright © 2001-2010 mmm-Team. All Rights Reserved.