FileDocCategorySizeDatePackage
QueryMethod.javaAPI DocJBoss 4.2.12044Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.metamodel

QueryMethod

public class QueryMethod extends Object
Represents an query-method element of the ejb-jar.xml deployment descriptor for the 1.4 schema
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private String
methodName
private List
methodParams
Constructors Summary
Methods Summary
public voidaddMethodParam(java.lang.String methodParam)

      methodParams.add(methodParam);
   
public java.lang.StringgetMethodName()

      return methodName;
   
public java.util.ListgetMethodParams()

      return methodParams;
   
public voidsetMethodName(java.lang.String methodName)

      this.methodName = methodName;
   
public voidsetMethodParams(java.util.List methodParams)

      this.methodParams = methodParams;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append("[");
      sb.append("methodName=").append(methodName);
      sb.append("]");
      return sb.toString();