Package cdm.event.common
Interface ExecutionInstruction.ExecutionInstructionBuilder
- All Superinterfaces:
ExecutionInstruction,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
ExecutionInstruction.ExecutionInstructionBuilderImpl
- Enclosing interface:
ExecutionInstruction
public static interface ExecutionInstruction.ExecutionInstructionBuilder
extends ExecutionInstruction, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.ExecutionInstruction
ExecutionInstruction.ExecutionInstructionBuilder, ExecutionInstruction.ExecutionInstructionBuilderImpl, ExecutionInstruction.ExecutionInstructionImpl -
Field Summary
Fields inherited from interface cdm.event.common.ExecutionInstruction
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) addParties(Party parties) addParties(Party parties, int idx) addParties(List<? extends Party> parties) addPartyRoles(PartyRole partyRoles) addPartyRoles(PartyRole partyRoles, int idx) addPartyRoles(List<? extends PartyRole> partyRoles) addPriceQuantity(PriceQuantity priceQuantity) addPriceQuantity(PriceQuantity priceQuantity, int idx) addPriceQuantity(List<? extends PriceQuantity> priceQuantity) addTradeIdentifier(TradeIdentifier tradeIdentifier) addTradeIdentifier(TradeIdentifier tradeIdentifier, int idx) addTradeIdentifier(List<? extends TradeIdentifier> tradeIdentifier) List<? extends AncillaryParty.AncillaryPartyBuilder> Maps any ancillary parties, e.g. parties involved in the transaction that are not one of the two principal parties.Detail the collateral requirement anticipated with the transaction.List<? extends Counterparty.CounterpartyBuilder> Maps two defined parties to counterparty enums for the transacted product.Specifies the type and venue of execution, e.g. via voice, or electronically.Lot Identifier associated with the transaction.getOrCreateAncillaryParty(int index) getOrCreateCounterparty(int index) getOrCreateParties(int index) getOrCreatePartyRoles(int index) getOrCreatePriceQuantity(int index) getOrCreateTradeIdentifier(int index) List<? extends Party.PartyBuilder> Defines all parties to that execution, including agents and brokers.List<? extends PartyRole.PartyRoleBuilder> Defines the role(s) that party(ies) may have in relation to the execution.List<? extends PriceQuantity.PriceQuantityBuilder> Defines the prices (e.g. spread, equity price, FX rate), quantities (e.g. currency amount, no. shares) and settlement terms (e.g. initial fee, broker fee, up-front cds payment or option premium settlement) associated with the constituents of the transacted product.Defines the financial product to be executed and contract formed.Denotes the trade/execution date.List<? extends TradeIdentifier.TradeIdentifierBuilder> Denotes one or more identifiers associated with the transaction.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()setAncillaryParty(List<? extends AncillaryParty> ancillaryParty) setCollateral(Collateral collateral) setCounterparty(List<? extends Counterparty> counterparty) setExecutionDetails(ExecutionDetails executionDetails) setLotIdentifier(Identifier lotIdentifier) setParties(List<? extends Party> parties) setPartyRoles(List<? extends PartyRole> partyRoles) setPriceQuantity(List<? extends PriceQuantity> priceQuantity) setProduct(Product product) 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 cdm.event.common.ExecutionInstruction
build, getType, metaData, process, toBuilderMethods 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
-
getOrCreateProduct
Product.ProductBuilder getOrCreateProduct() -
getProduct
Product.ProductBuilder getProduct()Description copied from interface:ExecutionInstructionDefines the financial product to be executed and contract formed.- Specified by:
getProductin interfaceExecutionInstruction
-
getOrCreatePriceQuantity
-
getPriceQuantity
List<? extends PriceQuantity.PriceQuantityBuilder> getPriceQuantity()Description copied from interface:ExecutionInstructionDefines the prices (e.g. spread, equity price, FX rate), quantities (e.g. currency amount, no. shares) and settlement terms (e.g. initial fee, broker fee, up-front cds payment or option premium settlement) associated with the constituents of the transacted product.- Specified by:
getPriceQuantityin interfaceExecutionInstruction
-
getOrCreateCounterparty
-
getCounterparty
List<? extends Counterparty.CounterpartyBuilder> getCounterparty()Description copied from interface:ExecutionInstructionMaps two defined parties to counterparty enums for the transacted product.- Specified by:
getCounterpartyin interfaceExecutionInstruction
-
getOrCreateAncillaryParty
-
getAncillaryParty
List<? extends AncillaryParty.AncillaryPartyBuilder> getAncillaryParty()Description copied from interface:ExecutionInstructionMaps any ancillary parties, e.g. parties involved in the transaction that are not one of the two principal parties.- Specified by:
getAncillaryPartyin interfaceExecutionInstruction
-
getOrCreateParties
-
getParties
List<? extends Party.PartyBuilder> getParties()Description copied from interface:ExecutionInstructionDefines all parties to that execution, including agents and brokers.- Specified by:
getPartiesin interfaceExecutionInstruction
-
getOrCreatePartyRoles
-
getPartyRoles
List<? extends PartyRole.PartyRoleBuilder> getPartyRoles()Description copied from interface:ExecutionInstructionDefines the role(s) that party(ies) may have in relation to the execution.- Specified by:
getPartyRolesin interfaceExecutionInstruction
-
getOrCreateExecutionDetails
ExecutionDetails.ExecutionDetailsBuilder getOrCreateExecutionDetails() -
getExecutionDetails
ExecutionDetails.ExecutionDetailsBuilder getExecutionDetails()Description copied from interface:ExecutionInstructionSpecifies the type and venue of execution, e.g. via voice, or electronically.- Specified by:
getExecutionDetailsin interfaceExecutionInstruction
-
getOrCreateTradeDate
FieldWithMetaDate.FieldWithMetaDateBuilder getOrCreateTradeDate() -
getTradeDate
FieldWithMetaDate.FieldWithMetaDateBuilder getTradeDate()Description copied from interface:ExecutionInstructionDenotes the trade/execution date.- Specified by:
getTradeDatein interfaceExecutionInstruction
-
getOrCreateTradeTime
FieldWithMetaTimeZone.FieldWithMetaTimeZoneBuilder getOrCreateTradeTime() -
getTradeTime
FieldWithMetaTimeZone.FieldWithMetaTimeZoneBuilder getTradeTime()Description copied from interface:ExecutionInstructionDenotes the trade time and timezone as agreed by the parties to the trade.- Specified by:
getTradeTimein interfaceExecutionInstruction
-
getOrCreateTradeIdentifier
-
getTradeIdentifier
List<? extends TradeIdentifier.TradeIdentifierBuilder> getTradeIdentifier()Description copied from interface:ExecutionInstructionDenotes one or more identifiers associated with the transaction.- Specified by:
getTradeIdentifierin interfaceExecutionInstruction
-
getOrCreateCollateral
Collateral.CollateralBuilder getOrCreateCollateral() -
getCollateral
Collateral.CollateralBuilder getCollateral()Description copied from interface:ExecutionInstructionDetail the collateral requirement anticipated with the transaction.- Specified by:
getCollateralin interfaceExecutionInstruction
-
getOrCreateLotIdentifier
Identifier.IdentifierBuilder getOrCreateLotIdentifier() -
getLotIdentifier
Identifier.IdentifierBuilder getLotIdentifier()Description copied from interface:ExecutionInstructionLot Identifier associated with the transaction.- Specified by:
getLotIdentifierin interfaceExecutionInstruction
-
setProduct
-
addPriceQuantity
-
addPriceQuantity
ExecutionInstruction.ExecutionInstructionBuilder addPriceQuantity(PriceQuantity priceQuantity, int idx) -
addPriceQuantity
ExecutionInstruction.ExecutionInstructionBuilder addPriceQuantity(List<? extends PriceQuantity> priceQuantity) -
setPriceQuantity
ExecutionInstruction.ExecutionInstructionBuilder setPriceQuantity(List<? extends PriceQuantity> priceQuantity) -
addCounterparty
-
addCounterparty
ExecutionInstruction.ExecutionInstructionBuilder addCounterparty(Counterparty counterparty, int idx) -
addCounterparty
ExecutionInstruction.ExecutionInstructionBuilder addCounterparty(List<? extends Counterparty> counterparty) -
setCounterparty
ExecutionInstruction.ExecutionInstructionBuilder setCounterparty(List<? extends Counterparty> counterparty) -
addAncillaryParty
-
addAncillaryParty
ExecutionInstruction.ExecutionInstructionBuilder addAncillaryParty(AncillaryParty ancillaryParty, int idx) -
addAncillaryParty
ExecutionInstruction.ExecutionInstructionBuilder addAncillaryParty(List<? extends AncillaryParty> ancillaryParty) -
setAncillaryParty
ExecutionInstruction.ExecutionInstructionBuilder setAncillaryParty(List<? extends AncillaryParty> ancillaryParty) -
addParties
-
addParties
-
addParties
-
setParties
-
addPartyRoles
-
addPartyRoles
-
addPartyRoles
ExecutionInstruction.ExecutionInstructionBuilder addPartyRoles(List<? extends PartyRole> partyRoles) -
setPartyRoles
ExecutionInstruction.ExecutionInstructionBuilder setPartyRoles(List<? extends PartyRole> partyRoles) -
setExecutionDetails
ExecutionInstruction.ExecutionInstructionBuilder setExecutionDetails(ExecutionDetails executionDetails) -
setTradeDate
-
setTradeDateValue
ExecutionInstruction.ExecutionInstructionBuilder setTradeDateValue(com.rosetta.model.lib.records.Date tradeDate) -
setTradeTime
-
setTradeTimeValue
-
addTradeIdentifier
ExecutionInstruction.ExecutionInstructionBuilder addTradeIdentifier(TradeIdentifier tradeIdentifier) -
addTradeIdentifier
ExecutionInstruction.ExecutionInstructionBuilder addTradeIdentifier(TradeIdentifier tradeIdentifier, int idx) -
addTradeIdentifier
ExecutionInstruction.ExecutionInstructionBuilder addTradeIdentifier(List<? extends TradeIdentifier> tradeIdentifier) -
setTradeIdentifier
ExecutionInstruction.ExecutionInstructionBuilder setTradeIdentifier(List<? extends TradeIdentifier> tradeIdentifier) -
setCollateral
-
setLotIdentifier
-
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
-