public abstract class AbstractPojoPropertyAccessorProxyAdapterComponentType extends AbstractPojoPropertyAccessorProxyAdapter
PojoPropertyAccessor that acts as proxy to a
delegate allowing to add new ways to access a property. AbstractPojoPropertyAccessorProxyAdapter implementing getPropertyType() to
return the component-type from the
return-type of
the delegate.| Modifier and Type | Field and Description |
|---|---|
private GenericType<?> |
propertyType |
| Constructor and Description |
|---|
AbstractPojoPropertyAccessorProxyAdapterComponentType(PojoDescriptorDependencies dependencies,
PojoPropertyAccessorNonArg containerGetAccessor)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getPropertyClass()
|
GenericType<?> |
getPropertyType()
This method gets the
GenericType of this property. |
getDelegate, getDependenciesgetAccessibleObject, getAccessibleObjectName, getDeclaringClass, getMode, getModifiers, getName, getReturnClass, getReturnTypetoStringprivate final GenericType<?> propertyType
getPropertyType()public AbstractPojoPropertyAccessorProxyAdapterComponentType(PojoDescriptorDependencies dependencies, PojoPropertyAccessorNonArg containerGetAccessor)
dependencies - are the PojoDescriptorDependencies to use.containerGetAccessor - is the accessor delegate that gets an array or Collection
property.public GenericType<?> getPropertyType()
GenericType of this property. getter this will be the return-type while a setter typically has void as
return-type and this method will return the type of its argument. For mapped or
indexed getters/setters this method will return the item type.getPropertyType in interface PojoPropertyAccessorgetPropertyType in class AbstractPojoPropertyAccessorProxyGenericType reflecting the property.PojoPropertyAccessor.getPropertyClass(),
PropertyDescriptorpublic Class<?> getPropertyClass()
type as Class. It is a convenience method for
PojoPropertyAccessor.getPropertyType(). getRetrievalClass() if the
mode is for reading and
PojoPropertyAccessor.getPropertyType(). getAssignmentClass() otherwise.getPropertyClass in interface PojoPropertyAccessorgetPropertyClass in class AbstractPojoPropertyAccessorProxyClass reflecting the property.Copyright © 2001–2015 mmm-Team. All rights reserved.