Package com.vaadin.v7.data.util
Class MethodPropertyDescriptor<BT>
- java.lang.Object
-
- com.vaadin.v7.data.util.MethodPropertyDescriptor<BT>
-
- Type Parameters:
BT- bean type
- All Implemented Interfaces:
VaadinPropertyDescriptor<BT>,Serializable
@Deprecated public class MethodPropertyDescriptor<BT> extends Object implements VaadinPropertyDescriptor<BT>
Deprecated.As of 8.0, no replacement available.Property descriptor that is able to create simpleMethodPropertyinstances for a bean, using given accessors.- Since:
- 6.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodPropertyDescriptor(String name, Class<?> propertyType, Method readMethod, Method writeMethod)Deprecated.Creates a property descriptor that can create MethodProperty instances to access the underlying bean property.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Property<?>createProperty(Object bean)Deprecated.Creates a newPropertyinstance for this property for a bean.StringgetName()Deprecated.Returns the name of the property.Class<?>getPropertyType()Deprecated.Returns the type of the property.
-
-
-
Method Detail
-
getName
public String getName()
Deprecated.Description copied from interface:VaadinPropertyDescriptorReturns the name of the property.- Specified by:
getNamein interfaceVaadinPropertyDescriptor<BT>- Returns:
-
getPropertyType
public Class<?> getPropertyType()
Deprecated.Description copied from interface:VaadinPropertyDescriptorReturns the type of the property.- Specified by:
getPropertyTypein interfaceVaadinPropertyDescriptor<BT>- Returns:
- property type class
-
createProperty
public Property<?> createProperty(Object bean)
Deprecated.Description copied from interface:VaadinPropertyDescriptorCreates a newPropertyinstance for this property for a bean.- Specified by:
createPropertyin interfaceVaadinPropertyDescriptor<BT>- Parameters:
bean- a Bean- Returns:
- a new Property
-
-