| Modifier and Type | Method and Description |
|---|---|
String |
getFetchPlan()
Accessor for the name of a fetch plan to use (if any).
|
String |
getLanguage()
Accessor for the query language.
|
String |
getName()
Accessor for the name of the query (set on construction).
|
String |
getQuery()
Accessor for the single-string query.
|
String |
getResultClass()
Accessor for the result class name for the query.
|
Boolean |
getUnique()
Accessor for whether results from the query are unique.
|
boolean |
getUnmodifiable()
Accessor for whether the query is unmodifiable.
|
QueryMetadata |
setFetchPlan(String fetchPlanName)
Method to set the FetchPlan to use for this named query.
|
QueryMetadata |
setLanguage(String lang)
Method to set the language of the query.
|
QueryMetadata |
setQuery(String query)
Method to set the single-string query.
|
QueryMetadata |
setResultClass(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.
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadataString getName()
QueryMetadata setLanguage(String lang)
lang - Query languageString getLanguage()
QueryMetadata setQuery(String query)
query - The queryString getQuery()
QueryMetadata setResultClass(String clsName)
clsName - Result class nameString getResultClass()
QueryMetadata setUnique(boolean unique)
unique - Whether they are uniqueBoolean getUnique()
QueryMetadata setUnmodifiable()
boolean getUnmodifiable()
QueryMetadata setFetchPlan(String fetchPlanName)
fetchPlanName - name of the FetchPlanString getFetchPlan()
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.