cell = c.getDefaultValue();
}
if ( validCell( cell ) ) {
if ( c instanceof ActionInsertFactCol52 ) {
ActionInsertFactCol52 ac = (ActionInsertFactCol52) c;
LabelledAction a = findByLabelledAction( actions,
ac.getBoundName() );
if ( a == null ) {
a = new LabelledAction();
a.boundName = ac.getBoundName();
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;
ActionFieldValue val = new ActionFieldValue( ac.getFactField(),
cell,
ac.getType() );
ins.addFieldValue( val );
} else if ( c instanceof ActionRetractFactCol52 ) {
ActionRetractFactCol52 rf = (ActionRetractFactCol52) c;
LabelledAction a = findByLabelledAction( actions,
rf.getBoundName() );