if ( !ac.isInsertLogical() ) {
ActionInsertFact ins = new ActionInsertFact( ac.getFactType() );
ins.setBoundName( ac.getBoundName() );
a.action = ins;
} else {
ActionInsertLogicalFact ins = new ActionInsertLogicalFact( ac.getFactType() );
ins.setBoundName( ac.getBoundName() );
a.action = ins;
}
actions.add( a );
}
ActionInsertFact ins = (ActionInsertFact) a.action;
ActionWorkItemFieldValue val = new ActionWorkItemFieldValue( ac.getFactField(),
ac.getType(),
ac.getWorkItemName(),
ac.getWorkItemResultParameterName(),
ac.getParameterClassName() );
ins.addFieldValue( val );
}
}