Package cdm.event.common
Class MarginCallResponse.MarginCallResponseBuilderImpl
java.lang.Object
cdm.event.common.MarginCallBase.MarginCallBaseBuilderImpl
cdm.event.common.MarginCallResponse.MarginCallResponseBuilderImpl
- All Implemented Interfaces:
MarginCallBase,MarginCallBase.MarginCallBaseBuilder,MarginCallResponse,MarginCallResponse.MarginCallResponseBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
MarginCallResponse
public static class MarginCallResponse.MarginCallResponseBuilderImpl
extends MarginCallBase.MarginCallBaseBuilderImpl
implements MarginCallResponse.MarginCallResponseBuilder
Builder Implementation of MarginCallResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.MarginCallBase
MarginCallBase.MarginCallBaseBuilder, MarginCallBase.MarginCallBaseBuilderImpl, MarginCallBase.MarginCallBaseImplNested classes/interfaces inherited from interface cdm.event.common.MarginCallResponse
MarginCallResponse.MarginCallResponseBuilder, MarginCallResponse.MarginCallResponseBuilderImpl, MarginCallResponse.MarginCallResponseImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Money.MoneyBuilderprotected MarginCallResponseTypeEnumFields inherited from class cdm.event.common.MarginCallBase.MarginCallBaseBuilderImpl
agreementMinimumTransferAmount, agreementRounding, agreementThreshold, baseCurrencyExposure, callAgreementType, callIdentifier, clearingBroker, collateralPortfolio, independentAmountBalance, instructionType, party, partyRole, regIMRole, regMarginTypeFields inherited from interface cdm.event.common.MarginCallBase
metaDataFields inherited from interface cdm.event.common.MarginCallResponse
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMarginCallResponseAction(MarginCallResponseAction _marginCallResponseAction) addMarginCallResponseAction(MarginCallResponseAction _marginCallResponseAction, int idx) addMarginCallResponseAction(List<? extends MarginCallResponseAction> marginCallResponseActions) addPartyRole(PartyRole _partyRole) addPartyRole(PartyRole _partyRole, int idx) addPartyRole(List<? extends PartyRole> partyRoles) build()Build MethodsbooleanIndicates the amount that posting entity agrees to remit in response to margin call (in base currency).Specifies the margin call action details, including collateral to be moved and direction.Indicates the response type, such as, is the margin call response a 'full' 'part' agreement or 'dispute'.getOrCreateMarginCallResponseAction(int index) booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAgreedAmountBaseCurrency(Money _agreedAmountBaseCurrency) setAgreementMinimumTransferAmount(Money _agreementMinimumTransferAmount) setAgreementRounding(Money _agreementRounding) setAgreementThreshold(Money _agreementThreshold) setBaseCurrencyExposure(MarginCallExposure _baseCurrencyExposure) setCallAgreementType(AgreementName _callAgreementType) setCallIdentifier(Identifier _callIdentifier) setClearingBroker(Party _clearingBroker) setCollateralPortfolio(ReferenceWithMetaCollateralPortfolio _collateralPortfolio) setCollateralPortfolioValue(CollateralPortfolio _collateralPortfolio) setIndependentAmountBalance(CollateralBalance _independentAmountBalance) setInstructionType(MarginCallInstructionType _instructionType) setMarginCallResponseAction(List<? extends MarginCallResponseAction> marginCallResponseActions) setMarginResponseType(MarginCallResponseTypeEnum _marginResponseType) setPartyRole(List<? extends PartyRole> partyRoles) setRegIMRole(RegIMRoleEnum _regIMRole) setRegMarginType(RegMarginTypeEnum _regMarginType) toString()Methods inherited from class cdm.event.common.MarginCallBase.MarginCallBaseBuilderImpl
getAgreementMinimumTransferAmount, getAgreementRounding, getAgreementThreshold, getBaseCurrencyExposure, getCallAgreementType, getCallIdentifier, getClearingBroker, getCollateralPortfolio, getIndependentAmountBalance, getInstructionType, getOrCreateAgreementMinimumTransferAmount, getOrCreateAgreementRounding, getOrCreateAgreementThreshold, getOrCreateBaseCurrencyExposure, getOrCreateCallAgreementType, getOrCreateCallIdentifier, getOrCreateClearingBroker, getOrCreateCollateralPortfolio, getOrCreateIndependentAmountBalance, getOrCreateInstructionType, getOrCreateParty, getOrCreatePartyRole, getParty, getPartyRole, getRegIMRole, getRegMarginTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.MarginCallBase
getRegIMRole, getRegMarginTypeMethods inherited from interface cdm.event.common.MarginCallBase.MarginCallBaseBuilder
getAgreementMinimumTransferAmount, getAgreementRounding, getAgreementThreshold, getBaseCurrencyExposure, getCallAgreementType, getCallIdentifier, getClearingBroker, getCollateralPortfolio, getIndependentAmountBalance, getInstructionType, getOrCreateAgreementMinimumTransferAmount, getOrCreateAgreementRounding, getOrCreateAgreementThreshold, getOrCreateBaseCurrencyExposure, getOrCreateCallAgreementType, getOrCreateCallIdentifier, getOrCreateClearingBroker, getOrCreateCollateralPortfolio, getOrCreateIndependentAmountBalance, getOrCreateInstructionType, getOrCreateParty, getOrCreatePartyRole, getParty, getPartyRoleMethods inherited from interface cdm.event.common.MarginCallResponse
getType, metaData, processMethods inherited from interface cdm.event.common.MarginCallResponse.MarginCallResponseBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
marginCallResponseAction
-
marginResponseType
-
agreedAmountBaseCurrency
-
-
Constructor Details
-
MarginCallResponseBuilderImpl
public MarginCallResponseBuilderImpl()
-
-
Method Details
-
getMarginCallResponseAction
@RosettaAttribute(value="marginCallResponseAction", isRequired=true) @RuneAttribute(value="marginCallResponseAction", isRequired=true) public List<? extends MarginCallResponseAction.MarginCallResponseActionBuilder> getMarginCallResponseAction()Description copied from interface:MarginCallResponseSpecifies the margin call action details, including collateral to be moved and direction.- Specified by:
getMarginCallResponseActionin interfaceMarginCallResponse- Specified by:
getMarginCallResponseActionin interfaceMarginCallResponse.MarginCallResponseBuilder
-
getOrCreateMarginCallResponseAction
public MarginCallResponseAction.MarginCallResponseActionBuilder getOrCreateMarginCallResponseAction(int index) - Specified by:
getOrCreateMarginCallResponseActionin interfaceMarginCallResponse.MarginCallResponseBuilder
-
getMarginResponseType
@RosettaAttribute(value="marginResponseType", isRequired=true) @RuneAttribute(value="marginResponseType", isRequired=true) public MarginCallResponseTypeEnum getMarginResponseType()Description copied from interface:MarginCallResponseIndicates the response type, such as, is the margin call response a 'full' 'part' agreement or 'dispute'.- Specified by:
getMarginResponseTypein interfaceMarginCallResponse
-
getAgreedAmountBaseCurrency
@RosettaAttribute(value="agreedAmountBaseCurrency", isRequired=true) @RuneAttribute(value="agreedAmountBaseCurrency", isRequired=true) public Money.MoneyBuilder getAgreedAmountBaseCurrency()Description copied from interface:MarginCallResponseIndicates the amount that posting entity agrees to remit in response to margin call (in base currency).- Specified by:
getAgreedAmountBaseCurrencyin interfaceMarginCallResponse- Specified by:
getAgreedAmountBaseCurrencyin interfaceMarginCallResponse.MarginCallResponseBuilder
-
getOrCreateAgreedAmountBaseCurrency
- Specified by:
getOrCreateAgreedAmountBaseCurrencyin interfaceMarginCallResponse.MarginCallResponseBuilder
-
setInstructionType
@RosettaAttribute(value="instructionType", isRequired=true) @RuneAttribute(value="instructionType", isRequired=true) public MarginCallResponse.MarginCallResponseBuilder setInstructionType(MarginCallInstructionType _instructionType) - Specified by:
setInstructionTypein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setInstructionTypein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setInstructionTypein classMarginCallBase.MarginCallBaseBuilderImpl
-
addParty
@RosettaAttribute("party") @RuneAttribute("party") public MarginCallResponse.MarginCallResponseBuilder addParty(Party _party) - Specified by:
addPartyin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
addPartyin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
addPartyin classMarginCallBase.MarginCallBaseBuilderImpl
-
addParty
- Specified by:
addPartyin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
addPartyin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
addPartyin classMarginCallBase.MarginCallBaseBuilderImpl
-
addParty
- Specified by:
addPartyin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
addPartyin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
addPartyin classMarginCallBase.MarginCallBaseBuilderImpl
-
setParty
@RuneAttribute("party") public MarginCallResponse.MarginCallResponseBuilder setParty(List<? extends Party> partys) - Specified by:
setPartyin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setPartyin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setPartyin classMarginCallBase.MarginCallBaseBuilderImpl
-
addPartyRole
@RosettaAttribute("partyRole") @RuneAttribute("partyRole") public MarginCallResponse.MarginCallResponseBuilder addPartyRole(PartyRole _partyRole) - Specified by:
addPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
addPartyRolein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
addPartyRolein classMarginCallBase.MarginCallBaseBuilderImpl
-
addPartyRole
- Specified by:
addPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
addPartyRolein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
addPartyRolein classMarginCallBase.MarginCallBaseBuilderImpl
-
addPartyRole
public MarginCallResponse.MarginCallResponseBuilder addPartyRole(List<? extends PartyRole> partyRoles) - Specified by:
addPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
addPartyRolein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
addPartyRolein classMarginCallBase.MarginCallBaseBuilderImpl
-
setPartyRole
@RuneAttribute("partyRole") public MarginCallResponse.MarginCallResponseBuilder setPartyRole(List<? extends PartyRole> partyRoles) - Specified by:
setPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setPartyRolein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setPartyRolein classMarginCallBase.MarginCallBaseBuilderImpl
-
setClearingBroker
@RosettaAttribute("clearingBroker") @RuneAttribute("clearingBroker") public MarginCallResponse.MarginCallResponseBuilder setClearingBroker(Party _clearingBroker) - Specified by:
setClearingBrokerin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setClearingBrokerin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setClearingBrokerin classMarginCallBase.MarginCallBaseBuilderImpl
-
setCallIdentifier
@RosettaAttribute("callIdentifier") @RuneAttribute("callIdentifier") public MarginCallResponse.MarginCallResponseBuilder setCallIdentifier(Identifier _callIdentifier) - Specified by:
setCallIdentifierin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setCallIdentifierin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setCallIdentifierin classMarginCallBase.MarginCallBaseBuilderImpl
-
setCallAgreementType
@RosettaAttribute(value="callAgreementType", isRequired=true) @RuneAttribute(value="callAgreementType", isRequired=true) public MarginCallResponse.MarginCallResponseBuilder setCallAgreementType(AgreementName _callAgreementType) - Specified by:
setCallAgreementTypein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setCallAgreementTypein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setCallAgreementTypein classMarginCallBase.MarginCallBaseBuilderImpl
-
setAgreementMinimumTransferAmount
@RosettaAttribute("agreementMinimumTransferAmount") @RuneAttribute("agreementMinimumTransferAmount") public MarginCallResponse.MarginCallResponseBuilder setAgreementMinimumTransferAmount(Money _agreementMinimumTransferAmount) - Specified by:
setAgreementMinimumTransferAmountin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setAgreementMinimumTransferAmountin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setAgreementMinimumTransferAmountin classMarginCallBase.MarginCallBaseBuilderImpl
-
setAgreementThreshold
@RosettaAttribute("agreementThreshold") @RuneAttribute("agreementThreshold") public MarginCallResponse.MarginCallResponseBuilder setAgreementThreshold(Money _agreementThreshold) - Specified by:
setAgreementThresholdin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setAgreementThresholdin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setAgreementThresholdin classMarginCallBase.MarginCallBaseBuilderImpl
-
setAgreementRounding
@RosettaAttribute("agreementRounding") @RuneAttribute("agreementRounding") public MarginCallResponse.MarginCallResponseBuilder setAgreementRounding(Money _agreementRounding) - Specified by:
setAgreementRoundingin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setAgreementRoundingin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setAgreementRoundingin classMarginCallBase.MarginCallBaseBuilderImpl
-
setRegMarginType
@RosettaAttribute(value="regMarginType", isRequired=true) @RuneAttribute(value="regMarginType", isRequired=true) public MarginCallResponse.MarginCallResponseBuilder setRegMarginType(RegMarginTypeEnum _regMarginType) - Specified by:
setRegMarginTypein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setRegMarginTypein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setRegMarginTypein classMarginCallBase.MarginCallBaseBuilderImpl
-
setRegIMRole
@RosettaAttribute("regIMRole") @RuneAttribute("regIMRole") public MarginCallResponse.MarginCallResponseBuilder setRegIMRole(RegIMRoleEnum _regIMRole) - Specified by:
setRegIMRolein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setRegIMRolein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setRegIMRolein classMarginCallBase.MarginCallBaseBuilderImpl
-
setBaseCurrencyExposure
@RosettaAttribute("baseCurrencyExposure") @RuneAttribute("baseCurrencyExposure") public MarginCallResponse.MarginCallResponseBuilder setBaseCurrencyExposure(MarginCallExposure _baseCurrencyExposure) - Specified by:
setBaseCurrencyExposurein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setBaseCurrencyExposurein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setBaseCurrencyExposurein classMarginCallBase.MarginCallBaseBuilderImpl
-
setCollateralPortfolio
@RosettaAttribute("collateralPortfolio") @RuneAttribute("collateralPortfolio") public MarginCallResponse.MarginCallResponseBuilder setCollateralPortfolio(ReferenceWithMetaCollateralPortfolio _collateralPortfolio) - Specified by:
setCollateralPortfolioin interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setCollateralPortfolioin interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setCollateralPortfolioin classMarginCallBase.MarginCallBaseBuilderImpl
-
setCollateralPortfolioValue
public MarginCallResponse.MarginCallResponseBuilder setCollateralPortfolioValue(CollateralPortfolio _collateralPortfolio) - Specified by:
setCollateralPortfolioValuein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setCollateralPortfolioValuein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setCollateralPortfolioValuein classMarginCallBase.MarginCallBaseBuilderImpl
-
setIndependentAmountBalance
@RosettaAttribute("independentAmountBalance") @RuneAttribute("independentAmountBalance") public MarginCallResponse.MarginCallResponseBuilder setIndependentAmountBalance(CollateralBalance _independentAmountBalance) - Specified by:
setIndependentAmountBalancein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
setIndependentAmountBalancein interfaceMarginCallResponse.MarginCallResponseBuilder- Overrides:
setIndependentAmountBalancein classMarginCallBase.MarginCallBaseBuilderImpl
-
addMarginCallResponseAction
@RosettaAttribute(value="marginCallResponseAction", isRequired=true) @RuneAttribute(value="marginCallResponseAction", isRequired=true) public MarginCallResponse.MarginCallResponseBuilder addMarginCallResponseAction(MarginCallResponseAction _marginCallResponseAction) - Specified by:
addMarginCallResponseActionin interfaceMarginCallResponse.MarginCallResponseBuilder
-
addMarginCallResponseAction
public MarginCallResponse.MarginCallResponseBuilder addMarginCallResponseAction(MarginCallResponseAction _marginCallResponseAction, int idx) - Specified by:
addMarginCallResponseActionin interfaceMarginCallResponse.MarginCallResponseBuilder
-
addMarginCallResponseAction
public MarginCallResponse.MarginCallResponseBuilder addMarginCallResponseAction(List<? extends MarginCallResponseAction> marginCallResponseActions) - Specified by:
addMarginCallResponseActionin interfaceMarginCallResponse.MarginCallResponseBuilder
-
setMarginCallResponseAction
@RuneAttribute("marginCallResponseAction") public MarginCallResponse.MarginCallResponseBuilder setMarginCallResponseAction(List<? extends MarginCallResponseAction> marginCallResponseActions) - Specified by:
setMarginCallResponseActionin interfaceMarginCallResponse.MarginCallResponseBuilder
-
setMarginResponseType
@RosettaAttribute(value="marginResponseType", isRequired=true) @RuneAttribute(value="marginResponseType", isRequired=true) public MarginCallResponse.MarginCallResponseBuilder setMarginResponseType(MarginCallResponseTypeEnum _marginResponseType) - Specified by:
setMarginResponseTypein interfaceMarginCallResponse.MarginCallResponseBuilder
-
setAgreedAmountBaseCurrency
@RosettaAttribute(value="agreedAmountBaseCurrency", isRequired=true) @RuneAttribute(value="agreedAmountBaseCurrency", isRequired=true) public MarginCallResponse.MarginCallResponseBuilder setAgreedAmountBaseCurrency(Money _agreedAmountBaseCurrency) - Specified by:
setAgreedAmountBaseCurrencyin interfaceMarginCallResponse.MarginCallResponseBuilder
-
build
Description copied from interface:MarginCallBaseBuild Methods- Specified by:
buildin interfaceMarginCallBase- Specified by:
buildin interfaceMarginCallResponse- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classMarginCallBase.MarginCallBaseBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceMarginCallBase- Specified by:
toBuilderin interfaceMarginCallResponse- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classMarginCallBase.MarginCallBaseBuilderImpl
-
prune
- Specified by:
prunein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
prunein interfaceMarginCallResponse.MarginCallResponseBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classMarginCallBase.MarginCallBaseBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classMarginCallBase.MarginCallBaseBuilderImpl
-
merge
public MarginCallResponse.MarginCallResponseBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
mergein classMarginCallBase.MarginCallBaseBuilderImpl
-
equals
- Overrides:
equalsin classMarginCallBase.MarginCallBaseBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classMarginCallBase.MarginCallBaseBuilderImpl
-
toString
- Overrides:
toStringin classMarginCallBase.MarginCallBaseBuilderImpl
-