|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.data.util.NestedPropertyDescriptor<BT>
BT
- bean typepublic class NestedPropertyDescriptor<BT>
Property descriptor that is able to create nested property instances for a bean. The property is specified in the dotted notation, e.g. "address.street", and can contain multiple levels of nesting.
Constructor Summary | |
---|---|
NestedPropertyDescriptor(java.lang.String name,
java.lang.Class<BT> beanType)
Creates a property descriptor that can create MethodProperty instances to access the underlying bean property. |
Method Summary | |
---|---|
Property<?> |
createProperty(BT bean)
Creates a new Property instance for this property for a bean. |
java.lang.String |
getName()
Returns the name of the property. |
java.lang.Class<?> |
getPropertyType()
Returns the type of the property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NestedPropertyDescriptor(java.lang.String name, java.lang.Class<BT> beanType) throws java.lang.IllegalArgumentException
name
- of the property in a dotted path format, e.g. "address.street"beanType
- type (class) of the top-level bean
java.lang.IllegalArgumentException
- if the property name is invalidMethod Detail |
---|
public java.lang.String getName()
VaadinPropertyDescriptor
getName
in interface VaadinPropertyDescriptor<BT>
public java.lang.Class<?> getPropertyType()
VaadinPropertyDescriptor
getPropertyType
in interface VaadinPropertyDescriptor<BT>
public Property<?> createProperty(BT bean)
VaadinPropertyDescriptor
Property
instance for this property for a bean.
createProperty
in interface VaadinPropertyDescriptor<BT>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |