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