field.setFormat( item.getText( 3 ) ); field.setPosition( Const.toInt( item.getText( 4 ), -1 ) ); field.setLength( Const.toInt( item.getText( 5 ), -1 ) ); field.setPrecision( Const.toInt( item.getText( 6 ), -1 ) ); field.setCurrencySymbol( item.getText( 7 ) );
field.setType( meta.inputFields[i].getType() ); field.setFormat( "" ); field.setLength( -1 ); field.setPrecision( -1 ); field.setCurrencySymbol( dfs.getCurrencySymbol() ); field.setLength( evaluator.getMaxLength() ); } else { StringEvaluationResult result = evaluator.getAdvicedResult(); field.setDecimalSymbol( conversionMeta.getDecimalSymbol() ); field.setGroupSymbol( conversionMeta.getGroupingSymbol() ); field.setLength( conversionMeta.getLength() ); field.setPrecision( conversionMeta.getPrecision() );
field.setIfNullValue( XMLHandler.getTagValue( fnode, "ifnull" ) ); field.setPosition( Const.toInt( XMLHandler.getTagValue( fnode, "position" ), -1 ) ); field.setLength( Const.toInt( XMLHandler.getTagValue( fnode, "length" ), -1 ) ); field.setPrecision( Const.toInt( XMLHandler.getTagValue( fnode, "precision" ), -1 ) ); field.setTrimType( ValueMetaString.getTrimTypeByCode( XMLHandler.getTagValue( fnode, "trim_type" ) ) );
field.setIfNullValue( rep.getStepAttributeString( id_step, i, "field_ifnull" ) ); field.setPosition( (int) rep.getStepAttributeInteger( id_step, i, "field_position" ) ); field.setLength( (int) rep.getStepAttributeInteger( id_step, i, "field_length" ) ); field.setPrecision( (int) rep.getStepAttributeInteger( id_step, i, "field_precision" ) ); field.setTrimType( ValueMetaString.getTrimTypeByCode( rep.getStepAttributeString( id_step, i, "field_trim_type" ) ) );
field.setFormat( item.getText( 3 ) ); field.setPosition( Const.toInt( item.getText( 4 ), -1 ) ); field.setLength( Const.toInt( item.getText( 5 ), -1 ) ); field.setPrecision( Const.toInt( item.getText( 6 ), -1 ) ); field.setCurrencySymbol( item.getText( 7 ) );