Interface TradeServerFieldSet
public interface TradeServerFieldSet
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a field to this eventdefault voidsetAssetClass(Object value) The asset class for the trade; used by permissioning and licensing.default voidsetMsgType(Object value) The name of the transitiondefault voidsetRequestID(Object value) A Unique identifier, must remain the same for each event in the trade modeldefault voidsetTradingProtocol(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 aStringusingBigDecimal.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
-