T
- the type of the property setV
- the property typepublic abstract class AbstractBeanPropertyDefinition<T,V> extends Object implements PropertyDefinition<T,V>
Constructor and Description |
---|
AbstractBeanPropertyDefinition(BeanPropertySet<T> propertySet,
Class<?> propertyHolderType,
PropertyDescriptor descriptor)
Constructor for setting the immutable descriptor, property set and
property holder type used by this instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
Gets the human readable caption to show for this property.
|
protected PropertyDescriptor |
getDescriptor()
Gets the property descriptor of this instance.
|
String |
getName()
Gets the full name of this property.
|
Class<?> |
getPropertyHolderType()
Gets the type of the class containing this property.
|
BeanPropertySet<T> |
getPropertySet()
Gets the
PropertySet that this property belongs to. |
Class<V> |
getType()
Gets the type of this property.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGetter, getSetter, getTopLevelName
public AbstractBeanPropertyDefinition(BeanPropertySet<T> propertySet, Class<?> propertyHolderType, PropertyDescriptor descriptor)
propertySet
- property set this property belongs toparent
- parent property for this nested propertydescriptor
- property descriptorpublic Class<V> getType()
PropertyDefinition
getType
in interface PropertyDefinition<T,V>
null
public String getName()
PropertyDefinition
getName
in interface PropertyDefinition<T,V>
null
public String getCaption()
PropertyDefinition
getCaption
in interface PropertyDefinition<T,V>
null
public BeanPropertySet<T> getPropertySet()
PropertyDefinition
PropertySet
that this property belongs to.getPropertySet
in interface PropertyDefinition<T,V>
null
protected PropertyDescriptor getDescriptor()
public Class<?> getPropertyHolderType()
PropertyDefinition
getPropertyHolderType
in interface PropertyDefinition<T,V>
null
Copyright © 2021 Vaadin Ltd. All rights reserved.