Interface Path<T>

Type Parameters:
T - expression type
All Superinterfaces:
Expression<T>, Serializable
All Known Subinterfaces:
EntityPath<T>
All Known Implementing Classes:
ArrayPath, BeanPath, BooleanPath, CollectionPath, CollectionPathBase, ComparableEntityPath, ComparablePath, DatePath, DateTimePath, DslPath, EntityPathBase, EnumPath, ListPath, MapPath, NumberPath, ParameterizedPathImpl, PathBuilder, PathImpl, SetPath, SimplePath, StringPath, TimePath

public interface Path<T> extends Expression<T>
Path represents a path expression. Paths refer to variables, properties and collection members access.
Author:
tiwe
  • Method Details

    • getMetadata

      PathMetadata getMetadata()
      Get the metadata for this path
      Returns:
      path metadata
    • getRoot

      Path<?> getRoot()
      Get the root for this path
      Returns:
      root of path
    • getAnnotatedElement

      AnnotatedElement getAnnotatedElement()
      Return the annotated element related to the given path

      For property paths the annotated element contains the annotations of the related field and/or getter method and for all others paths the annotated element is the expression type.

      Returns:
      annotated element