Class PropertyRef.Nested<T,M,V>

java.lang.Object
org.vaadin.firitin.util.PropertyRef.Nested<T,M,V>
Type Parameters:
T - the root bean type
M - the intermediate property type
V - the leaf property type
All Implemented Interfaces:
com.vaadin.flow.function.SerializableFunction<T,V>, com.vaadin.flow.function.ValueProvider<T,V>, Serializable, Function<T,V>, PropertyRef<T,V>
Enclosing interface:
PropertyRef<T,V>

public static class PropertyRef.Nested<T,M,V> extends Object implements PropertyRef<T,V>
A nested property reference, created by PropertyRef.then(PropertyRef). The property name is pre-resolved, as it can't be dug out of a composed lambda.
See Also:
  • Method Details

    • getPropertyName

      public String getPropertyName()
      Description copied from interface: PropertyRef
      Resolves the name of the property this reference points to. A getter named getFoo/isFoo maps to foo, other method names (like record accessors) are used as such.
      Specified by:
      getPropertyName in interface PropertyRef<T,M>
      Returns:
      the property name, potentially a dot separated path for nested references created with PropertyRef.then(PropertyRef)
    • apply

      public V apply(T bean)
      Specified by:
      apply in interface Function<T,M>
      Specified by:
      apply in interface com.vaadin.flow.function.ValueProvider<T,M>