Class AttributePaths
java.lang.Object
com.blazebit.persistence.view.metamodel.AttributePaths
public final class AttributePaths extends Object
A util class for creating attribute paths.
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description static <X, E> AttributePath<X,E>
of(MethodPluralAttribute<X,?,E> attribute)
Creates an attribute path for the given attribute.static <X, E> AttributePath<X,E>
of(MethodSingularAttribute<X,E> attribute)
Creates an attribute path for the given attribute.static <X, E> AttributePath<X,E>
of(String attributePath)
Creates an attribute path for the given path string.
-
Method Details
-
of
Creates an attribute path for the given path string.- Type Parameters:
X
- The source typeE
- The element type- Parameters:
attributePath
- The attribute path string- Returns:
- The attribute path
-
of
Creates an attribute path for the given attribute.- Type Parameters:
X
- The source typeE
- The element type- Parameters:
attribute
- The attribute- Returns:
- The attribute path
-
of
Creates an attribute path for the given attribute.- Type Parameters:
X
- The source typeE
- The element type- Parameters:
attribute
- The attribute- Returns:
- The attribute path
-