Package cdm.event.common
Interface PartyChangeInstruction.PartyChangeInstructionBuilder
- All Superinterfaces:
PartyChangeInstruction,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
PartyChangeInstruction.PartyChangeInstructionBuilderImpl
- Enclosing interface:
PartyChangeInstruction
public static interface PartyChangeInstruction.PartyChangeInstructionBuilder
extends PartyChangeInstruction, com.rosetta.model.lib.RosettaModelObjectBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.PartyChangeInstruction
PartyChangeInstruction.PartyChangeInstructionBuilder, PartyChangeInstruction.PartyChangeInstructionBuilderImpl, PartyChangeInstruction.PartyChangeInstructionImpl -
Field Summary
Fields inherited from interface cdm.event.common.PartyChangeInstruction
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddTradeId(TradeIdentifier tradeId) addTradeId(TradeIdentifier tradeId, int idx) addTradeId(List<? extends TradeIdentifier> tradeId) Specifies an ancillary party to be added onto the new transaction, e.g. the original executing party in an allocation.The new counterparty who is stepping into the trade.getOrCreateTradeId(int index) Specifies an additional party roles to be added on to the new transaction.List<? extends TradeIdentifier.TradeIdentifierBuilder> The identifier to be assigned to the new trade post change of party.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setAncillaryParty(AncillaryParty ancillaryParty) setCounterparty(Counterparty counterparty) setPartyRole(PartyRole partyRole) setTradeId(List<? extends TradeIdentifier> tradeId) Methods inherited from interface cdm.event.common.PartyChangeInstruction
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
-
getOrCreateCounterparty
Counterparty.CounterpartyBuilder getOrCreateCounterparty() -
getCounterparty
Counterparty.CounterpartyBuilder getCounterparty()Description copied from interface:PartyChangeInstructionThe new counterparty who is stepping into the trade. The stepping out counterparty is inferred based on the counterparty role that is being updated.- Specified by:
getCounterpartyin interfacePartyChangeInstruction
-
getOrCreateAncillaryParty
AncillaryParty.AncillaryPartyBuilder getOrCreateAncillaryParty() -
getAncillaryParty
AncillaryParty.AncillaryPartyBuilder getAncillaryParty()Description copied from interface:PartyChangeInstructionSpecifies an ancillary party to be added onto the new transaction, e.g. the original executing party in an allocation.- Specified by:
getAncillaryPartyin interfacePartyChangeInstruction
-
getOrCreatePartyRole
PartyRole.PartyRoleBuilder getOrCreatePartyRole() -
getPartyRole
PartyRole.PartyRoleBuilder getPartyRole()Description copied from interface:PartyChangeInstructionSpecifies an additional party roles to be added on to the new transaction.- Specified by:
getPartyRolein interfacePartyChangeInstruction
-
getOrCreateTradeId
-
getTradeId
List<? extends TradeIdentifier.TradeIdentifierBuilder> getTradeId()Description copied from interface:PartyChangeInstructionThe identifier to be assigned to the new trade post change of party.- Specified by:
getTradeIdin interfacePartyChangeInstruction
-
setCounterparty
-
setAncillaryParty
PartyChangeInstruction.PartyChangeInstructionBuilder setAncillaryParty(AncillaryParty ancillaryParty) -
setPartyRole
-
addTradeId
-
addTradeId
-
addTradeId
PartyChangeInstruction.PartyChangeInstructionBuilder addTradeId(List<? extends TradeIdentifier> tradeId) -
setTradeId
PartyChangeInstruction.PartyChangeInstructionBuilder setTradeId(List<? extends TradeIdentifier> tradeId) -
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
-