Interface TradeServerFieldSet
public interface TradeServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a field to this eventdefault void
setAssetClass
(Object value) The asset class for the trade; used by permissioning and licensing.default void
setMsgType
(Object value) The name of the transitiondefault void
setRequestID
(Object value) A Unique identifier, must remain the same for each event in the trade modeldefault void
setTradingProtocol
(Object value) The trade protocol, e.g, MMRFS or MMPostTrade.
-
Method Details
-
addField
Adds a field to this event- Parameters:
fieldName
- The name of the field to add.value
- The value of the field to add. If the value is a BigDecimal then it will be converted to aString
usingBigDecimal.toPlainString()
-
setRequestID
A Unique identifier, must remain the same for each event in the trade model- Parameters:
value
- The value to be set passed by i18n
-
setAssetClass
The asset class for the trade; used by permissioning and licensing.- Parameters:
value
- The value to be set passed by i18n
-
setTradingProtocol
The trade protocol, e.g, MMRFS or MMPostTrade. The Trading DataSource library needs this so that it knows which state model to use for the trade. Also used for permissioning.- Parameters:
value
- The value to be set passed by i18n
-
setMsgType
The name of the transition- Parameters:
value
- The value to be set passed by i18n
-