public interface QueryType<T> extends Child<T>, JavaeeQueryCommonType<T,QueryType<T>,QueryMethodType<QueryType<T>>>
queryType
xsd typeModifier 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 description
QueryType
String getDescription()
description
elementdescription
QueryType<T> removeDescription()
description
elementQueryType
QueryMethodType<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
elementQueryType
QueryType<T> resultTypeMapping(ResultTypeMappingType resultTypeMapping)
result-type-mapping
elementresultTypeMapping
- the value for the element result-type-mapping
QueryType
QueryType<T> resultTypeMapping(String resultTypeMapping)
result-type-mapping
elementresultTypeMapping
- the value for the element result-type-mapping
QueryType
ResultTypeMappingType getResultTypeMapping()
result-type-mapping
elementresult-type-mapping
String getResultTypeMappingAsString()
result-type-mapping
elementresult-type-mapping
QueryType<T> removeResultTypeMapping()
result-type-mapping
attributeQueryType
QueryType<T> ejbQl(String ejbQl)
ejb-ql
elementejbQl
- the value for the element ejb-ql
QueryType
String getEjbQl()
ejb-ql
elementejb-ql
QueryType<T> removeEjbQl()
ejb-ql
elementQueryType
QueryType<T> id(String id)
id
attributeid
- the value for the attribute id
QueryType
String getId()
id
attributeid
Copyright © 2023 JBoss by Red Hat. All rights reserved.