public LimitedGuidedDecisionTableBuilder withAction(String boundName, String factField, String typeNumericInteger, DTCellValue52 value) { LimitedEntryActionSetFieldCol52 ins = new LimitedEntryActionSetFieldCol52(); ins.setBoundName(boundName); ins.setFactField(factField); ins.setValue(value); ins.setType(typeNumericInteger); table.getActionCols().add(ins); return this; } }
public LimitedGuidedDecisionTableBuilder withAction(String boundName, String factField, String typeNumericInteger, DTCellValue52 value) { LimitedEntryActionSetFieldCol52 ins = new LimitedEntryActionSetFieldCol52(); ins.setBoundName(boundName); ins.setFactField(factField); ins.setValue(value); ins.setType(typeNumericInteger); table.getActionCols().add(ins); return this; } }
private ActionSetFieldCol52 makeNewActionColumn( final AvailableField f ) { final GuidedDecisionTable52.TableFormat format = presenter.getTableFormat(); if ( format == GuidedDecisionTable52.TableFormat.EXTENDED_ENTRY ) { final ActionSetFieldCol52 a = new ActionSetFieldCol52(); a.setBoundName( availablePatternsSelection.getBoundName() ); a.setFactField( f.getName() ); a.setType( f.getType() ); return a; } else { final LimitedEntryActionSetFieldCol52 a = new LimitedEntryActionSetFieldCol52(); a.setBoundName( availablePatternsSelection.getBoundName() ); a.setFactField( f.getName() ); a.setType( f.getType() ); return a; } }
private ActionSetFieldCol52 makeNewActionColumn( final AvailableField f ) { final GuidedDecisionTable52.TableFormat format = presenter.getTableFormat(); if ( format == GuidedDecisionTable52.TableFormat.EXTENDED_ENTRY ) { final ActionSetFieldCol52 a = new ActionSetFieldCol52(); a.setBoundName( availablePatternsSelection.getBoundName() ); a.setFactField( f.getName() ); a.setType( f.getType() ); return a; } else { final LimitedEntryActionSetFieldCol52 a = new LimitedEntryActionSetFieldCol52(); a.setBoundName( availablePatternsSelection.getBoundName() ); a.setFactField( f.getName() ); a.setType( f.getType() ); return a; } }
column.setDefaultValue(new DTCellValue52("defaultValue")); column.setHideColumn(false); column.setType("type"); column.setValue(new DTCellValue52("value"));