|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryMethodType
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:
Java class for query-methodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="query-methodType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="method-name" type="{http://java.sun.com/xml/ns/javaee}method-nameType"/>
<element name="method-params" type="{http://java.sun.com/xml/ns/javaee}method-paramsType"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
String |
getId()
Gets the value of the id property. |
MethodNameType |
getMethodName()
Gets the value of the methodName property. |
MethodParamsType |
getMethodParams()
Gets the value of the methodParams property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setMethodName(MethodNameType value)
Sets the value of the methodName property. |
void |
setMethodParams(MethodParamsType value)
Sets the value of the methodParams property. |
| Method Detail |
|---|
MethodNameType getMethodName()
MethodNameTypevoid setMethodName(MethodNameType value)
value - allowed object is
MethodNameTypeMethodParamsType getMethodParams()
MethodParamsTypevoid setMethodParams(MethodParamsType value)
value - allowed object is
MethodParamsTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||