org.pentaho.di.trans.steps.yamlinput.YamlInputField.getCurrencySymbol()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.getCurrencySymbol()方法的一些代码示例,展示了YamlInputField.getCurrencySymbol()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YamlInputField.getCurrencySymbol()方法的具体详情如下:
包路径:org.pentaho.di.trans.steps.yamlinput.YamlInputField
类名称:YamlInputField
方法名:getCurrencySymbol

YamlInputField.getCurrencySymbol介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

public String getXML() {
 StringBuilder retval = new StringBuilder( 400 );
 retval.append( "      <field>" ).append( Const.CR );
 retval.append( "        " ).append( XMLHandler.addTagValue( "name", getName() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "path", getPath() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "type", getTypeDesc() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "format", getFormat() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "currency", getCurrencySymbol() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "decimal", getDecimalSymbol() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "group", getGroupSymbol() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "length", getLength() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "precision", getPrecision() ) );
 retval.append( "        " ).append( XMLHandler.addTagValue( "trim_type", getTrimTypeCode() ) );
 retval.append( "      </field>" ).append( Const.CR );
 return retval.toString();
}

代码示例来源:origin: pentaho/pentaho-kettle

String length = "" + field.getLength();
String prec = "" + field.getPrecision();
String curr = field.getCurrencySymbol();
String group = field.getGroupSymbol();
String decim = field.getDecimalSymbol();

代码示例来源:origin: pentaho/pentaho-kettle

v.setDecimalSymbol( field.getDecimalSymbol() );
v.setGroupingSymbol( field.getGroupSymbol() );
v.setCurrencySymbol( field.getCurrencySymbol() );
r.addValueMeta( v );

代码示例来源:origin: pentaho/pentaho-kettle

rep.saveStepAttribute( id_transformation, id_step, i, "field_type", field.getTypeDesc() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_format", field.getFormat() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_currency", field.getCurrencySymbol() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_decimal", field.getDecimalSymbol() );
rep.saveStepAttribute( id_transformation, id_step, i, "field_group", field.getGroupSymbol() );

相关文章