1 22 package org.jboss.metamodel.descriptor; 23 24 import javax.persistence.PersistenceContextType; 25 26 import org.jboss.metamodel.descriptor.Ref; 27 28 34 public class PersistenceContextRef extends Ref 35 { 36 private String refName; 37 private String unitName; 38 private PersistenceContextType persistenceContextType; 39 40 public String getRefName() 41 { 42 return refName; 43 } 44 45 public void setRefName(String refName) 46 { 47 this.refName = refName; 48 } 49 50 public String getUnitName() 51 { 52 return unitName; 53 } 54 55 public void setUnitName(String unitName) 56 { 57 this.unitName = unitName; 58 } 59 60 public PersistenceContextType getPersistenceContextType() 61 { 62 return persistenceContextType; 63 } 64 65 public void setPersistenceContextType(PersistenceContextType persistenceContextType) 66 { 67 this.persistenceContextType = persistenceContextType; 68 } 69 } 70 | Popular Tags |