Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jpa.jpql
Interface ResultQuery

All Known Implementing Classes:
DefaultContentAssistProposals.Result

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.

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

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

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.