public class Path extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Path.PathElement
The path taken through data model associations to reference a given field.
|
Constructor and Description |
---|
Path(Class<?> entityClass,
EntityDictionary dictionary,
String dotSeparatedPath) |
Path(List<Path.PathElement> pathElements) |
Path(Path copy) |
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Returns an alias that uniquely identifies the last collection of entities in the path.
|
String |
getFieldPath() |
static String |
getTypeAlias(Class<?> type)
Convert a class name into a hibernate friendly name.
|
Optional<Path.PathElement> |
lastElement() |
String |
toString() |
public Path(Path copy)
public Path(List<Path.PathElement> pathElements)
public Path(Class<?> entityClass, EntityDictionary dictionary, String dotSeparatedPath)
public Optional<Path.PathElement> lastElement()
public String getFieldPath()
public String getAlias()
Copyright © 2015–2019 Yahoo! Inc.. All rights reserved.