|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryMethodType<T>
This interface defines the contract for the query-methodType xsd type
Original Documentation:
[
The query-method specifies the method for a finder or select
query.
The method-name element specifies the name of a finder or select
method in the entity bean's implementation class.
Each method-param must be defined for a query-method using the
method-params element.
It is used by the query-method element.
Example:
SELECT OBJECT(o) FROM Order o
WHERE o.amount > 1000
| Method Summary | |
|---|---|
java.lang.String |
getMethodName()
Returns the method-name element |
MethodParamsType<QueryMethodType<T>> |
methodParams()
If not already created, a new method-params element will be created and returned. |
QueryMethodType<T> |
removeMethodName()
Removes the method-name element |
QueryMethodType<T> |
removeMethodParams()
Removes the method-params element |
QueryMethodType<T> |
setMethodName(java.lang.String methodName)
If not already created, a new method-name element with the given value will be created. |
| Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
|---|
up |
| Method Detail |
|---|
QueryMethodType<T> setMethodName(java.lang.String methodName)
method-name element with the given value will be created.
Otherwise, the existing method-name element will be updated with the given value.
QueryMethodTypeQueryMethodType<T> removeMethodName()
method-name element
QueryMethodTypejava.lang.String getMethodName()
method-name element
method-nameQueryMethodType<T> removeMethodParams()
method-params element
QueryMethodTypeMethodParamsType<QueryMethodType<T>> methodParams()
method-params element will be created and returned.
Otherwise, the existing method-params element will be returned.
method-params
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||