com.holonplatform.core.query

## Interface PathExpression<T>

- Type Parameters:
    `T` - Path and expression type
  All Superinterfaces:
    Expression, Path<T>, QueryExpression<T>, Serializable
  All Known Subinterfaces:
    BeanProperty<T>, BeanProperty.Builder<T>, PathProperty<T>, PathProperty.PathPropertyBuilder<T>

      public interface PathExpression<T>
      extends Path<T>, QueryExpression<T>

  A `QueryExpression` wich represents a `Path`.
  Since:
    5.0.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Path

      `Path.Builder<T,B extends Path.Builder<T,B>>, Path.FinalPath<T>, Path.PathBuilder<T>`

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Expression

      `Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>, Expression.InvalidExpressionException`

  - ### Field Summary

    - ### Fields inherited from interface com.holonplatform.core.Path

      `PATH_HIERARCHY_SEPARATOR`

  - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T> PathExpression<T>` | `create(String name, Class<? extends T> type)` Create a `PathExpression`.
    `static <T> PathExpression<T>` | `from(Path<T> path)` Create a `PathExpression` from given `Path`.

    - ### Methods inherited from interface com.holonplatform.core.Path

      `fullName, getName, getParent, getType, isRootPath, of, relativeName, stream`

    - ### Methods inherited from interface com.holonplatform.core.query.QueryExpression

      `getType`

    - ### Methods inherited from interface com.holonplatform.core.Expression

      `validate`

- - ### Method Detail

    - #### create

          static <T> PathExpression<T> create(String name,
                                              Class<? extends T> type)

      Create a `PathExpression`.
      Type Parameters:
        `T` - Path type
      Parameters:
        `name` - Path name (not null)
        `type` - Path type (not null)
      Returns:
        A new `PathExpression`

    - #### from

          static <T> PathExpression<T> from(Path<T> path)

      Create a `PathExpression` from given `Path`.
      Type Parameters:
        `T` - Path type
      Parameters:
        `path` - Suorce path
      Returns:
        A new `PathExpression` with the same name, type and parent of the given path

Copyright © 2017 The Holon Platform. All rights reserved.