com.vaadin.data.util
Interface VaadinPropertyDescriptor<BT>

Type Parameters:
BT - bean type
All Superinterfaces:
Serializable
All Known Implementing Classes:
MethodPropertyDescriptor, NestedPropertyDescriptor

public interface VaadinPropertyDescriptor<BT>
extends Serializable

Property descriptor that can create a property instance for a bean. Used by BeanItem and AbstractBeanContainer to keep track of the set of properties of items.

Since:
6.6

Method Summary
 Property<?> createProperty(BT bean)
          Creates a new Property instance for this property for a bean.
 String getName()
          Returns the name of the property.
 Class<?> getPropertyType()
          Returns the type of the property.
 

Method Detail

getName

String getName()
Returns the name of the property.

Returns:

getPropertyType

Class<?> getPropertyType()
Returns the type of the property.

Returns:
Class

createProperty

Property<?> createProperty(BT bean)
Creates a new Property instance for this property for a bean.

Parameters:
bean -
Returns:


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.