热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

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

本文整理了Java中org.pentaho.di.trans.steps.yamlinput.YamlInputField.setDecimalSymbol()方法的一

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

YamlInputField.setDecimalSymbol介绍

暂无

代码示例

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

@Override
public YamlInputField getTestObject() {
YamlInputField rtn = new YamlInputField();
rtn.setCurrencySymbol( UUID.randomUUID().toString() );
rtn.setDecimalSymbol( UUID.randomUUID().toString() );
rtn.setFormat( UUID.randomUUID().toString() );
rtn.setGroupSymbol( UUID.randomUUID().toString() );
rtn.setName( UUID.randomUUID().toString() );
rtn.setTrimType( rand.nextInt( 4 ) );
rtn.setPrecision( rand.nextInt( 9 ) );
rtn.setLength( rand.nextInt( 50 ) );
rtn.setPath( UUID.randomUUID().toString() );
rtn.setType( rand.nextInt( 8 ) );
return rtn;
}

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

field.setPrecision( Const.toInt( item.getText( 6 ), -1 ) );
field.setCurrencySymbol( item.getText( 7 ) );
field.setDecimalSymbol( item.getText( 8 ) );
field.setGroupSymbol( item.getText( 9 ) );
field.setTrimType( YamlInputField.getTrimTypeByDesc( item.getText( 10 ) ) );

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

public YamlInputField( Node fnode ) throws KettleValueException {
setName( XMLHandler.getTagValue( fnode, "name" ) );
setPath( XMLHandler.getTagValue( fnode, "path" ) );
setType( ValueMetaFactory.getIdForValueMeta( XMLHandler.getTagValue( fnode, "type" ) ) );
setFormat( XMLHandler.getTagValue( fnode, "format" ) );
setCurrencySymbol( XMLHandler.getTagValue( fnode, "currency" ) );
setDecimalSymbol( XMLHandler.getTagValue( fnode, "decimal" ) );
setGroupSymbol( XMLHandler.getTagValue( fnode, "group" ) );
setLength( Const.toInt( XMLHandler.getTagValue( fnode, "length" ), -1 ) );
setPrecision( Const.toInt( XMLHandler.getTagValue( fnode, "precision" ), -1 ) );
setTrimType( getTrimTypeByCode( XMLHandler.getTagValue( fnode, "trim_type" ) ) );
}

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

field.setFormat( rep.getStepAttributeString( id_step, i, "field_format" ) );
field.setCurrencySymbol( rep.getStepAttributeString( id_step, i, "field_currency" ) );
field.setDecimalSymbol( rep.getStepAttributeString( id_step, i, "field_decimal" ) );
field.setGroupSymbol( rep.getStepAttributeString( id_step, i, "field_group" ) );
field.setLength( (int) rep.getStepAttributeInteger( id_step, i, "field_length" ) );

推荐阅读
author-avatar
cool瀚_325
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有