1 22 package org.jboss.ejb3.metamodel; 23 24 25 32 public class ContainerTransaction 33 { 34 35 private String transAttribute; 36 37 private Method method; 38 39 public String getTransAttribute() 40 { 41 return transAttribute; 42 } 43 44 public void setTransAttribute(String transAttribute) 45 { 46 this.transAttribute = transAttribute; 47 } 48 49 public Method getMethod() 50 { 51 return method; 52 } 53 54 public void setMethod(Method method) 55 { 56 this.method = method; 57 } 58 59 public String toString() 60 { 61 StringBuffer sb = new StringBuffer (100); 62 sb.append("["); 63 sb.append("ejbRelationName=").append(transAttribute); 64 sb.append("]"); 65 return sb.toString(); 66 } 67 } 68 | Popular Tags |