private DSLSentence[] makeArray(List<DSLSentence> ls) {
return ls.toArray( new DSLSentence[ls.size()] );
}
public void addDSLMapping(DSLMappingEntry entry) {
DSLSentence sen = new DSLSentence();
sen.setDefinition( entry.getMappingKey());
if ( entry.getSection() == DSLMappingEntry.CONDITION ) {
this.conditionDSLSentences.add( sen );
} else if ( entry.getSection() == DSLMappingEntry.CONSEQUENCE ) {
this.actionDSLSentences.add( sen );
} else if ( entry.getSection() == DSLMappingEntry.KEYWORD ) {