public abstract class AbstractPojoPropertyAccessorBase extends AbstractPojoPropertyAccessor
PojoPropertyAccessor interface.| Modifier and Type | Field and Description |
|---|---|
private String |
name |
private GenericType<?> |
propertyType |
| Constructor and Description |
|---|
AbstractPojoPropertyAccessorBase(String propertyName,
Type propertyType,
PojoDescriptor<?> descriptor,
PojoDescriptorDependencies dependencies)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
This method gets the programmatic (technical) name of the according property.
|
GenericType<?> |
getPropertyType()
This method gets the
GenericType of this property. |
getPropertyClass, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccessibleObject, getAccessibleObjectName, getDeclaringClass, getMode, getModifiers, getReturnClass, getReturnTypeprivate final String name
private final GenericType<?> propertyType
public AbstractPojoPropertyAccessorBase(String propertyName, Type propertyType, PojoDescriptor<?> descriptor, PojoDescriptorDependencies dependencies)
propertyName - is the name of the property.propertyType - is the generic type of the property.descriptor - is the descriptor this accessor is intended for.dependencies - are the PojoDescriptorDependencies to use.public String getName()
PojoAttributeNameread accessor
public String getFooBar() the property name would be fooBar.FeatureDescriptor.getName()public GenericType<?> getPropertyType()
PojoPropertyAccessorGenericType 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.GenericType reflecting the property.PojoPropertyAccessor.getPropertyClass(),
PropertyDescriptor.getPropertyType()Copyright © 2001–2016 mmm-Team. All rights reserved.