Interface PropertyPath<V>

Type Parameters:
V - type of the value.
All Superinterfaces:
CriteriaObject<V>, ReadablePath, ReadableValue<V>, Supplier<V>
All Known Subinterfaces:
TypedPropertyPath<V>

public interface PropertyPath<V> extends ReadableValue<V>, ReadablePath, CriteriaObject<V>
Interface for a valued path. May be a property itself, a reference on a property or a query criteria to match a property.
Since:
1.0.0
  • Method Details

    • getName

      String getName()
      Returns:
      the name of this path. May be a single property (e.g. "MyProperty") or a dot-separated path (e.g. "MyEntity.MyProperty").
    • pathSegment

      default String pathSegment()
      Description copied from interface: ReadablePath
      This method is not a regular getter to avoid conflicts with custom properties of beans implementing this interface.
      Specified by:
      pathSegment in interface ReadablePath
      Returns:
      the path-segment of this object. Should be a single property name (e.g. "MyProperty") or alias (e.g. "entity").