001    package org.cumulus4j.store.model;
002    
003    import javax.jdo.PersistenceManager;
004    
005    public abstract class AbstractDAO {
006    
007            protected PersistenceManager pm;
008    
009            public AbstractDAO() { }
010    
011            public AbstractDAO(PersistenceManager pm) {
012                    this.pm = pm;
013            }
014    
015            public PersistenceManager getPersistenceManager() {
016                    return pm;
017            }
018            public void setPersistenceManager(PersistenceManager pm) {
019                    this.pm = pm;
020            }
021    }