IM-ERP Real Connect

jp.co.intra_mart.foundation.sap.module.financial
クラス ExchangeRateGetDetail

java.lang.Object
  上位を拡張 jp.co.intra_mart.foundation.sap.module.AbstractController
      上位を拡張 jp.co.intra_mart.foundation.sap.module.ReferenceController
          上位を拡張 jp.co.intra_mart.foundation.sap.module.financial.ExchangeRateGetDetail
すべての実装されたインタフェース:
Serializable

public class ExchangeRateGetDetail
extends ReferenceController
implements Serializable

為替換算レート情報取得クラス
機能は以下の通り

バージョン:
8.0
関連項目:
直列化された形式

フィールドの概要
 
クラス jp.co.intra_mart.foundation.sap.module.AbstractController から継承されたフィールド
bapiReturnErrMessage, bapiReturnMessage, sapClient
 
コンストラクタの概要
ExchangeRateGetDetail(SapClient sapClient)
          為替換算レート情報を作成
ExchangeRateGetDetail(String rateType, String fromCurr, String toCurrncy, String date, SapClient sapClient)
           
 
メソッドの概要
 void executeBapi()
          BapiControllerにより為替換算レート情報を検索します。
 String getDate()
          起算日を取得します。
 ExchRate getExchRate()
          換算レート、係数 (通貨ペア)を取得します。
 String getFromCurr()
          換算前通貨を取得します。
 String getRateType()
          換算レートタイプを取得します。
 String getToCurrncy()
          換算後通貨を取得します。
 void setDate(String strDate)
          起算日を設定します。
 void setExchRate(ExchRate exchRate)
          換算レート、係数 (通貨ペア)を設定します。
 void setExportParam(BapiController bapiController)
          為替換算レート情報ををセットします。
 void setFromCurr(String strFromCurr)
          換算前通貨を設定します。
 void setImportParam(BapiController bapiController)
          為替換算レート情報を検索する条件ををセットします。
 void setRateType(String strRateType)
          換算レートタイプを設定します。
 void setToCurrncy(String strToCurrncy)
          換算後通貨を設定します。
 String toString()
          デバッグ用のメソッドです。
 
クラス jp.co.intra_mart.foundation.sap.module.AbstractController から継承されたメソッド
createBapiController, executeBapi, getBapiReturnErrMessage, getBapiReturnMessage
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ExchangeRateGetDetail

public ExchangeRateGetDetail(SapClient sapClient)
為替換算レート情報を作成

パラメータ:
sapClient - SapClient SAPへの接続情報が格納されたオブジェクト

ExchangeRateGetDetail

public ExchangeRateGetDetail(String rateType,
                             String fromCurr,
                             String toCurrncy,
                             String date,
                             SapClient sapClient)
                      throws SAPAuthAppException,
                             SAPAuthSystemException,
                             SAPGeneralAppException,
                             SAPGeneralSystemException,
                             SAPFinancialAppException,
                             SAPFinancialSystemException
パラメータ:
rateType - 換算レートタイプ
fromCurr - 換算前通貨
toCurrncy - 換算後通貨
date - 起算日
sapClient - SapClient SAPへの接続情報が格納されたオブジェクト
例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPFinancialAppException - 会計業務アプリケーション例外
SAPFinancialSystemException - 会計業務システム例外
メソッドの詳細

executeBapi

public void executeBapi()
                 throws SAPAuthAppException,
                        SAPAuthSystemException,
                        SAPGeneralAppException,
                        SAPGeneralSystemException,
                        SAPFinancialAppException,
                        SAPFinancialSystemException
BapiControllerにより為替換算レート情報を検索します。

例外:
SAPAuthAppException - 認証系アプリケーション例外
SAPAuthSystemException - 認証系システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPGeneralSystemException - 汎用システム例外
SAPFinancialAppException - 会計業務アプリケーション例外
SAPFinancialSystemException - 会計業務システム例外

setImportParam

public void setImportParam(BapiController bapiController)
                    throws SAPGeneralSystemException,
                           SAPGeneralAppException,
                           SAPFinancialSystemException
為替換算レート情報を検索する条件ををセットします。

パラメータ:
bapiController - BapiController
例外:
SAPGeneralSystemException - 汎用システム例外
SAPGeneralAppException - 汎用アプリケーション例外
SAPFinancialSystemException - 会計系APIシステム例外

setExportParam

public void setExportParam(BapiController bapiController)
                    throws SAPGeneralSystemException
為替換算レート情報ををセットします。

パラメータ:
bapiController - BapiController
例外:
SAPGeneralSystemException - 汎用システム例外

setRateType

public void setRateType(String strRateType)
換算レートタイプを設定します。

パラメータ:
strRateType - 換算レートタイプ

setFromCurr

public void setFromCurr(String strFromCurr)
換算前通貨を設定します。

パラメータ:
strFromCurr - 換算前通貨

setToCurrncy

public void setToCurrncy(String strToCurrncy)
換算後通貨を設定します。

パラメータ:
strToCurrncy - 換算後通貨

setDate

public void setDate(String strDate)
起算日を設定します。

パラメータ:
strDate - 起算日

getRateType

public String getRateType()
換算レートタイプを取得します。

戻り値:
srtRateType 換算レートタイプ

getFromCurr

public String getFromCurr()
換算前通貨を取得します。

戻り値:
srtFromCurr 換算前通貨

getToCurrncy

public String getToCurrncy()
換算後通貨を取得します。

戻り値:
srtTo_Currncy 換算後通貨

getDate

public String getDate()
起算日を取得します。

戻り値:
srtDate 起算日

setExchRate

public void setExchRate(ExchRate exchRate)
換算レート、係数 (通貨ペア)を設定します。

パラメータ:
exchRate - 換算レート、係数 (通貨ペア)

getExchRate

public ExchRate getExchRate()
換算レート、係数 (通貨ペア)を取得します。

戻り値:
exchRate 換算レート、係数 (通貨ペア)

toString

public String toString()
デバッグ用のメソッドです。

オーバーライド:
クラス Object 内の toString
戻り値:
value すべての属性の値

IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.