Package cdm.event.common
Interface Trade.TradeBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,Trade
- All Known Implementing Classes:
Trade.TradeBuilderImpl
- Enclosing interface:
Trade
public static interface Trade.TradeBuilder
extends Trade, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
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
-
Method Summary
Modifier and TypeMethodDescriptionaddAccount(Account account) addAccount(Account account, int idx) addAccount(List<? extends Account> account) addPartyRole(PartyRole partyRole) addPartyRole(PartyRole partyRole, int idx) addPartyRole(List<? extends PartyRole> partyRole) addTradeIdentifier(TradeIdentifier tradeIdentifier) addTradeIdentifier(TradeIdentifier tradeIdentifier, int idx) addTradeIdentifier(List<? extends TradeIdentifier> tradeIdentifier) List<? extends Account.AccountBuilder> Represents a party's granular account information, which may be used in subsequent internal processing.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.MetaFields.MetaFieldsBuildergetMeta()getOrCreateAccount(int index) com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreateParty(int index) getOrCreatePartyRole(int index) getOrCreateTradeIdentifier(int index) List<? extends Party.PartyBuilder> getParty()Represents the parties to the trade.List<? extends PartyRole.PartyRoleBuilder> 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.TradeIdentifierBuilder> 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.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAccount(List<? extends Account> account) setClearedDate(com.rosetta.model.lib.records.Date clearedDate) setCollateral(Collateral collateral) setContractDetails(ContractDetails contractDetails) setExecutionDetails(ExecutionDetails executionDetails) setMeta(com.rosetta.model.metafields.MetaFields meta) setPartyRole(List<? extends PartyRole> partyRole) setTradableProduct(TradableProduct tradableProduct) setTradeDate(FieldWithMetaDate tradeDate) setTradeDateValue(com.rosetta.model.lib.records.Date tradeDate) setTradeIdentifier(List<? extends TradeIdentifier> tradeIdentifier) setTradeTime(FieldWithMetaTimeZone tradeTime) setTradeTimeValue(TimeZone tradeTime) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateTradeIdentifier
-
getTradeIdentifier
List<? extends TradeIdentifier.TradeIdentifierBuilder> 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
-
getOrCreateTradeDate
FieldWithMetaDate.FieldWithMetaDateBuilder getOrCreateTradeDate() -
getTradeDate
FieldWithMetaDate.FieldWithMetaDateBuilder getTradeDate()Description copied from interface:TradeSpecifies the date which the trade was agreed.- Specified by:
getTradeDatein interfaceTrade
-
getOrCreateTradeTime
FieldWithMetaTimeZone.FieldWithMetaTimeZoneBuilder getOrCreateTradeTime() -
getTradeTime
FieldWithMetaTimeZone.FieldWithMetaTimeZoneBuilder getTradeTime()Description copied from interface:TradeDenotes the trade time and timezone as agreed by the parties to the trade.- Specified by:
getTradeTimein interfaceTrade
-
getOrCreateTradableProduct
TradableProduct.TradableProductBuilder getOrCreateTradableProduct() -
getTradableProduct
TradableProduct.TradableProductBuilder 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
-
getOrCreateParty
-
getParty
List<? extends Party.PartyBuilder> 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. -
getOrCreatePartyRole
-
getPartyRole
List<? extends PartyRole.PartyRoleBuilder> 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
-
getOrCreateExecutionDetails
ExecutionDetails.ExecutionDetailsBuilder getOrCreateExecutionDetails() -
getExecutionDetails
ExecutionDetails.ExecutionDetailsBuilder getExecutionDetails()Description copied from interface:TradeRepresents information specific to trades that arose from executions.- Specified by:
getExecutionDetailsin interfaceTrade
-
getOrCreateContractDetails
ContractDetails.ContractDetailsBuilder getOrCreateContractDetails() -
getContractDetails
ContractDetails.ContractDetailsBuilder getContractDetails()Description copied from interface:TradeRepresents information specific to trades involving contractual products.- Specified by:
getContractDetailsin interfaceTrade
-
getOrCreateCollateral
Collateral.CollateralBuilder getOrCreateCollateral() -
getCollateral
Collateral.CollateralBuilder getCollateral()Description copied from interface:TradeRepresents the collateral obligations of a party.- Specified by:
getCollateralin interfaceTrade
-
getOrCreateAccount
-
getAccount
List<? extends Account.AccountBuilder> getAccount()Description copied from interface:TradeRepresents a party's granular account information, which may be used in subsequent internal processing.- Specified by:
getAccountin interfaceTrade
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta() -
addTradeIdentifier
-
addTradeIdentifier
-
addTradeIdentifier
-
setTradeIdentifier
-
setTradeDate
-
setTradeDateValue
-
setTradeTime
-
setTradeTimeValue
-
setTradableProduct
-
addParty
-
addParty
-
addParty
-
setParty
-
addPartyRole
-
addPartyRole
-
addPartyRole
-
setPartyRole
-
setExecutionDetails
-
setContractDetails
-
setClearedDate
-
setCollateral
-
addAccount
-
addAccount
-
addAccount
-
setAccount
-
setMeta
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
Trade.TradeBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-