Interface JpqlQueryBuilder.Origin

All Known Implementing Classes:
JpqlQueryBuilder.Entity, JpqlQueryBuilder.Join
Enclosing class:
JpqlQueryBuilder

public static interface JpqlQueryBuilder.Origin
An origin that is used to select data from. selection origins are used with paths to define where a path is anchored.
Since:
4.0
Author:
Mark Paluch, Choi Wang Gyu
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the simple name of the origin (e.g.
    Returns the path in dot-path notation to identify the origin uniquely.
  • Method Details

    • getName

      String getName()
      Returns the simple name of the origin (e.g. Class.getSimpleName() or JOIN path name).
      Returns:
      the simple name of the origin (e.g. Class.getSimpleName())
    • getPath

      String getPath()
      Returns the path in dot-path notation to identify the origin uniquely. Entities typically return their entity name while joins return a dot-path.
      Returns:
      the dot-path of this origin.