Package cdm.event.common
Class PartyChangeInstruction.PartyChangeInstructionImpl
java.lang.Object
cdm.event.common.PartyChangeInstruction.PartyChangeInstructionImpl
- All Implemented Interfaces:
PartyChangeInstruction,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
PartyChangeInstruction
public static class PartyChangeInstruction.PartyChangeInstructionImpl
extends Object
implements PartyChangeInstruction
Immutable Implementation of PartyChangeInstruction
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies 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.Specifies an additional party roles to be added on to the new transaction.List<? extends TradeIdentifier> The identifier to be assigned to the new trade post change of party.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.PartyChangeInstruction
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
PartyChangeInstructionImpl
-
-
Method Details
-
getCounterparty
@RosettaAttribute(value="counterparty", isRequired=true) @RuneAttribute(value="counterparty", isRequired=true) public Counterparty 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
-
getAncillaryParty
@RosettaAttribute("ancillaryParty") @RuneAttribute("ancillaryParty") public AncillaryParty 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
-
getPartyRole
Description copied from interface:PartyChangeInstructionSpecifies an additional party roles to be added on to the new transaction.- Specified by:
getPartyRolein interfacePartyChangeInstruction
-
getTradeId
@RosettaAttribute(value="tradeId", isRequired=true) @RuneAttribute(value="tradeId", isRequired=true) public List<? extends TradeIdentifier> getTradeId()Description copied from interface:PartyChangeInstructionThe identifier to be assigned to the new trade post change of party.- Specified by:
getTradeIdin interfacePartyChangeInstruction
-
build
Description copied from interface:PartyChangeInstructionBuild Methods- Specified by:
buildin interfacePartyChangeInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePartyChangeInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-