
public interface QueryType<T> extends Child<T>, JavaeeQueryCommonType<T,QueryType<T>,QueryMethodType<QueryType<T>>>
queryType xsd type| Modifier and Type | Method and Description |
|---|---|
QueryType<T> |
description(String description)
Sets the
description element |
QueryType<T> |
ejbQl(String ejbQl)
Sets the
ejb-ql element |
String |
getDescription()
Returns the
description element |
String |
getEjbQl()
Returns the
ejb-ql element |
String |
getId()
Returns the
id attribute |
QueryMethodType<QueryType<T>> |
getOrCreateQueryMethod()
If not already created, a new
query-method element with the given value will be created. |
ResultTypeMappingType |
getResultTypeMapping()
Returns the
result-type-mapping element |
String |
getResultTypeMappingAsString()
Returns the
result-type-mapping element |
QueryType<T> |
id(String id)
Sets the
id attribute |
QueryType<T> |
removeDescription()
Removes the
description element |
QueryType<T> |
removeEjbQl()
Removes the
ejb-ql element |
QueryType<T> |
removeId()
Removes the
id attribute |
QueryType<T> |
removeQueryMethod()
Removes the
query-method element |
QueryType<T> |
removeResultTypeMapping()
Removes the
result-type-mapping attribute |
QueryType<T> |
resultTypeMapping(ResultTypeMappingType resultTypeMapping)
Sets the
result-type-mapping element |
QueryType<T> |
resultTypeMapping(String resultTypeMapping)
Sets the
result-type-mapping element |
QueryType<T> description(String description)
description elementdescription - the value for the element descriptionQueryTypeString getDescription()
description elementdescriptionQueryType<T> removeDescription()
description elementQueryTypeQueryMethodType<QueryType<T>> getOrCreateQueryMethod()
query-method element with the given value will be created.
Otherwise, the existing query-method element will be returned.QueryMethodType> QueryType<T> removeQueryMethod()
query-method elementQueryTypeQueryType<T> resultTypeMapping(ResultTypeMappingType resultTypeMapping)
result-type-mapping elementresultTypeMapping - the value for the element result-type-mappingQueryTypeQueryType<T> resultTypeMapping(String resultTypeMapping)
result-type-mapping elementresultTypeMapping - the value for the element result-type-mappingQueryTypeResultTypeMappingType getResultTypeMapping()
result-type-mapping elementresult-type-mappingString getResultTypeMappingAsString()
result-type-mapping elementresult-type-mappingQueryType<T> removeResultTypeMapping()
result-type-mapping attributeQueryTypeQueryType<T> ejbQl(String ejbQl)
ejb-ql elementejbQl - the value for the element ejb-qlQueryTypeString getEjbQl()
ejb-ql elementejb-qlQueryType<T> removeEjbQl()
ejb-ql elementQueryTypeQueryType<T> id(String id)
id attributeid - the value for the attribute idQueryTypeString getId()
id attributeidCopyright © 2025 JBoss by Red Hat. All rights reserved.