// Path: campus/src/lecho/app/campus/dao/DaoSession.java
// public class DaoSession extends AbstractDaoSession {
// 
//     private final DaoConfig placeFacultyDaoConfig;
//     private final DaoConfig placeCategoryDaoConfig;
//     private final DaoConfig placeUnitDaoConfig;
//     private final DaoConfig facultyDaoConfig;
//     private final DaoConfig unitDaoConfig;
//     private final DaoConfig categoryDaoConfig;
//     private final DaoConfig placeDaoConfig;
// 
//     private final PlaceFacultyDao placeFacultyDao;
//     private final PlaceCategoryDao placeCategoryDao;
//     private final PlaceUnitDao placeUnitDao;
//     private final FacultyDao facultyDao;
//     private final UnitDao unitDao;
//     private final CategoryDao categoryDao;
//     private final PlaceDao placeDao;
// 
//     public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
//             daoConfigMap) {
//         super(db);
// 
//         placeFacultyDaoConfig = daoConfigMap.get(PlaceFacultyDao.class).clone();
//         placeFacultyDaoConfig.initIdentityScope(type);
// 
//         placeCategoryDaoConfig = daoConfigMap.get(PlaceCategoryDao.class).clone();
//         placeCategoryDaoConfig.initIdentityScope(type);
// 
//         placeUnitDaoConfig = daoConfigMap.get(PlaceUnitDao.class).clone();
//         placeUnitDaoConfig.initIdentityScope(type);
// 
//         facultyDaoConfig = daoConfigMap.get(FacultyDao.class).clone();
//         facultyDaoConfig.initIdentityScope(type);
// 
//         unitDaoConfig = daoConfigMap.get(UnitDao.class).clone();
//         unitDaoConfig.initIdentityScope(type);
// 
//         categoryDaoConfig = daoConfigMap.get(CategoryDao.class).clone();
//         categoryDaoConfig.initIdentityScope(type);
// 
//         placeDaoConfig = daoConfigMap.get(PlaceDao.class).clone();
//         placeDaoConfig.initIdentityScope(type);
// 
//         placeFacultyDao = new PlaceFacultyDao(placeFacultyDaoConfig, this);
//         placeCategoryDao = new PlaceCategoryDao(placeCategoryDaoConfig, this);
//         placeUnitDao = new PlaceUnitDao(placeUnitDaoConfig, this);
//         facultyDao = new FacultyDao(facultyDaoConfig, this);
//         unitDao = new UnitDao(unitDaoConfig, this);
//         categoryDao = new CategoryDao(categoryDaoConfig, this);
//         placeDao = new PlaceDao(placeDaoConfig, this);
// 
//         registerDao(PlaceFaculty.class, placeFacultyDao);
//         registerDao(PlaceCategory.class, placeCategoryDao);
//         registerDao(PlaceUnit.class, placeUnitDao);
//         registerDao(Faculty.class, facultyDao);
//         registerDao(Unit.class, unitDao);
//         registerDao(Category.class, categoryDao);
//         registerDao(Place.class, placeDao);
//     }
//     
//     public void clear() {
//         placeFacultyDaoConfig.getIdentityScope().clear();
//         placeCategoryDaoConfig.getIdentityScope().clear();
//         placeUnitDaoConfig.getIdentityScope().clear();
//         facultyDaoConfig.getIdentityScope().clear();
//         unitDaoConfig.getIdentityScope().clear();
//         categoryDaoConfig.getIdentityScope().clear();
//         placeDaoConfig.getIdentityScope().clear();
//     }
// 
//     public PlaceFacultyDao getPlaceFacultyDao() {
//         return placeFacultyDao;
//     }
// 
//     public PlaceCategoryDao getPlaceCategoryDao() {
//         return placeCategoryDao;
//     }
// 
//     public PlaceUnitDao getPlaceUnitDao() {
//         return placeUnitDao;
//     }
// 
//     public FacultyDao getFacultyDao() {
//         return facultyDao;
//     }
// 
//     public UnitDao getUnitDao() {
//         return unitDao;
//     }
// 
//     public CategoryDao getCategoryDao() {
//         return categoryDao;
//     }
// 
//     public PlaceDao getPlaceDao() {
//         return placeDao;
//     }
// 
// }


import java.util.List;
import lecho.app.campus.dao.DaoSession;
import de.greenrobot.dao.DaoException;
package lecho.app.campus.dao;


// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. 
/**
 * Entity mapped to table CATEGORY.
 */
public class Category {

    private Long id;
    /** Not-null value. */
    private String name;

    /** Used to resolve relations */
    private transient DaoSession daoSession;

    /** Used for active entity operations. */
    private transient CategoryDao myDao;

    private List<PlaceCategory> placeCategoryList;

    public Category() {
    }

    public Category(Long id) {
        this.id = id;
    }

