-
- Type Parameters:
V
- type of thevalue
.
- All Superinterfaces:
ReadablePath
,ReadableValue<V>
,Supplier<V>
- All Known Subinterfaces:
TypedPropertyPath<V>
public interface PropertyPath<V> extends ReadableValue<V>, ReadablePath
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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getName()
default String
path()
This method gets the path of this object.-
Methods inherited from interface io.github.mmm.value.ReadableValue
get, getSafe
-
-
-
-
Method Detail
-
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").
-
path
default String path()
Description copied from interface:ReadablePath
This method gets the path of this object. It is not a regular getter to avoid conflicts with custom properties of beans implementing this interface.- Specified by:
path
in interfaceReadablePath
- Returns:
- the path of this object. May be a single property name (e.g. "MyProperty") or a dot-separated path (e.g. "MyEntity.MyProperty").
-
-