public class SendingMessage extends nablarch.fw.messaging.InterSystemMessage<SendingMessage>
修飾子とタイプ | メソッドと説明 |
---|---|
SendingMessage |
addRecord(Map<?> record)
電文のデータ部に、指定したレコードを追加する。
|
SendingMessage |
addRecord(Object recordObj)
電文のデータ部に指定したレコードを追加する。
|
SendingMessage |
addRecord(String recordType,
Map<?> record)
電文のデータ部に、出力時に使用するデータレイアウト(レコードタイプ)を指定してレコードを追加する。
|
SendingMessage |
addRecord(String recordType,
Object recordObj)
電文のデータ部に、出力時に使用するデータレイアウト(レコードタイプ)を指定してレコードを追加する。
|
@Published public SendingMessage addRecord(Map<?> record) throws InvalidDataFormatException
record
の内容から自動的に判別される。record
- レコード内容InvalidDataFormatException
- レコードの内容がフォーマット定義に違反している場合@Published public SendingMessage addRecord(String recordType, Map<?> record) throws InvalidDataFormatException
recordType
にnull
を渡した場合、SendingMessage.addRecord(Map)
と同様の処理を行う。recordType
- レコードタイプrecord
- レコード内容InvalidDataFormatException
- レコードの内容がフォーマット定義に違反している場合@Published public SendingMessage addRecord(Object recordObj) throws InvalidDataFormatException
recordObj
- レコード内容を表現したオブジェクトInvalidDataFormatException
- レコードの内容がフォーマット定義に違反している場合@Published public SendingMessage addRecord(String recordType, Object recordObj) throws InvalidDataFormatException
recordType
にnull
を渡した場合、SendingMessage.addRecord(Object)
と同様の処理を行う。recordType
- レコードタイプrecordObj
- レコード内容を表現したオブジェクトInvalidDataFormatException
- レコードの内容がフォーマット定義に違反している場合