|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jpt.jpa.core.jpql.spi.JpaQuery
public class JpaQuery
The concrete implementation of IQuery that is wrapping the design-time representation
of a JPQL query.
Provisional API: This interface is part of an interim API that is still under development and
expected to change significantly before reaching stability. It is available at this early stage
to solicit feedback from pioneering adopters on the understanding that any code that uses this
API will almost certainly be broken (repeatedly) as the API evolves.
| Constructor Summary | |
|---|---|
JpaQuery(IManagedTypeProvider provider,
NamedQuery query)
Creates a new JpaQuery. |
|
JpaQuery(IManagedTypeProvider provider,
NamedQuery query,
String actualQuery)
Creates a new JpaQuery. |
|
| Method Summary | |
|---|---|
String |
getExpression()
|
IManagedTypeProvider |
getProvider()
|
protected NamedQuery |
getQuery()
Returns the encapsulated NamedQuery, which is the actual object. |
protected void |
initialize(IManagedTypeProvider provider,
NamedQuery query,
String actualQuery)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JpaQuery(IManagedTypeProvider provider,
NamedQuery query)
JpaQuery.
provider - The provider of managed typesquery - The model object of the JPQL query
public JpaQuery(IManagedTypeProvider provider,
NamedQuery query,
String actualQuery)
JpaQuery.
provider - The provider of managed typesquery - The model object of the JPQL queryactualQuery - The actual JPQL query, which can differ from the one owned by the model
object, which happens when the model is out of sync because it has not been updated yet| Method Detail |
|---|
public String getExpression()
public IManagedTypeProvider getProvider()
protected NamedQuery getQuery()
NamedQuery, which is the actual object.
protected void initialize(IManagedTypeProvider provider,
NamedQuery query,
String actualQuery)
public String toString()
toString in class Object
|
Dali Provisional API Release 3.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||