org.rr0.im.integration
Class PredefinedCategoryDAO
|
+--org.rr0.im.integration.jdo.CategoryDAOImpl
|
+--org.rr0.im.integration.PredefinedCategoryDAO
- public class PredefinedCategoryDAO
- extends CategoryDAOImpl
- implements CategoryDAO
A Data Access Object that contains a set of predefined data.
Intended for tests and for initial repository population.
- Author:
- Jérôme Beau
- Version: 18 mai 2003 20:09:11
CATEGORIES
private Map CATEGORIES
CLASSIFICATIONS
private Map CLASSIFICATIONS
PredefinedCategoryDAO
public PredefinedCategoryDAO()
createCategory
private Category createCategory(Classification windClassification, String someName, String someFilter, PersistenceManager pm)
createClassification
private Classification createClassification(String name, PersistenceManager pm)
findCategory
public Category findCategory(String id)
findClassification
public Classification findClassification(String id)
initClouds
private void initClouds(PersistenceManager pm)
initOccupations
private void initOccupations(PersistenceManager pm)
initPrecipitations
private void initPrecipitations(PersistenceManager pm)
initTemperature
private void initTemperature(PersistenceManager pm)
initWind
private void initWind(PersistenceManager pm)
matches
public boolean matches(Classifiable someClassifiable, String filter)
populate
private void populate(PersistenceManager pm)
to Class java.util.Map
to Class java.util.Map