1 22 package org.jboss.ejb3.metamodel; 23 24 31 public class InitMethod 32 { 33 private Method beanMethod; 34 private Method createMethod; 35 36 public Method getBeanMethod() 37 { 38 return beanMethod; 39 } 40 41 public void setBeanMethod(Method beanMethod) 42 { 43 this.beanMethod = beanMethod; 44 } 45 46 public Method getCreateMethod() 47 { 48 return createMethod; 49 } 50 51 public void setCreateMethod(Method createMethod) 52 { 53 this.createMethod = createMethod; 54 } 55 56 public String toString() 57 { 58 StringBuffer sb = new StringBuffer (100); 59 sb.append("["); 60 sb.append("method=").append(beanMethod); 61 sb.append("]"); 62 return sb.toString(); 63 } 64 } 65 | Popular Tags |