1 22 package org.jboss.metamodel.descriptor; 23 24 import org.jboss.metamodel.descriptor.Ref; 25 26 32 public class PersistenceUnitRef extends Ref 33 { 34 private String refName; 35 private String unitName; 36 37 public String getRefName() 38 { 39 return refName; 40 } 41 42 public void setRefName(String refName) 43 { 44 this.refName = refName; 45 } 46 47 public String getUnitName() 48 { 49 return unitName; 50 } 51 52 public void setUnitName(String unitName) 53 { 54 this.unitName = unitName; 55 } 56 57 public String toString() 58 { 59 StringBuffer sb = new StringBuffer (100); 60 sb.append("[" + this.getClass().getName() + ": "); 61 sb.append("refName=").append(refName); 62 sb.append(", unitName=").append(unitName); 63 sb.append(", unitName=").append(unitName); 64 sb.append(", " + super.toString()); 65 return sb.toString(); 66 } 67 } 68 | Popular Tags |