    public Category(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    /** called by internal mechanisms, do not call yourself. */
// Path: campus/src/lecho/app/campus/dao/DaoSession.java
// public class DaoSession extends AbstractDaoSession {
// 
//     private final DaoConfig placeFacultyDaoConfig;
//     private final DaoConfig placeCategoryDaoConfig;
//     private final DaoConfig placeUnitDaoConfig;
//     private final DaoConfig facultyDaoConfig;
//     private final DaoConfig unitDaoConfig;
//     private final DaoConfig categoryDaoConfig;
//     private final DaoConfig placeDaoConfig;
// 
//     private final PlaceFacultyDao placeFacultyDao;
//     private final PlaceCategoryDao placeCategoryDao;
//     private final PlaceUnitDao placeUnitDao;
//     private final FacultyDao facultyDao;
//     private final UnitDao unitDao;
//     private final CategoryDao categoryDao;
//     private final PlaceDao placeDao;
// 
//     public DaoSession(SQLiteDatabase db, IdentityScopeType type, Map<Class<? extends AbstractDao<?, ?>>, DaoConfig>
//             daoConfigMap) {
//         super(db);
// 
//         placeFacultyDaoConfig = daoConfigMap.get(PlaceFacultyDao.class).clone();
//         placeFacultyDaoConfig.initIdentityScope(type);
// 
//         placeCategoryDaoConfig = daoConfigMap.get(PlaceCategoryDao.class).clone();
//         placeCategoryDaoConfig.initIdentityScope(type);
// 
//         placeUnitDaoConfig = daoConfigMap.get(PlaceUnitDao.class).clone();
//         placeUnitDaoConfig.initIdentityScope(type);
// 
//         facultyDaoConfig = daoConfigMap.get(FacultyDao.class).clone();
//         facultyDaoConfig.initIdentityScope(type);
// 
//         unitDaoConfig = daoConfigMap.get(UnitDao.class).clone();
//         unitDaoConfig.initIdentityScope(type);
// 
//         categoryDaoConfig = daoConfigMap.get(CategoryDao.class).clone();
//         categoryDaoConfig.initIdentityScope(type);
// 
//         placeDaoConfig = daoConfigMap.get(PlaceDao.class).clone();
//         placeDaoConfig.initIdentityScope(type);
// 
//         placeFacultyDao = new PlaceFacultyDao(placeFacultyDaoConfig, this);
//         placeCategoryDao = new PlaceCategoryDao(placeCategoryDaoConfig, this);
//         placeUnitDao = new PlaceUnitDao(placeUnitDaoConfig, this);
//         facultyDao = new FacultyDao(facultyDaoConfig, this);
//         unitDao = new UnitDao(unitDaoConfig, this);
//         categoryDao = new CategoryDao(categoryDaoConfig, this);
//         placeDao = new PlaceDao(placeDaoConfig, this);
// 
//         registerDao(PlaceFaculty.class, placeFacultyDao);
//         registerDao(PlaceCategory.class, placeCategoryDao);
//         registerDao(PlaceUnit.class, placeUnitDao);
//         registerDao(Faculty.class, facultyDao);
//         registerDao(Unit.class, unitDao);
//         registerDao(Category.class, categoryDao);
//         registerDao(Place.class, placeDao);
//     }
//     
//     public void clear() {
//         placeFacultyDaoConfig.getIdentityScope().clear();
//         placeCategoryDaoConfig.getIdentityScope().clear();
//         placeUnitDaoConfig.getIdentityScope().clear();
//         facultyDaoConfig.getIdentityScope().clear();
//         unitDaoConfig.getIdentityScope().clear();
//         categoryDaoConfig.getIdentityScope().clear();
//         placeDaoConfig.getIdentityScope().clear();
//     }
// 
//     public PlaceFacultyDao getPlaceFacultyDao() {
//         return placeFacultyDao;
//     }
// 
//     public PlaceCategoryDao getPlaceCategoryDao() {
//         return placeCategoryDao;
//     }
// 
//     public PlaceUnitDao getPlaceUnitDao() {
//         return placeUnitDao;
//     }
// 
//     public FacultyDao getFacultyDao() {
//         return facultyDao;
//     }
// 
//     public UnitDao getUnitDao() {
//         return unitDao;
//     }
// 
//     public CategoryDao getCategoryDao() {
//         return categoryDao;
//     }
// 
//     public PlaceDao getPlaceDao() {
//         return placeDao;
//     }
// 
// }


// Path: campus/src/lecho/app/campus/dao/Category.java
import java.util.List;
import lecho.app.campus.dao.DaoSession;
import de.greenrobot.dao.DaoException;

package lecho.app.campus.dao;


// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit. 
/**
 * Entity mapped to table CATEGORY.
 */
public class Category {

    private Long id;
    /** Not-null value. */
    private String name;

    /** Used to resolve relations */
    private transient DaoSession daoSession;

    /** Used for active entity operations. */
    private transient CategoryDao myDao;

    private List<PlaceCategory> placeCategoryList;

    public Category() {
    }

    public Category(Long id) {
        this.id = id;
    }

    public Category(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    /** called by internal mechanisms, do not call yourself. */
    public void __setDaoSession(DaoSession daoSession) {