1 7 package org.jboss.ejb3.dd; 8 9 import java.util.List ; 10 11 18 public class QueryMethod 19 { 20 21 private String methodName; 22 23 private List methodParams; 24 25 public String getMethodName() 26 { 27 return methodName; 28 } 29 30 public void setMethodName(String methodName) 31 { 32 this.methodName = methodName; 33 } 34 35 public List getMethodParams() 36 { 37 return methodParams; 38 } 39 40 public void setMethodParams(List methodParams) 41 { 42 this.methodParams = methodParams; 43 } 44 45 public void addMethodParam(String methodParam) 46 { 47 methodParams.add(methodParam); 48 } 49 50 public String toString() 51 { 52 StringBuffer sb = new StringBuffer (100); 53 sb.append("["); 54 sb.append("methodName=").append(methodName); 55 sb.append("]"); 56 return sb.toString(); 57 } 58 } 59 | Popular Tags |