1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.List ; 25 26 33 public class QueryMethod 34 { 35 36 private String methodName; 37 38 private List methodParams; 39 40 public String getMethodName() 41 { 42 return methodName; 43 } 44 45 public void setMethodName(String methodName) 46 { 47 this.methodName = methodName; 48 } 49 50 public List getMethodParams() 51 { 52 return methodParams; 53 } 54 55 public void setMethodParams(List methodParams) 56 { 57 this.methodParams = methodParams; 58 } 59 60 public void addMethodParam(String methodParam) 61 { 62 methodParams.add(methodParam); 63 } 64 65 public String toString() 66 { 67 StringBuffer sb = new StringBuffer (100); 68 sb.append("["); 69 sb.append("methodName=").append(methodName); 70 sb.append("]"); 71 return sb.toString(); 72 } 73 } 74 | Popular Tags |