Interface TradeState

All Superinterfaces:
com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
TradeState.TradeStateBuilder
All Known Implementing Classes:
TradeState.TradeStateBuilderImpl, TradeState.TradeStateImpl

@RosettaDataType(value="TradeState", builder=TradeStateBuilderImpl.class, version="5.30.0") @RuneDataType(value="TradeState", model="cdm", builder=TradeStateBuilderImpl.class, version="5.30.0") public interface TradeState extends com.rosetta.model.lib.RosettaModelObject, com.rosetta.model.lib.GlobalKey
Defines the fundamental financial information that can be changed by a Primitive Event and by extension any business or life-cycle event. Each TradeState specifies where a Trade is in its life-cycle. TradeState is a root type and as such, can be created independently to any other CDM data type, but can also be used as part of the CDM Event Model.
Version:
5.30.0
  • Field Details

  • Method Details

    • getTrade

      Trade getTrade()
      Represents the Trade that has been effected by a business or life-cycle event.
    • getState

      State getState()
      Represents the State of the Trade through its life-cycle.
    • getResetHistory

      List<? extends Reset> getResetHistory()
      Represents the updated Trade attributes which can change as the result of a reset event. Only the changed values are captured, leaving the remaining data attributes empty. See Create_Reset function for further details on how TradeState is used in the Reset event. The TradeState data type is used to maintain backwards compatibility with the current Reset mechanism.
    • getTransferHistory

      List<? extends TransferState> getTransferHistory()
      Represents the updated Trade attributes which can change as the result of a transfer event.
    • getObservationHistory

      List<? extends ObservationEvent> getObservationHistory()
      Represents the observed events related to a particular product or process, such as credit events or corporate actions.
    • getValuationHistory

      List<? extends Valuation> getValuationHistory()
    • getMeta

      com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
    • build

      TradeState build()
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

      static TradeState.TradeStateBuilder builder()
    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends TradeState> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends TradeState> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject