Package cdm.event.common
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
Immutable Implementation of Trade
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.event.common.Trade
Trade.TradeBuilder, Trade.TradeBuilderImpl, Trade.TradeImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanRepresents a party's granular account information, which may be used in subsequent internal processing.com.rosetta.model.lib.records.DateSpecifies the date on which a trade is cleared (novated) through a central counterparty clearing service.Represents the collateral obligations of a party.Represents information specific to trades involving contractual products.Represents information specific to trades that arose from executions.com.rosetta.model.metafields.MetaFieldsgetMeta()getParty()Represents the parties to the trade.Represents the role each specified party takes in the trade. further to the principal roles, payer and receiver.Represents the financial instrument The corresponding FpML construct is the product abstract element and the associated substitution group.Specifies the date which the trade was agreed.List<? extends TradeIdentifier> Represents the identifier(s) that uniquely identify a trade for an identity issuer.Denotes the trade time and timezone as agreed by the parties to the trade.inthashCode()protected voidsetBuilderFields(Trade.TradeBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
TradeImpl
-
-
Method Details
-
getTradeIdentifier
@RosettaAttribute(value="tradeIdentifier", isRequired=true) @RuneAttribute(value="tradeIdentifier", isRequired=true) public List<? extends TradeIdentifier> getTradeIdentifier()Description copied from interface:TradeRepresents 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:
getTradeIdentifierin interfaceTrade
-
getTradeDate
@RosettaAttribute(value="tradeDate", isRequired=true) @RuneAttribute(value="tradeDate", isRequired=true) public FieldWithMetaDate getTradeDate()Description copied from interface:TradeSpecifies the date which the trade was agreed.- Specified by:
getTradeDatein interfaceTrade
-
getTradeTime
@RosettaAttribute("tradeTime") @RuneAttribute("tradeTime") public FieldWithMetaTimeZone getTradeTime()Description copied from interface:TradeDenotes the trade time and timezone as agreed by the parties to the trade.- Specified by:
getTradeTimein interfaceTrade
-
getTradableProduct
@RosettaAttribute(value="tradableProduct", isRequired=true) @RuneAttribute(value="tradableProduct", isRequired=true) public TradableProduct getTradableProduct()Description copied from interface:TradeRepresents the financial instrument The corresponding FpML construct is the product abstract element and the associated substitution group.- Specified by:
getTradableProductin interfaceTrade
-
getParty
Description copied from interface:TradeRepresents 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. -
getPartyRole
@RosettaAttribute("partyRole") @RuneAttribute("partyRole") public List<? extends PartyRole> getPartyRole()Description copied from interface:TradeRepresents the role each specified party takes in the trade. further to the principal roles, payer and receiver.- Specified by:
getPartyRolein interfaceTrade
-
getExecutionDetails
@RosettaAttribute("executionDetails") @RuneAttribute("executionDetails") public ExecutionDetails getExecutionDetails()Description copied from interface:TradeRepresents information specific to trades that arose from executions.- Specified by:
getExecutionDetailsin interfaceTrade
-
getContractDetails
@RosettaAttribute("contractDetails") @RuneAttribute("contractDetails") public ContractDetails getContractDetails()Description copied from interface:TradeRepresents information specific to trades involving contractual products.- Specified by:
getContractDetailsin interfaceTrade
-
getClearedDate
@RosettaAttribute("clearedDate") @RuneAttribute("clearedDate") public com.rosetta.model.lib.records.Date getClearedDate()Description copied from interface:TradeSpecifies the date on which a trade is cleared (novated) through a central counterparty clearing service.- Specified by:
getClearedDatein interfaceTrade
-
getCollateral
Description copied from interface:TradeRepresents the collateral obligations of a party.- Specified by:
getCollateralin interfaceTrade
-
getAccount
Description copied from interface:TradeRepresents a party's granular account information, which may be used in subsequent internal processing.- Specified by:
getAccountin interfaceTrade
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta() -
build
Description copied from interface:TradeBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-