Package cdm.product.template
Interface TradableProduct.TradableProductBuilder
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,TradableProduct
- All Known Implementing Classes:
TradableProduct.TradableProductBuilderImpl
- Enclosing interface:
TradableProduct
public static interface TradableProduct.TradableProductBuilder
extends TradableProduct, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.TradableProduct
TradableProduct.TradableProductBuilder, TradableProduct.TradableProductBuilderImpl, TradableProduct.TradableProductImpl -
Field Summary
Fields inherited from interface cdm.product.template.TradableProduct
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddAncillaryParty(AncillaryParty ancillaryParty) addAncillaryParty(AncillaryParty ancillaryParty, int idx) addAncillaryParty(List<? extends AncillaryParty> ancillaryParty) addCounterparty(Counterparty counterparty) addCounterparty(Counterparty counterparty, int idx) addCounterparty(List<? extends Counterparty> counterparty) addTradeLot(TradeLot tradeLot) addTradeLot(TradeLot tradeLot, int idx) addTradeLot(List<? extends TradeLot> tradeLot) List<? extends AncillaryParty.AncillaryPartyBuilder> Specifies the parties with ancillary roles in the transaction.List<? extends Counterparty.CounterpartyBuilder> Specifies the parties which are the two counterparties to the transaction.getOrCreateAncillaryParty(int index) getOrCreateCounterparty(int index) getOrCreateTradeLot(int index) The underlying product to be included in a contract or execution.List<? extends TradeLot.TradeLotBuilder> Specifies the price, quantity and effective date of each trade lot, when the same product may be traded multiple times in different lots with the same counterparty.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAdjustment(NotionalAdjustmentEnum adjustment) setAncillaryParty(List<? extends AncillaryParty> ancillaryParty) setCounterparty(List<? extends Counterparty> counterparty) setProduct(Product product) setTradeLot(List<? extends TradeLot> tradeLot) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosettaMethods inherited from interface cdm.product.template.TradableProduct
build, getAdjustment, getType, metaData, process, toBuilder
-
Method Details
-
getOrCreateProduct
Product.ProductBuilder getOrCreateProduct() -
getProduct
Product.ProductBuilder getProduct()Description copied from interface:TradableProductThe underlying product to be included in a contract or execution.- Specified by:
getProductin interfaceTradableProduct
-
getOrCreateTradeLot
-
getTradeLot
List<? extends TradeLot.TradeLotBuilder> getTradeLot()Description copied from interface:TradableProductSpecifies the price, quantity and effective date of each trade lot, when the same product may be traded multiple times in different lots with the same counterparty. In a trade increase, a new trade lot is added to the list, with the corresponding effective date. In a trade decrease, the existing trade lot(s) are decreased of the corresponding quantity (and an unwind fee may have to be settled). The multiple cardinality and the ability to increase existing trades is used for Equity Swaps in particular.- Specified by:
getTradeLotin interfaceTradableProduct
-
getOrCreateCounterparty
-
getCounterparty
List<? extends Counterparty.CounterpartyBuilder> getCounterparty()Description copied from interface:TradableProductSpecifies the parties which are the two counterparties to the transaction. The product is agnostic to the actual parties to the transaction, with the party references abstracted away from the product definition and replaced by the counterparty enum (e.g. CounterpartyEnum values Party1 or Party2). The counterparty enum can then be positioned in the product (e.g. to specify which counterparty is the payer, receiver etc) and this counterparties attribute, which is positioned outside of the product definition, allows the counterparty enum to be associated with an actual party reference. Body ICMA Corpus MasterAgreement GMRA Global Master Repurchase Agreement GMRA 2011 "The Global Master Repurchase Agreement (GMRA) is a model legal agreement designed for parties transacting repos and is published by the International Capital Market Association (ICMA)." namingConvention "Party" Provision Parties entering into GMRA, as specified on page 1 of the GMRA and under 1. (a).- Specified by:
getCounterpartyin interfaceTradableProduct
-
getOrCreateAncillaryParty
-
getAncillaryParty
List<? extends AncillaryParty.AncillaryPartyBuilder> getAncillaryParty()Description copied from interface:TradableProductSpecifies the parties with ancillary roles in the transaction. The product is agnostic to the actual parties involved in the transaction, with the party references abstracted away from the product definition and replaced by the AncillaryRoleEnum. The AncillaryRoleEnum can then be positioned in the product and this AncillaryParty type, which is positioned outside of the product definition, allows the AncillaryRoleEnum to be associated with an actual party reference.- Specified by:
getAncillaryPartyin interfaceTradableProduct
-
setProduct
-
addTradeLot
-
addTradeLot
-
addTradeLot
-
setTradeLot
-
addCounterparty
-
addCounterparty
-
addCounterparty
-
setCounterparty
-
addAncillaryParty
-
addAncillaryParty
-
addAncillaryParty
TradableProduct.TradableProductBuilder addAncillaryParty(List<? extends AncillaryParty> ancillaryParty) -
setAncillaryParty
TradableProduct.TradableProductBuilder setAncillaryParty(List<? extends AncillaryParty> ancillaryParty) -
setAdjustment
-
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
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-