businessPackage.setConditions(conditions);
return businessPackage;
}
private GenerationCondition getGenerationCondition() {
GenerationCondition generationCondition = new GenerationCondition();
generationCondition.setExcludeTables(!getAreTablesIncluded());
generationCondition.setExcludeViews(!getAreViewsIncluded());
generationCondition.setDefaultType(getFilterFileType());
List<String> filenames = ParserUtils.getList(getFilterFile());
String conditionType = getConditionType();
for (String filename : filenames) {
generationCondition.addCondition(getCondition(filename, conditionType));
}
return generationCondition;
}