Class AbstractPathExpression<X>

All Implemented Interfaces:
Expression<X>, Path<X>, Selection<X>, TupleElement<X>
Direct Known Subclasses:
PathImpl, RootImpl

public abstract class AbstractPathExpression<X> extends AbstractExpression<X> implements Path<X>
  • Field Details

  • Constructor Details

  • Method Details

    • getAttr

      public <Y> Path<Y> getAttr(String attributeName)
      Description copied from interface: Path
      Create a path corresponding to the referenced attribute.
      Specified by:
      getAttr in interface Path<X>
      Parameters:
      attributeName - name of the attribute
      Returns:
      path corresponding to the referenced attribute
    • getAttr

      public <Y> Path<Y> getAttr(SingularAttribute<? super X,Y> attribute)
      Description copied from interface: Path
      Create a path corresponding to the referenced single-valued attribute.
      Specified by:
      getAttr in interface Path<X>
      Parameters:
      attribute - single-valued attribute
      Returns:
      path corresponding to the referenced attribute
    • getParentPath

      public Path<?> getParentPath()
      Description copied from interface: Path
      Return the parent "node" in the path or null if no parent.
      Specified by:
      getParentPath in interface Path<X>
      Returns:
      parent