if (modelConfig.isPersistent()) {
if (modelConfig.getPersistenceType().equalsIgnoreCase("xml")) {
storeEntity = new XmlEntity(entity, persistentModel);
} else if (modelConfig.getPersistenceType().equalsIgnoreCase(
"db.dbLite")) {
storeEntity = new DbEntity(entity, persistentModel);
} else if (modelConfig.getPersistenceType().equalsIgnoreCase(
"db.Hibernate")) {
storeEntity = new DbEntity(entity, persistentModel);
}
}
}