org.apache.openejb.jee
Class QueryMethod
java.lang.Object
org.apache.openejb.jee.QueryMethod
public class QueryMethod
- extends java.lang.Object
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:
Method finds large orders
findLargeOrders
SELECT OBJECT(o) FROM Order o
WHERE o.amount > 1000
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methodName
protected java.lang.String methodName
methodParams
protected MethodParams methodParams
id
protected java.lang.String id
QueryMethod
public QueryMethod()
getMethodName
public java.lang.String getMethodName()
setMethodName
public void setMethodName(java.lang.String value)
- contains a name of an enterprise
bean method or the asterisk (*) character. The asterisk is
used when the element denotes all the methods of an
enterprise bean's client view interfaces.
getMethodParams
public MethodParams getMethodParams()
setMethodParams
public void setMethodParams(MethodParams value)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String value)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.