Class SetPath<E,Q extends SimpleExpression<? super E>>

Type Parameters:
E - component type
Q - component query type
All Implemented Interfaces:
CollectionExpression<Set<E>,E>, Expression<Set<E>>, ParameterizedExpression<Set<E>>, Path<Set<E>>, Serializable

public class SetPath<E,Q extends SimpleExpression<? super E>> extends CollectionPathBase<Set<E>,E,Q>
SetPath represents set paths
Author:
tiwe
See Also:
  • Constructor Details

  • Method Details

    • accept

      public final <R, C> R accept(Visitor<R,C> v, C context)
      Description copied from interface: Expression
      Accept the visitor with the given context
      Type Parameters:
      R - return type
      C - context type
      Parameters:
      v - visitor
      context - context of visit
      Returns:
      result of visit
    • any

      public Q any()
      Description copied from class: CollectionPathBase
      Create a path that matches any element in this collection
      Specified by:
      any in class CollectionPathBase<Set<E>,E,Q extends SimpleExpression<? super E>>
      Returns:
      path expression
    • getElementType

      public Class<E> getElementType()
      Description copied from class: CollectionExpressionBase
      Get the element type
      Specified by:
      getElementType in class CollectionExpressionBase<Set<E>,E>
      Returns:
      element type
    • getMetadata

      public PathMetadata getMetadata()
      Description copied from interface: Path
      Get the metadata for this path
      Returns:
      path metadata
    • getRoot

      public Path<?> getRoot()
      Description copied from interface: Path
      Get the root for this path
      Returns:
      root of path
    • getAnnotatedElement

      public AnnotatedElement getAnnotatedElement()
      Description copied from interface: Path
      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
    • getParameter

      public Class<?> getParameter(int index)
      Description copied from interface: ParameterizedExpression
      Get the type parameter at the given index
      Parameters:
      index - zero based index of type parameter
      Returns:
      type parameter at index