1 package cayenne.tutorial.tapestry; 2 3 import java.io.Serializable ; 4 5 import org.objectstyle.cayenne.access.DataContext; 6 7 13 14 public class Visit implements Serializable { 15 16 private DataContext dataContext; 17 18 public Visit() { 19 super(); 20 dataContext = DataContext.createDataContext(); 21 } 22 23 public DataContext getDataContext() { 24 return dataContext; 25 } 26 } 27 | Popular Tags |