Package cdm.event.common
Class MarginCallBase.MarginCallBaseBuilderImpl
java.lang.Object
cdm.event.common.MarginCallBase.MarginCallBaseBuilderImpl
- All Implemented Interfaces:
MarginCallBase,MarginCallBase.MarginCallBaseBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Direct Known Subclasses:
MarginCallExposure.MarginCallExposureBuilderImpl,MarginCallIssuance.MarginCallIssuanceBuilderImpl,MarginCallResponse.MarginCallResponseBuilderImpl
- Enclosing interface:
MarginCallBase
public static class MarginCallBase.MarginCallBaseBuilderImpl
extends Object
implements MarginCallBase.MarginCallBaseBuilder
Builder Implementation of MarginCallBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.event.common.MarginCallBase
MarginCallBase.MarginCallBaseBuilder, MarginCallBase.MarginCallBaseBuilderImpl, MarginCallBase.MarginCallBaseImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Money.MoneyBuilderprotected Money.MoneyBuilderprotected Money.MoneyBuilderprotected AgreementName.AgreementNameBuilderprotected Identifier.IdentifierBuilderprotected Party.PartyBuilderprotected List<Party.PartyBuilder> protected List<PartyRole.PartyRoleBuilder> protected RegIMRoleEnumprotected RegMarginTypeEnumFields inherited from interface cdm.event.common.MarginCallBase
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartyRole(PartyRole _partyRole) addPartyRole(PartyRole _partyRole, int idx) addPartyRole(List<? extends PartyRole> partyRoles) build()Build MethodsbooleanSpecifies the collateral legal agreement minimum transfer amount in base currency.Specifies the collateral legal agreement rounding in base currency.Specifies the collateral legal agreement threshold amount in base currency.Represents the current mark to market value or IM calculation value of the trade portfolio as recorded by the principle (in base currency), to be referenced in a margin call.Specifies the legal agreement type the margin call is generated from and governed by.Represents a unique Identifier for a margin call message, that can be referenced throughout all points of the process.Indicates the name of the Clearing Broker FCM/DCM.Represents attributes to define the details of collateral assets within a collateral portfolio to be used in margin call messaging and contribute to collateral balances e.g securities in a collateral account recorded by the principal as held or posted.Represents additional credit support amount over and above mark to market value.Identifies the enumeration values to specify the call notification type, direction, specific action type.getOrCreateParty(int index) getOrCreatePartyRole(int index) List<? extends Party.PartyBuilder> getParty()Represents the parties to the margin call.List<? extends PartyRole.PartyRoleBuilder> Represents the role each specified party takes in the margin call. further to the principal roles, payer and receiver.Indicates the role of the party in an regulatory initial margin call instruction (i.e Pledgor party or Secured party).Identifies margin type and if related regulatory mandatebooleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()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) setPartyRole(List<? extends PartyRole> partyRoles) setRegIMRole(RegIMRoleEnum _regIMRole) setRegMarginType(RegMarginTypeEnum _regMarginType) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.event.common.MarginCallBase
getType, metaData, processMethods inherited from interface cdm.event.common.MarginCallBase.MarginCallBaseBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
instructionType
-
party
-
partyRole
-
clearingBroker
-
callIdentifier
-
callAgreementType
-
agreementMinimumTransferAmount
-
agreementThreshold
-
agreementRounding
-
regMarginType
-
regIMRole
-
baseCurrencyExposure
-
collateralPortfolio
protected ReferenceWithMetaCollateralPortfolio.ReferenceWithMetaCollateralPortfolioBuilder collateralPortfolio -
independentAmountBalance
-
-
Constructor Details
-
MarginCallBaseBuilderImpl
public MarginCallBaseBuilderImpl()
-
-
Method Details
-
getInstructionType
@RosettaAttribute(value="instructionType", isRequired=true) @RuneAttribute(value="instructionType", isRequired=true) public MarginCallInstructionType.MarginCallInstructionTypeBuilder getInstructionType()Description copied from interface:MarginCallBaseIdentifies the enumeration values to specify the call notification type, direction, specific action type.- Specified by:
getInstructionTypein interfaceMarginCallBase- Specified by:
getInstructionTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateInstructionType
- Specified by:
getOrCreateInstructionTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
getParty
@RosettaAttribute("party") @RuneAttribute("party") public List<? extends Party.PartyBuilder> getParty()Description copied from interface:MarginCallBaseRepresents the parties to the margin call. The cardinality is optional to address the case where both parties of the event are specified and a third party if applicable.- Specified by:
getPartyin interfaceMarginCallBase- Specified by:
getPartyin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateParty
- Specified by:
getOrCreatePartyin interfaceMarginCallBase.MarginCallBaseBuilder
-
getPartyRole
@RosettaAttribute("partyRole") @RuneAttribute("partyRole") public List<? extends PartyRole.PartyRoleBuilder> getPartyRole()Description copied from interface:MarginCallBaseRepresents the role each specified party takes in the margin call. further to the principal roles, payer and receiver.- Specified by:
getPartyRolein interfaceMarginCallBase- Specified by:
getPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreatePartyRole
- Specified by:
getOrCreatePartyRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
getClearingBroker
@RosettaAttribute("clearingBroker") @RuneAttribute("clearingBroker") public Party.PartyBuilder getClearingBroker()Description copied from interface:MarginCallBaseIndicates the name of the Clearing Broker FCM/DCM.- Specified by:
getClearingBrokerin interfaceMarginCallBase- Specified by:
getClearingBrokerin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateClearingBroker
- Specified by:
getOrCreateClearingBrokerin interfaceMarginCallBase.MarginCallBaseBuilder
-
getCallIdentifier
@RosettaAttribute("callIdentifier") @RuneAttribute("callIdentifier") public Identifier.IdentifierBuilder getCallIdentifier()Description copied from interface:MarginCallBaseRepresents a unique Identifier for a margin call message, that can be referenced throughout all points of the process.- Specified by:
getCallIdentifierin interfaceMarginCallBase- Specified by:
getCallIdentifierin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateCallIdentifier
- Specified by:
getOrCreateCallIdentifierin interfaceMarginCallBase.MarginCallBaseBuilder
-
getCallAgreementType
@RosettaAttribute(value="callAgreementType", isRequired=true) @RuneAttribute(value="callAgreementType", isRequired=true) public AgreementName.AgreementNameBuilder getCallAgreementType()Description copied from interface:MarginCallBaseSpecifies the legal agreement type the margin call is generated from and governed by.- Specified by:
getCallAgreementTypein interfaceMarginCallBase- Specified by:
getCallAgreementTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateCallAgreementType
- Specified by:
getOrCreateCallAgreementTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
getAgreementMinimumTransferAmount
@RosettaAttribute("agreementMinimumTransferAmount") @RuneAttribute("agreementMinimumTransferAmount") public Money.MoneyBuilder getAgreementMinimumTransferAmount()Description copied from interface:MarginCallBaseSpecifies the collateral legal agreement minimum transfer amount in base currency.- Specified by:
getAgreementMinimumTransferAmountin interfaceMarginCallBase- Specified by:
getAgreementMinimumTransferAmountin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateAgreementMinimumTransferAmount
- Specified by:
getOrCreateAgreementMinimumTransferAmountin interfaceMarginCallBase.MarginCallBaseBuilder
-
getAgreementThreshold
@RosettaAttribute("agreementThreshold") @RuneAttribute("agreementThreshold") public Money.MoneyBuilder getAgreementThreshold()Description copied from interface:MarginCallBaseSpecifies the collateral legal agreement threshold amount in base currency.- Specified by:
getAgreementThresholdin interfaceMarginCallBase- Specified by:
getAgreementThresholdin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateAgreementThreshold
- Specified by:
getOrCreateAgreementThresholdin interfaceMarginCallBase.MarginCallBaseBuilder
-
getAgreementRounding
@RosettaAttribute("agreementRounding") @RuneAttribute("agreementRounding") public Money.MoneyBuilder getAgreementRounding()Description copied from interface:MarginCallBaseSpecifies the collateral legal agreement rounding in base currency.- Specified by:
getAgreementRoundingin interfaceMarginCallBase- Specified by:
getAgreementRoundingin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateAgreementRounding
- Specified by:
getOrCreateAgreementRoundingin interfaceMarginCallBase.MarginCallBaseBuilder
-
getRegMarginType
@RosettaAttribute(value="regMarginType", isRequired=true) @RuneAttribute(value="regMarginType", isRequired=true) public RegMarginTypeEnum getRegMarginType()Description copied from interface:MarginCallBaseIdentifies margin type and if related regulatory mandate- Specified by:
getRegMarginTypein interfaceMarginCallBase
-
getRegIMRole
Description copied from interface:MarginCallBaseIndicates the role of the party in an regulatory initial margin call instruction (i.e Pledgor party or Secured party).- Specified by:
getRegIMRolein interfaceMarginCallBase
-
getBaseCurrencyExposure
@RosettaAttribute("baseCurrencyExposure") @RuneAttribute("baseCurrencyExposure") public MarginCallExposure.MarginCallExposureBuilder getBaseCurrencyExposure()Description copied from interface:MarginCallBaseRepresents the current mark to market value or IM calculation value of the trade portfolio as recorded by the principle (in base currency), to be referenced in a margin call.- Specified by:
getBaseCurrencyExposurein interfaceMarginCallBase- Specified by:
getBaseCurrencyExposurein interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateBaseCurrencyExposure
- Specified by:
getOrCreateBaseCurrencyExposurein interfaceMarginCallBase.MarginCallBaseBuilder
-
getCollateralPortfolio
@RosettaAttribute("collateralPortfolio") @RuneAttribute("collateralPortfolio") public ReferenceWithMetaCollateralPortfolio.ReferenceWithMetaCollateralPortfolioBuilder getCollateralPortfolio()Description copied from interface:MarginCallBaseRepresents attributes to define the details of collateral assets within a collateral portfolio to be used in margin call messaging and contribute to collateral balances e.g securities in a collateral account recorded by the principal as held or posted.- Specified by:
getCollateralPortfolioin interfaceMarginCallBase- Specified by:
getCollateralPortfolioin interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateCollateralPortfolio
public ReferenceWithMetaCollateralPortfolio.ReferenceWithMetaCollateralPortfolioBuilder getOrCreateCollateralPortfolio()- Specified by:
getOrCreateCollateralPortfolioin interfaceMarginCallBase.MarginCallBaseBuilder
-
getIndependentAmountBalance
@RosettaAttribute("independentAmountBalance") @RuneAttribute("independentAmountBalance") public CollateralBalance.CollateralBalanceBuilder getIndependentAmountBalance()Description copied from interface:MarginCallBaseRepresents additional credit support amount over and above mark to market value.- Specified by:
getIndependentAmountBalancein interfaceMarginCallBase- Specified by:
getIndependentAmountBalancein interfaceMarginCallBase.MarginCallBaseBuilder
-
getOrCreateIndependentAmountBalance
- Specified by:
getOrCreateIndependentAmountBalancein interfaceMarginCallBase.MarginCallBaseBuilder
-
setInstructionType
@RosettaAttribute(value="instructionType", isRequired=true) @RuneAttribute(value="instructionType", isRequired=true) public MarginCallBase.MarginCallBaseBuilder setInstructionType(MarginCallInstructionType _instructionType) - Specified by:
setInstructionTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
addParty
@RosettaAttribute("party") @RuneAttribute("party") public MarginCallBase.MarginCallBaseBuilder addParty(Party _party) - Specified by:
addPartyin interfaceMarginCallBase.MarginCallBaseBuilder
-
addParty
- Specified by:
addPartyin interfaceMarginCallBase.MarginCallBaseBuilder
-
addParty
- Specified by:
addPartyin interfaceMarginCallBase.MarginCallBaseBuilder
-
setParty
@RuneAttribute("party") public MarginCallBase.MarginCallBaseBuilder setParty(List<? extends Party> partys) - Specified by:
setPartyin interfaceMarginCallBase.MarginCallBaseBuilder
-
addPartyRole
@RosettaAttribute("partyRole") @RuneAttribute("partyRole") public MarginCallBase.MarginCallBaseBuilder addPartyRole(PartyRole _partyRole) - Specified by:
addPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
addPartyRole
- Specified by:
addPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
addPartyRole
- Specified by:
addPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
setPartyRole
@RuneAttribute("partyRole") public MarginCallBase.MarginCallBaseBuilder setPartyRole(List<? extends PartyRole> partyRoles) - Specified by:
setPartyRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
setClearingBroker
@RosettaAttribute("clearingBroker") @RuneAttribute("clearingBroker") public MarginCallBase.MarginCallBaseBuilder setClearingBroker(Party _clearingBroker) - Specified by:
setClearingBrokerin interfaceMarginCallBase.MarginCallBaseBuilder
-
setCallIdentifier
@RosettaAttribute("callIdentifier") @RuneAttribute("callIdentifier") public MarginCallBase.MarginCallBaseBuilder setCallIdentifier(Identifier _callIdentifier) - Specified by:
setCallIdentifierin interfaceMarginCallBase.MarginCallBaseBuilder
-
setCallAgreementType
@RosettaAttribute(value="callAgreementType", isRequired=true) @RuneAttribute(value="callAgreementType", isRequired=true) public MarginCallBase.MarginCallBaseBuilder setCallAgreementType(AgreementName _callAgreementType) - Specified by:
setCallAgreementTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
setAgreementMinimumTransferAmount
@RosettaAttribute("agreementMinimumTransferAmount") @RuneAttribute("agreementMinimumTransferAmount") public MarginCallBase.MarginCallBaseBuilder setAgreementMinimumTransferAmount(Money _agreementMinimumTransferAmount) - Specified by:
setAgreementMinimumTransferAmountin interfaceMarginCallBase.MarginCallBaseBuilder
-
setAgreementThreshold
@RosettaAttribute("agreementThreshold") @RuneAttribute("agreementThreshold") public MarginCallBase.MarginCallBaseBuilder setAgreementThreshold(Money _agreementThreshold) - Specified by:
setAgreementThresholdin interfaceMarginCallBase.MarginCallBaseBuilder
-
setAgreementRounding
@RosettaAttribute("agreementRounding") @RuneAttribute("agreementRounding") public MarginCallBase.MarginCallBaseBuilder setAgreementRounding(Money _agreementRounding) - Specified by:
setAgreementRoundingin interfaceMarginCallBase.MarginCallBaseBuilder
-
setRegMarginType
@RosettaAttribute(value="regMarginType", isRequired=true) @RuneAttribute(value="regMarginType", isRequired=true) public MarginCallBase.MarginCallBaseBuilder setRegMarginType(RegMarginTypeEnum _regMarginType) - Specified by:
setRegMarginTypein interfaceMarginCallBase.MarginCallBaseBuilder
-
setRegIMRole
@RosettaAttribute("regIMRole") @RuneAttribute("regIMRole") public MarginCallBase.MarginCallBaseBuilder setRegIMRole(RegIMRoleEnum _regIMRole) - Specified by:
setRegIMRolein interfaceMarginCallBase.MarginCallBaseBuilder
-
setBaseCurrencyExposure
@RosettaAttribute("baseCurrencyExposure") @RuneAttribute("baseCurrencyExposure") public MarginCallBase.MarginCallBaseBuilder setBaseCurrencyExposure(MarginCallExposure _baseCurrencyExposure) - Specified by:
setBaseCurrencyExposurein interfaceMarginCallBase.MarginCallBaseBuilder
-
setCollateralPortfolio
@RosettaAttribute("collateralPortfolio") @RuneAttribute("collateralPortfolio") public MarginCallBase.MarginCallBaseBuilder setCollateralPortfolio(ReferenceWithMetaCollateralPortfolio _collateralPortfolio) - Specified by:
setCollateralPortfolioin interfaceMarginCallBase.MarginCallBaseBuilder
-
setCollateralPortfolioValue
public MarginCallBase.MarginCallBaseBuilder setCollateralPortfolioValue(CollateralPortfolio _collateralPortfolio) - Specified by:
setCollateralPortfolioValuein interfaceMarginCallBase.MarginCallBaseBuilder
-
setIndependentAmountBalance
@RosettaAttribute("independentAmountBalance") @RuneAttribute("independentAmountBalance") public MarginCallBase.MarginCallBaseBuilder setIndependentAmountBalance(CollateralBalance _independentAmountBalance) - Specified by:
setIndependentAmountBalancein interfaceMarginCallBase.MarginCallBaseBuilder
-
build
Description copied from interface:MarginCallBaseBuild Methods- Specified by:
buildin interfaceMarginCallBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceMarginCallBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceMarginCallBase.MarginCallBaseBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public MarginCallBase.MarginCallBaseBuilder 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
-