Interface TradeServerFieldSet


public interface TradeServerFieldSet
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addField(String fieldName, Object value)
    Adds a field to this event
    default void
    The asset class for the trade; used by permissioning and licensing.
    default void
    The name of the transition
    default void
    A Unique identifier, must remain the same for each event in the trade model
    default void
    The trade protocol, e.g, MMRFS or MMPostTrade.
  • Method Details

    • addField

      void addField(String fieldName, Object value)
      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 a String using BigDecimal.toPlainString()
    • setRequestID

      default void setRequestID(Object value)
      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

      default void setAssetClass(Object value)
      The asset class for the trade; used by permissioning and licensing.
      Parameters:
      value - The value to be set passed by i18n
    • setTradingProtocol

      default void setTradingProtocol(Object value)
      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

      default void setMsgType(Object value)
      The name of the transition
      Parameters:
      value - The value to be set passed by i18n