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