Class Trade.TradeImpl

java.lang.Object
cdm.event.common.Trade.TradeImpl
All Implemented Interfaces:
Trade, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Trade

public static class Trade.TradeImpl extends Object implements Trade
Immutable Implementation of Trade
  • Constructor Details

  • Method Details

    • getTradeIdentifier

      @RosettaAttribute(value="tradeIdentifier", isRequired=true) @RuneAttribute(value="tradeIdentifier", isRequired=true) public List<? extends TradeIdentifier> getTradeIdentifier()
      Description copied from interface: Trade
      Represents the identifier(s) that uniquely identify a trade for an identity issuer. A trade can include multiple identifiers, for example a trade that is reportable to both the CFTC and ESMA, and then has an associated USI (Unique Swap Identifier) UTI (Unique Trade Identifier).
      Specified by:
      getTradeIdentifier in interface Trade
    • getTradeDate

      @RosettaAttribute(value="tradeDate", isRequired=true) @RuneAttribute(value="tradeDate", isRequired=true) public FieldWithMetaDate getTradeDate()
      Description copied from interface: Trade
      Specifies the date which the trade was agreed.
      Specified by:
      getTradeDate in interface Trade
    • getTradeTime

      @RosettaAttribute("tradeTime") @RuneAttribute("tradeTime") public FieldWithMetaTimeZone getTradeTime()
      Description copied from interface: Trade
      Denotes the trade time and timezone as agreed by the parties to the trade.
      Specified by:
      getTradeTime in interface Trade
    • getTradableProduct

      @RosettaAttribute(value="tradableProduct", isRequired=true) @RuneAttribute(value="tradableProduct", isRequired=true) public TradableProduct getTradableProduct()
      Description copied from interface: Trade
      Represents the financial instrument The corresponding FpML construct is the product abstract element and the associated substitution group.
      Specified by:
      getTradableProduct in interface Trade
    • getParty

      @RosettaAttribute("party") @RuneAttribute("party") public List<? extends Party> getParty()
      Description copied from interface: Trade
      Represents the parties to the trade. The cardinality is optional to address the case where the trade is defined within a BusinessEvent data type, in which case the party is specified in BusinessEvent.
      Specified by:
      getParty in interface Trade
    • getPartyRole

      @RosettaAttribute("partyRole") @RuneAttribute("partyRole") public List<? extends PartyRole> getPartyRole()
      Description copied from interface: Trade
      Represents the role each specified party takes in the trade. further to the principal roles, payer and receiver.
      Specified by:
      getPartyRole in interface Trade
    • getExecutionDetails

      @RosettaAttribute("executionDetails") @RuneAttribute("executionDetails") public ExecutionDetails getExecutionDetails()
      Description copied from interface: Trade
      Represents information specific to trades that arose from executions.
      Specified by:
      getExecutionDetails in interface Trade
    • getContractDetails

      @RosettaAttribute("contractDetails") @RuneAttribute("contractDetails") public ContractDetails getContractDetails()
      Description copied from interface: Trade
      Represents information specific to trades involving contractual products.
      Specified by:
      getContractDetails in interface Trade
    • getClearedDate

      @RosettaAttribute("clearedDate") @RuneAttribute("clearedDate") public com.rosetta.model.lib.records.Date getClearedDate()
      Description copied from interface: Trade
      Specifies the date on which a trade is cleared (novated) through a central counterparty clearing service.
      Specified by:
      getClearedDate in interface Trade
    • getCollateral

      @RosettaAttribute("collateral") @RuneAttribute("collateral") public Collateral getCollateral()
      Description copied from interface: Trade
      Represents the collateral obligations of a party.
      Specified by:
      getCollateral in interface Trade
    • getAccount

      @RosettaAttribute("account") @RuneAttribute("account") public List<? extends Account> getAccount()
      Description copied from interface: Trade
      Represents a party's granular account information, which may be used in subsequent internal processing.
      Specified by:
      getAccount in interface Trade
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface Trade
    • build

      public Trade build()
      Description copied from interface: Trade
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      build in interface Trade
    • toBuilder

      public Trade.TradeBuilder toBuilder()
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      toBuilder in interface Trade
    • setBuilderFields

      protected void setBuilderFields(Trade.TradeBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object