Top Description Methods
org.eclipse.persistence.jpa.jpql.tools

public Interface ResultQuery

Known Direct Implementers
org.eclipse.persistence.jpa.jpql.tools.DefaultContentAssistProposals.Result

This is used to retrieve the new JPQL query when a content assist item needs to be insert at a certain position.
Author
Pascal Filion
Since
2.3
Version
2.3
See Also
ContentAssistProposals#buildQuery(String, String, int, boolean)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

The updated position of the cursor
getPosition
()

Returns the position of the cursor within the new query.

public String

Returns:

The JPQL with the content assist item inserted into the original query
getQuery
()

Returns the new JPQL query after insertion of the choice.

Method Detail

getPositionback to summary
public int getPosition()

Returns the position of the cursor within the new query.

Returns:int

The updated position of the cursor

getQueryback to summary
public String getQuery()

Returns the new JPQL query after insertion of the choice.

Returns:String

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