Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » jee » [javadoc | source]
public class: QueryMethod [javadoc | source]
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.


Method finds large orders findLargeOrders SELECT OBJECT(o) FROM Order o WHERE o.amount > 1000
Field Summary
protected  String methodName     
protected  MethodParams methodParams     
protected  String id     
Method from org.apache.openejb.jee.QueryMethod Summary:
getId,   getMethodName,   getMethodParams,   setId,   setMethodName,   setMethodParams
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.openejb.jee.QueryMethod Detail:
 public String getId() 
 public String getMethodName() 
 public MethodParams getMethodParams() 
 public  void setId(String value) 
 public  void setMethodName(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.
 public  void setMethodParams(MethodParams value)