for ( final Iterator it = dsls.iterator(); it.hasNext(); ) {
final DSLMappingFile file = (DSLMappingFile) it.next();
final DSLMapping mapping = file.getMapping();
for ( final Iterator entries = mapping.getEntries().iterator(); entries.hasNext(); ) {
final DSLMappingEntry entry = (DSLMappingEntry) entries.next();
if ( entry.getSection() == DSLMappingEntry.CONDITION ) {
this.builder.addDSLConditionSentence( entry.getMappingKey() );
} else if ( entry.getSection() == DSLMappingEntry.CONSEQUENCE ) {
this.builder.addDSLActionSentence( entry.getMappingKey() );
}
}
}
}