|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryMetadata
Represents a named query.
| Method Summary | |
|---|---|
java.lang.String |
getFetchPlan()
Accessor for the name of a fetch plan to use (if any). |
java.lang.String |
getLanguage()
Accessor for the query language. |
java.lang.String |
getName()
Accessor for the name of the query (set on construction). |
java.lang.String |
getQuery()
Accessor for the single-string query. |
java.lang.String |
getResultClass()
Accessor for the result class name for the query. |
java.lang.Boolean |
getUnique()
Accessor for whether results from the query are unique |
boolean |
getUnmodifiable()
Accessor for whether the query is unmodifiable. |
QueryMetadata |
setFetchPlan(java.lang.String fetchPlanName)
Method to set the FetchPlan to use for this named query. |
QueryMetadata |
setLanguage(java.lang.String lang)
Method to set the language of the query. |
QueryMetadata |
setQuery(java.lang.String query)
Method to set the single-string query. |
QueryMetadata |
setResultClass(java.lang.String clsName)
Method to set the result class name for the query |
QueryMetadata |
setUnique(boolean unique)
Method to set if the query results are unique |
QueryMetadata |
setUnmodifiable()
Method to set the query as not being modifiable from now. |
| Methods inherited from interface javax.jdo.metadata.Metadata |
|---|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata |
| Method Detail |
|---|
java.lang.String getName()
QueryMetadata setLanguage(java.lang.String lang)
lang - Query languagejava.lang.String getLanguage()
QueryMetadata setQuery(java.lang.String query)
query - The queryjava.lang.String getQuery()
QueryMetadata setResultClass(java.lang.String clsName)
clsName - Result class namejava.lang.String getResultClass()
QueryMetadata setUnique(boolean unique)
unique - Whether they are uniquejava.lang.Boolean getUnique()
QueryMetadata setUnmodifiable()
boolean getUnmodifiable()
QueryMetadata setFetchPlan(java.lang.String fetchPlanName)
fetchPlanName - name of the FetchPlanjava.lang.String getFetchPlan()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||