| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.QueryMetaData
QueryMetaData | public class QueryMetaData extends MetaData (Code) | | Representation of the MetaData of a named Query.
since: 1.1 version: $Revision: 1.12 $ |
fetchPlanName | protected String fetchPlanName(Code) | | Name of any fetch-plan to use.
|
resultClass | protected String resultClass(Code) | | The result class to use. Only applies to SQL.
|
resultMetaDataName | protected String resultMetaDataName(Code) | | Name for the MetaData defining the mapping of the result set (for JPA SQL).
|
scope | protected String scope(Code) | | Scope of this query (if any).
|
unique | protected boolean unique(Code) | | Whether the query returns unique. Only applies to SQL.
|
unmodifiable | protected boolean unmodifiable(Code) | | Whether the query is unmodifiable.
|
QueryMetaData | public QueryMetaData(MetaData parent, String scope, String name, String language, String unmodifiable, String resultClass, String resultMetaDataName, String unique, String fetchPlanName)(Code) | | Constructor.
Parameters: parent - the parent of the Query Parameters: scope - Scope of the query (if any) Parameters: name - The Query name Parameters: language - The language name Parameters: unmodifiable - The unmodifiable tag Parameters: resultClass - The result class (optional) Parameters: resultMetaDataName - name of the result MetaData to use (optional) Parameters: unique - The unique tag Parameters: fetchPlanName - Name of any named fetchPlan to use with this query |
getFetchPlanName | public String getFetchPlanName()(Code) | | Accessor for the name of any FetchPlan to use.
name of the FetchPlan. |
getLanguage | public QueryLanguage getLanguage()(Code) | | Accessor for the language
language tag value |
getName | public String getName()(Code) | | Accessor for the query name.
query name |
getQuery | public String getQuery()(Code) | | Accessor for the query
The query |
getResultClass | public String getResultClass()(Code) | | Accessor for the result class
result class |
getResultMetaDataName | public String getResultMetaDataName()(Code) | | Accessor for the name of the QueryResult MetaData to use.
name of the QueryResult MetaData |
getScope | public String getScope()(Code) | | Accessor for the scope of the query
scope of the query (if any). |
isUnique | public boolean isUnique()(Code) | | Accessor for the unique tag value.
unique tag value |
isUnmodifiable | public boolean isUnmodifiable()(Code) | | Accessor for the unmodifiable tag value.
unmodifiable tag value |
setQuery | public void setQuery(String query)(Code) | | Mutator for the query
Parameters: query - The query |
toString | public String toString(String prefix, String indent)(Code) | | Returns a string representation of the object.
Parameters: prefix - prefix string Parameters: indent - indent string a string representation of the object. |
|
|