com.vaadin.flow.data.binder.

Class BeanPropertySet<T>

  • Type Parameters:

    T - the type of the bean

    All Implemented Interfaces:

    PropertySet<T>, Serializable


    public class BeanPropertySet<T>
    extends Object
    implements PropertySet<T>

    A PropertySet that uses reflection to find bean properties.

    For internal use only. May be renamed or removed in a future release.

    Since:

    1.0

    Author:

    Vaadin Ltd

    See Also:

    Serialized Form

    • Method Detail

      • get

        public static <T> PropertySet<T> get(Class<? extends T> beanType)

        Gets a BeanPropertySet for the given bean type.

        Type Parameters:

        T - the type of the bean

        Parameters:

        beanType - the bean type to get a property set for, not null

        Returns:

        the bean property set, not null

      • get

        public static <T> PropertySet<T> get(Class<? extends T> beanType,
                                             boolean checkNestedDefinitions,
                                             PropertyFilterDefinition filterDefinition)

        Gets a BeanPropertySet for the given bean type.

        Type Parameters:

        T - the bean type to get a property set for

        Parameters:

        beanType - the bean type to get a property set for, not null

        checkNestedDefinitions - whether to scan for nested definitions in beanType

        filterDefinition - filtering conditions for nested properties

        Returns:

        the bean property set, not null

      • getBeanType

        public Class<T> getBeanType()

        Gets the bean type of this bean property set.

        Returns:

        the bean type of this bean property set