Package com.vaadin.featurepack.data.util
Class MethodPropertyDescriptor<BT>
java.lang.Object
com.vaadin.featurepack.data.util.MethodPropertyDescriptor<BT>
- Type Parameters:
BT- bean type
- All Implemented Interfaces:
VaadinPropertyDescriptor<BT>,Serializable
Property descriptor that is able to create simple
MethodProperty
instances for a bean, using given accessors.- Since:
- 6.6
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMethodPropertyDescriptor(String name, Class<?> propertyType, Method readMethod, Method writeMethod) Creates a property descriptor that can create MethodProperty instances to access the underlying bean property. -
Method Summary
-
Constructor Details
-
Method Details
-
getName
Description copied from interface:VaadinPropertyDescriptorReturns the name of the property.- Specified by:
getNamein interfaceVaadinPropertyDescriptor<BT>- Returns:
-
getPropertyType
Description copied from interface:VaadinPropertyDescriptorReturns the type of the property.- Specified by:
getPropertyTypein interfaceVaadinPropertyDescriptor<BT>- Returns:
- Classinvalid input: '<'?>
-
createProperty
Description copied from interface:VaadinPropertyDescriptorCreates a newPropertyinstance for this property for a bean.- Specified by:
createPropertyin interfaceVaadinPropertyDescriptor<BT>- Parameters:
bean-- Returns:
-