All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.finance.exchange.ExchangeActions.dml Maven / Gradle / Ivy

The newest version!
%1496822403270
@
sname=ExchangeActions
slabel=ExchangeActions
sdescriptors=xworker.lang.MetaDescriptor3
smany=true
seditCols=2
sinitialization=false
smodifier=public
sinheritDescription=false
sdescription=

汇率相关的动作。

snotXmlAttribute=false sjson_isArray=false sth_createIndex=true sth_registThing=child|xworker.lang.actions.Actions sth_registMyChilds=true sth_registDisabled=false sth_mark=false @/@GetExchangeRate sname=GetExchangeRate sdescriptors=xworker.lang.MetaDescriptor3/@thing sextends=xworker.lang.actions.SelfAction smany=true seditCols=2 sinitialization=false sgroup=finance.exchange smodifier=public sinheritDescription=false Sdescription= #$@text#$@

获取当前汇率。

返回值:double

    汇率。如果汇率不存在,会抛出异常。

可以重写方法

  • String getBaseCode()
    选择基础货币代码。
     
  • String getTermCode()
    返回目标货币代码。

 

#$@text#$@ snotXmlAttribute=false sjson_isArray=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=GetExchangeRate @/@GetExchangeRate/@actions sname=actions sdescriptors=xworker.lang.MetaDescriptor3/@actions sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=actions @/@GetExchangeRate/@actions/@run sname=run sisSynchronized=false sthrowException=true suseOtherAction=false suseOuterJava=true suseInnerJava=false souterClassName=xworker.finance.exchange.CurrencyActions smethodName=getExchangeRate sdisableGlobalContext=false sattributeTemplate=false sinterpretationType=Action svarScope=Global screateLocalVarScope=false ssaveReturn=false sdebugLog=false sdescriptors=xworker.lang.actions.Actions/@JavaAction sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=run @/@GetExchangeRate/@actions/@getBaseCode sname=getBaseCode sattributeName=baseCode snotNull=false sinterpretationType=Self sattributeTemplate=false schildsAttributeTemplate=false svarScope=Local sisSynchronized=false sthrowException=true suseOtherAction=false screateLocalVarScope=false ssaveReturn=false sdisableGlobalContext=false sdebugLog=false sdescriptors=xworker.lang.actions.ActionUtil/@GetString sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=getBaseCode @/@GetExchangeRate/@actions/@getTermCode sname=getTermCode sattributeName=termCode snotNull=false sinterpretationType=Self sattributeTemplate=false schildsAttributeTemplate=false svarScope=Local sisSynchronized=false sthrowException=true suseOtherAction=false screateLocalVarScope=false ssaveReturn=false sdisableGlobalContext=false sdebugLog=false sdescriptors=xworker.lang.actions.ActionUtil/@GetString sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=getTermCode @/@GetExchangeRate/@name sname=name sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=name @/@GetExchangeRate/@label sname=label sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=label @/@GetExchangeRate/@baseCode sname=baseCode sinputtype=inputSelect sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false srelationDataObject=xworker.things.p2016.p12.p01.CurrencyCode sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=baseCode @/@GetExchangeRate/@termCode sname=termCode sinputtype=inputSelect sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false srelationDataObject=xworker.things.p2016.p12.p01.CurrencyCode sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=termCode @/@GetExchangeRate/@description sname=description sinputtype=html sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=description @/@Exchanage sname=Exchanage sdescriptors=xworker.lang.MetaDescriptor3/@thing sextends=xworker.lang.actions.SelfAction smany=true seditCols=2 sinitialization=false sgroup=finance.exchange smodifier=public sinheritDescription=false Sdescription= #$@text#$@

兑换货币数量。

返回值:double

    兑换后的数量。如果汇率不存在,会抛出异常。

可以重写方法

  • String getBaseCode()
    选择基础货币代码。
     
  • String getTermCode()
    返回目标货币代码。
     
  • double getAmount()
    返回要兑换的数量。

 

#$@text#$@ snotXmlAttribute=false sjson_isArray=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=Exchanage @/@Exchanage/@actions sname=actions sdescriptors=xworker.lang.MetaDescriptor3/@actions sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=actions @/@Exchanage/@actions/@run sname=run sisSynchronized=false sthrowException=true suseOtherAction=false suseOuterJava=true suseInnerJava=false souterClassName=xworker.finance.exchange.CurrencyActions smethodName=exchangeRate sdisableGlobalContext=false sattributeTemplate=false sinterpretationType=Action svarScope=Global screateLocalVarScope=false ssaveReturn=false sdebugLog=false sdescriptors=xworker.lang.actions.Actions/@JavaAction sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=run @/@Exchanage/@actions/@getBaseCode sname=getBaseCode sattributeName=baseCode snotNull=false sinterpretationType=Self sattributeTemplate=false schildsAttributeTemplate=false svarScope=Local sisSynchronized=false sthrowException=true suseOtherAction=false screateLocalVarScope=false ssaveReturn=false sdisableGlobalContext=false sdebugLog=false sdescriptors=xworker.lang.actions.ActionUtil/@GetString sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=getBaseCode @/@Exchanage/@actions/@getTermCode sname=getTermCode sattributeName=termCode snotNull=false sinterpretationType=Self sattributeTemplate=false schildsAttributeTemplate=false svarScope=Local sisSynchronized=false sthrowException=true suseOtherAction=false screateLocalVarScope=false ssaveReturn=false sdisableGlobalContext=false sdebugLog=false sdescriptors=xworker.lang.actions.ActionUtil/@GetString sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=getTermCode @/@Exchanage/@actions/@getAmount sname=getAmount sattributeName=amount sinterpretationType=Self sattributeTemplate=false schildsAttributeTemplate=false svarScope=Local sisSynchronized=false sthrowException=true suseOtherAction=false screateLocalVarScope=false ssaveReturn=false sdisableGlobalContext=false sdebugLog=false sdescriptors=xworker.lang.actions.ActionUtil/@GetDouble sinheritDescription=false sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=getAmount @/@Exchanage/@name sname=name sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=name @/@Exchanage/@label sname=label sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=label @/@Exchanage/@baseCode sname=baseCode sinputtype=inputSelect sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false srelationDataObject=xworker.things.p2016.p12.p01.CurrencyCode sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=baseCode @/@Exchanage/@termCode sname=termCode sinputtype=inputSelect sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false srelationDataObject=xworker.things.p2016.p12.p01.CurrencyCode sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=termCode @/@Exchanage/@cmount sname=amount sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=cmount @/@Exchanage/@description sname=description sinputtype=html sshowLabel=true sreadOnly=false sinheritDescription=false svalidateAllowBlank=true LvalidateOnBlur=true LallowDecimals=true LallowNegative=true snotXmlAttribute=false sdescriptors=xworker.lang.MetaDescriptor3/@attribute sth_createIndex=false sth_registMyChilds=false sth_registDisabled=false sth_mark=false sid=description




© 2015 - 2025 Weber Informatics LLC | Privacy Policy