index() - JPA ListJoin's method

Create an expression that corresponds to the index of the object in the referenced association or element collection. This method must only be invoked upon an object that represents an association or element collection for which an order column has been defined.
Returns:
expression denoting the index
Since:
JPA 2.0