Package cdm.event.common
Class ClearingInstruction.ClearingInstructionBuilderImpl
java.lang.Object
cdm.event.common.ClearingInstruction.ClearingInstructionBuilderImpl
- All Implemented Interfaces:
ClearingInstruction,ClearingInstruction.ClearingInstructionBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ClearingInstruction
public static class ClearingInstruction.ClearingInstructionBuilderImpl
extends Object
implements ClearingInstruction.ClearingInstructionBuilder
Builder Implementation of ClearingInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.ClearingInstruction
ClearingInstruction.ClearingInstructionBuilder, ClearingInstruction.ClearingInstructionBuilderImpl, ClearingInstruction.ClearingInstructionImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TradeState.TradeStateBuilderprotected Party.PartyBuilderprotected Party.PartyBuilderprotected Party.PartyBuilderprotected Booleanprotected Party.PartyBuilderprotected Party.PartyBuilderFields inherited from interface cdm.event.common.ClearingInstruction
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe contract that will be submitted to the clearing house for clearing.Optional party facing the CCP, acting as clearing member for party1.Optional party facing the CCP, acting as clearing member for party2.The Central Counter party (CCP) that the contract will be submitted to for clearing.Open OfferFirst party facing the CCP if it is clearing for its own account.Second party facing the CCP if it is clearing for its own account.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAlphaContract(TradeState _alphaContract) setClearerParty1(Party _clearerParty1) setClearerParty2(Party _clearerParty2) setClearingParty(Party _clearingParty) setIsOpenOffer(Boolean _isOpenOffer) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.ClearingInstruction
getType, metaData, processMethods inherited from interface cdm.event.common.ClearingInstruction.ClearingInstructionBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
alphaContract
-
clearingParty
-
party1
-
party2
-
clearerParty1
-
clearerParty2
-
isOpenOffer
-
-
Constructor Details
-
ClearingInstructionBuilderImpl
public ClearingInstructionBuilderImpl()
-
-
Method Details
-
getAlphaContract
@RosettaAttribute(value="alphaContract", isRequired=true) @RuneAttribute(value="alphaContract", isRequired=true) public TradeState.TradeStateBuilder getAlphaContract()Description copied from interface:ClearingInstructionThe contract that will be submitted to the clearing house for clearing. The contract should indicate that it should be cleared by assigning a clearing organisation as a party role.- Specified by:
getAlphaContractin interfaceClearingInstruction- Specified by:
getAlphaContractin interfaceClearingInstruction.ClearingInstructionBuilder
-
getOrCreateAlphaContract
- Specified by:
getOrCreateAlphaContractin interfaceClearingInstruction.ClearingInstructionBuilder
-
getClearingParty
@RosettaAttribute(value="clearingParty", isRequired=true) @RuneAttribute(value="clearingParty", isRequired=true) public Party.PartyBuilder getClearingParty()Description copied from interface:ClearingInstructionThe Central Counter party (CCP) that the contract will be submitted to for clearing.- Specified by:
getClearingPartyin interfaceClearingInstruction- Specified by:
getClearingPartyin interfaceClearingInstruction.ClearingInstructionBuilder
-
getOrCreateClearingParty
- Specified by:
getOrCreateClearingPartyin interfaceClearingInstruction.ClearingInstructionBuilder
-
getParty1
@RosettaAttribute(value="party1", isRequired=true) @RuneAttribute(value="party1", isRequired=true) public Party.PartyBuilder getParty1()Description copied from interface:ClearingInstructionFirst party facing the CCP if it is clearing for its own account.- Specified by:
getParty1in interfaceClearingInstruction- Specified by:
getParty1in interfaceClearingInstruction.ClearingInstructionBuilder
-
getOrCreateParty1
- Specified by:
getOrCreateParty1in interfaceClearingInstruction.ClearingInstructionBuilder
-
getParty2
@RosettaAttribute(value="party2", isRequired=true) @RuneAttribute(value="party2", isRequired=true) public Party.PartyBuilder getParty2()Description copied from interface:ClearingInstructionSecond party facing the CCP if it is clearing for its own account.- Specified by:
getParty2in interfaceClearingInstruction- Specified by:
getParty2in interfaceClearingInstruction.ClearingInstructionBuilder
-
getOrCreateParty2
- Specified by:
getOrCreateParty2in interfaceClearingInstruction.ClearingInstructionBuilder
-
getClearerParty1
@RosettaAttribute("clearerParty1") @RuneAttribute("clearerParty1") public Party.PartyBuilder getClearerParty1()Description copied from interface:ClearingInstructionOptional party facing the CCP, acting as clearing member for party1.- Specified by:
getClearerParty1in interfaceClearingInstruction- Specified by:
getClearerParty1in interfaceClearingInstruction.ClearingInstructionBuilder
-
getOrCreateClearerParty1
- Specified by:
getOrCreateClearerParty1in interfaceClearingInstruction.ClearingInstructionBuilder
-
getClearerParty2
@RosettaAttribute("clearerParty2") @RuneAttribute("clearerParty2") public Party.PartyBuilder getClearerParty2()Description copied from interface:ClearingInstructionOptional party facing the CCP, acting as clearing member for party2.- Specified by:
getClearerParty2in interfaceClearingInstruction- Specified by:
getClearerParty2in interfaceClearingInstruction.ClearingInstructionBuilder
-
getOrCreateClearerParty2
- Specified by:
getOrCreateClearerParty2in interfaceClearingInstruction.ClearingInstructionBuilder
-
getIsOpenOffer
Description copied from interface:ClearingInstructionOpen Offer- Specified by:
getIsOpenOfferin interfaceClearingInstruction
-
setAlphaContract
@RosettaAttribute(value="alphaContract", isRequired=true) @RuneAttribute(value="alphaContract", isRequired=true) public ClearingInstruction.ClearingInstructionBuilder setAlphaContract(TradeState _alphaContract) - Specified by:
setAlphaContractin interfaceClearingInstruction.ClearingInstructionBuilder
-
setClearingParty
@RosettaAttribute(value="clearingParty", isRequired=true) @RuneAttribute(value="clearingParty", isRequired=true) public ClearingInstruction.ClearingInstructionBuilder setClearingParty(Party _clearingParty) - Specified by:
setClearingPartyin interfaceClearingInstruction.ClearingInstructionBuilder
-
setParty1
@RosettaAttribute(value="party1", isRequired=true) @RuneAttribute(value="party1", isRequired=true) public ClearingInstruction.ClearingInstructionBuilder setParty1(Party _party1) - Specified by:
setParty1in interfaceClearingInstruction.ClearingInstructionBuilder
-
setParty2
@RosettaAttribute(value="party2", isRequired=true) @RuneAttribute(value="party2", isRequired=true) public ClearingInstruction.ClearingInstructionBuilder setParty2(Party _party2) - Specified by:
setParty2in interfaceClearingInstruction.ClearingInstructionBuilder
-
setClearerParty1
@RosettaAttribute("clearerParty1") @RuneAttribute("clearerParty1") public ClearingInstruction.ClearingInstructionBuilder setClearerParty1(Party _clearerParty1) - Specified by:
setClearerParty1in interfaceClearingInstruction.ClearingInstructionBuilder
-
setClearerParty2
@RosettaAttribute("clearerParty2") @RuneAttribute("clearerParty2") public ClearingInstruction.ClearingInstructionBuilder setClearerParty2(Party _clearerParty2) - Specified by:
setClearerParty2in interfaceClearingInstruction.ClearingInstructionBuilder
-
setIsOpenOffer
@RosettaAttribute("isOpenOffer") @RuneAttribute("isOpenOffer") public ClearingInstruction.ClearingInstructionBuilder setIsOpenOffer(Boolean _isOpenOffer) - Specified by:
setIsOpenOfferin interfaceClearingInstruction.ClearingInstructionBuilder
-
build
Description copied from interface:ClearingInstructionBuild Methods- Specified by:
buildin interfaceClearingInstruction- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceClearingInstruction- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceClearingInstruction.ClearingInstructionBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ClearingInstruction.ClearingInstructionBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-