Spring Data JPA

org.springframework.data.jpa.domain
Class JpaSort.Path<T,S>

java.lang.Object
  extended by org.springframework.data.jpa.domain.JpaSort.Path<T,S>
Enclosing class:
JpaSort

public static class JpaSort.Path<T,S>
extends Object

Value object to abstract a collection of Attributes.

Author:
Oliver Gierke

Method Summary
<U> JpaSort.Path<S,U>
dot(javax.persistence.metamodel.Attribute<S,U> attribute)
          Collects the given Attribute and returning a new JpaSort.Path pointing to the attribute type.
<U> JpaSort.Path<S,U>
dot(javax.persistence.metamodel.PluralAttribute<S,?,U> attribute)
          Collects the given Attribute and returning a new JpaSort.Path pointing to the attribute type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

dot

public <U> JpaSort.Path<S,U> dot(javax.persistence.metamodel.Attribute<S,U> attribute)
Collects the given Attribute and returning a new JpaSort.Path pointing to the attribute type.

Parameters:
attribute - must not be null.
Returns:

dot

public <U> JpaSort.Path<S,U> dot(javax.persistence.metamodel.PluralAttribute<S,?,U> attribute)
Collects the given Attribute and returning a new JpaSort.Path pointing to the attribute type.

Parameters:
attribute - must not be null.
Returns:

toString

public String toString()
Overrides:
toString in class Object

Spring Data JPA

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.