|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueryType<T>
This interface defines the contract for the queryType
xsd type
Method Summary | |
---|---|
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 |
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> |
removeDescription()
Removes the description element |
QueryType<T> |
removeEjbQl()
Removes the ejb-ql element |
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
QueryType<T> description(String description)
description
element
description
- the value for the element description
QueryType
String getDescription()
description
element
description
QueryType<T> removeDescription()
description
element
QueryType
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
element
QueryType
QueryType<T> resultTypeMapping(ResultTypeMappingType resultTypeMapping)
result-type-mapping
element
resultTypeMapping
- the value for the element result-type-mapping
QueryType
QueryType<T> resultTypeMapping(String resultTypeMapping)
result-type-mapping
element
resultTypeMapping
- the value for the element result-type-mapping
QueryType
ResultTypeMappingType getResultTypeMapping()
result-type-mapping
element
result-type-mapping
String getResultTypeMappingAsString()
result-type-mapping
element
result-type-mapping
QueryType<T> removeResultTypeMapping()
result-type-mapping
attribute
QueryType
QueryType<T> ejbQl(String ejbQl)
ejb-ql
element
ejbQl
- the value for the element ejb-ql
QueryType
String getEjbQl()
ejb-ql
element
ejb-ql
QueryType<T> removeEjbQl()
ejb-ql
element
QueryType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |