EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql
Interface ResultQuery


public interface ResultQuery

This is used to retrieve the new JPQL query when a content assist item needs to be insert at a certain position.

Version:
2.3
See Also:
ContentAssistProposals.buildQuery(String, String, int, boolean)
Author:
Pascal Filion
Since:
2.3

Method Summary
 int getPosition()
          Returns the position of the cursor within the new query.
 java.lang.String getQuery()
          Returns the new JPQL query after insertion of the choice.
 

Method Detail

getPosition

int getPosition()
Returns the position of the cursor within the new query.

Returns:
The updated position of the cursor

getQuery

java.lang.String getQuery()
Returns the new JPQL query after insertion of the choice.

Returns:
The JPQL with the content assist item inserted into the original query

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference