public interface QueryMethodType<T> extends Child<T>, JavaeeQueryMethodCommonType<T,QueryMethodType<T>,MethodParamsType<QueryMethodType<T>>>
query-methodType
xsd typeModifier and Type | Method and Description |
---|---|
String |
getId()
Returns the
id attribute |
String |
getMethodName()
Returns the
method-name element |
MethodParamsType<QueryMethodType<T>> |
getOrCreateMethodParams()
If not already created, a new
method-params element with the given value will be created. |
QueryMethodType<T> |
id(String id)
Sets the
id attribute |
QueryMethodType<T> |
methodName(String methodName)
Sets the
method-name element |
QueryMethodType<T> |
removeId()
Removes the
id attribute |
QueryMethodType<T> |
removeMethodName()
Removes the
method-name element |
QueryMethodType<T> |
removeMethodParams()
Removes the
method-params element |
QueryMethodType<T> methodName(String methodName)
method-name
elementmethodName
- the value for the element method-name
QueryMethodType
String getMethodName()
method-name
elementmethod-name
QueryMethodType<T> removeMethodName()
method-name
elementQueryMethodType
MethodParamsType<QueryMethodType<T>> getOrCreateMethodParams()
method-params
element with the given value will be created.
Otherwise, the existing method-params
element will be returned.MethodParamsType>
QueryMethodType<T> removeMethodParams()
method-params
elementQueryMethodType
QueryMethodType<T> id(String id)
id
attributeid
- the value for the attribute id
QueryMethodType
String getId()
id
attributeid
QueryMethodType<T> removeId()
id
attributeQueryMethodType
Copyright © 2023 JBoss by Red Hat. All rights reserved.