Package com.vaadin.flow.data.binder
Class AbstractBeanPropertyDefinition<T,V>
java.lang.Object
com.vaadin.flow.data.binder.AbstractBeanPropertyDefinition<T,V>
- Type Parameters:
T- the type of the property setV- the property type
- All Implemented Interfaces:
PropertyDefinition<T,,V> Serializable
- Direct Known Subclasses:
BeanPropertySet.NestedBeanPropertyDefinition
public abstract class AbstractBeanPropertyDefinition<T,V>
extends Object
implements PropertyDefinition<T,V>
Abstract base class for PropertyDefinition implementations for beans.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractBeanPropertyDefinition(BeanPropertySet<T> propertySet, Class<?> propertyHolderType, PropertyDescriptor descriptor) Constructor for setting the immutable descriptor, property set and property holder type used by this instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the human readable caption to show for this property.protected PropertyDescriptorGets the property descriptor of this instance.getName()Gets the full name of this property.Class<?>Gets the type of the class containing this property.Gets thePropertySetthat this property belongs to.getType()Gets the type of this property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.data.binder.PropertyDefinition
getGetter, getParent, getSetter, getTopLevelName, isSubProperty
-
Constructor Details
-
AbstractBeanPropertyDefinition
public AbstractBeanPropertyDefinition(BeanPropertySet<T> propertySet, Class<?> propertyHolderType, PropertyDescriptor descriptor) Constructor for setting the immutable descriptor, property set and property holder type used by this instance.- Parameters:
propertySet- property set this property belongs topropertyHolderType- property holder typedescriptor- property descriptor
-
-
Method Details
-
getType
Description copied from interface:PropertyDefinitionGets the type of this property.- Specified by:
getTypein interfacePropertyDefinition<T,V> - Returns:
- the property type. not
null
-
getName
Description copied from interface:PropertyDefinitionGets the full name of this property.- Specified by:
getNamein interfacePropertyDefinition<T,V> - Returns:
- the property name, not
null
-
getCaption
Description copied from interface:PropertyDefinitionGets the human readable caption to show for this property.- Specified by:
getCaptionin interfacePropertyDefinition<T,V> - Returns:
- the caption to show, not
null
-
getPropertySet
Description copied from interface:PropertyDefinitionGets thePropertySetthat this property belongs to.- Specified by:
getPropertySetin interfacePropertyDefinition<T,V> - Returns:
- the property set, not
null
-
getDescriptor
Gets the property descriptor of this instance.- Returns:
- the property descriptor
-
getPropertyHolderType
Description copied from interface:PropertyDefinitionGets the type of the class containing this property.- Specified by:
getPropertyHolderTypein interfacePropertyDefinition<T,V> - Returns:
- the property type. not
null
-