Package cdm.event.common
Class ClearingInstruction.ClearingInstructionImpl
java.lang.Object
cdm.event.common.ClearingInstruction.ClearingInstructionImpl
- All Implemented Interfaces:
ClearingInstruction,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ClearingInstruction
public static class ClearingInstruction.ClearingInstructionImpl
extends Object
implements ClearingInstruction
Immutable Implementation of ClearingInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.ClearingInstruction
ClearingInstruction.ClearingInstructionBuilder, ClearingInstruction.ClearingInstructionBuilderImpl, ClearingInstruction.ClearingInstructionImpl -
Field Summary
Fields inherited from interface cdm.event.common.ClearingInstruction
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
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.inthashCode()protected voidtoString()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 com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ClearingInstructionImpl
-
-
Method Details
-
getAlphaContract
@RosettaAttribute(value="alphaContract", isRequired=true) @RuneAttribute(value="alphaContract", isRequired=true) public TradeState 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
-
getClearingParty
@RosettaAttribute(value="clearingParty", isRequired=true) @RuneAttribute(value="clearingParty", isRequired=true) public Party getClearingParty()Description copied from interface:ClearingInstructionThe Central Counter party (CCP) that the contract will be submitted to for clearing.- Specified by:
getClearingPartyin interfaceClearingInstruction
-
getParty1
@RosettaAttribute(value="party1", isRequired=true) @RuneAttribute(value="party1", isRequired=true) public Party getParty1()Description copied from interface:ClearingInstructionFirst party facing the CCP if it is clearing for its own account.- Specified by:
getParty1in interfaceClearingInstruction
-
getParty2
@RosettaAttribute(value="party2", isRequired=true) @RuneAttribute(value="party2", isRequired=true) public Party getParty2()Description copied from interface:ClearingInstructionSecond party facing the CCP if it is clearing for its own account.- Specified by:
getParty2in interfaceClearingInstruction
-
getClearerParty1
Description copied from interface:ClearingInstructionOptional party facing the CCP, acting as clearing member for party1.- Specified by:
getClearerParty1in interfaceClearingInstruction
-
getClearerParty2
Description copied from interface:ClearingInstructionOptional party facing the CCP, acting as clearing member for party2.- Specified by:
getClearerParty2in interfaceClearingInstruction
-
getIsOpenOffer
Description copied from interface:ClearingInstructionOpen Offer- Specified by:
getIsOpenOfferin interfaceClearingInstruction
-
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
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-