1 28 29 package com.caucho.amber.hibernate; 30 31 import com.caucho.util.L10N; 32 33 import com.caucho.make.PersistentDependency; 34 35 import com.caucho.amber.AmberManager; 36 37 40 public class HibernateMapping { 41 private static final L10N L = new L10N(HibernateMapping.class); 42 43 private AmberManager _amberManager; 44 private PersistentDependency _depend; 45 46 HibernateMapping(AmberManager amberManager) 47 { 48 _amberManager = amberManager; 49 } 50 51 54 AmberManager getManager() 55 { 56 return _amberManager; 57 } 58 59 62 void setDependency(PersistentDependency depend) 63 { 64 _depend = depend; 65 } 66 67 70 PersistentDependency getDependency() 71 { 72 return _depend; 73 } 74 75 78 public HibernateClass createClass() 79 { 80 return new HibernateClass(this); 81 } 82 } 83 | Popular Tags |