Package cdm.product.collateral
Class CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilderImpl
java.lang.Object
cdm.product.collateral.CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilderImpl
- All Implemented Interfaces:
CollateralInterestCalculationParameters,CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
CollateralInterestCalculationParameters
public static class CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilderImpl
extends Object
implements CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
Builder Implementation of CollateralInterestCalculationParameters
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.collateral.CollateralInterestCalculationParameters
CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder, CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilderImpl, CollateralInterestCalculationParameters.CollateralInterestCalculationParametersImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<BusinessCenterEnum> protected CompoundingTypeEnumprotected DayCountFractionEnumprotected BigDecimalprotected Booleanprotected Rounding.RoundingBuilderprotected RoundingFrequencyEnumprotected BigDecimalFields inherited from interface cdm.product.collateral.CollateralInterestCalculationParameters
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCompoundingBusinessCenter(BusinessCenterEnum _compoundingBusinessCenter) addCompoundingBusinessCenter(BusinessCenterEnum _compoundingBusinessCenter, int idx) addCompoundingBusinessCenter(List<BusinessCenterEnum> compoundingBusinessCenters) build()Build MethodsbooleanSpecifies the applicable business centers for compounding.Specifies the type of compounding to be applied (None, Business, Calendar).Specifies the day count fraction to use for that currency.Specifies the applicable fixed rate if used.Specifies the floating interest rate to be used.If True, specifies that the interest transfers should be converted to base currency equivalent, or if False specifies that the transfer should be in the currency of the collateral.Specifies the rounding rules for settling in that currency.Specifies when/how often is rounding applied?Specifies the withholding tax rate if a withholding tax is applicable.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setCompoundingBusinessCenter(List<BusinessCenterEnum> compoundingBusinessCenters) setCompoundingType(CompoundingTypeEnum _compoundingType) setDayCountFraction(DayCountFractionEnum _dayCountFraction) setFixedRate(BigDecimal _fixedRate) setFloatingRate(CollateralAgreementFloatingRate _floatingRate) setInBaseCurrency(Boolean _inBaseCurrency) setRounding(Rounding _rounding) setRoundingFrequency(RoundingFrequencyEnum _roundingFrequency) setWithholdingTaxRate(BigDecimal _withholdingTaxRate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.collateral.CollateralInterestCalculationParameters
getType, metaData, processMethods inherited from interface cdm.product.collateral.CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
fixedRate
-
floatingRate
-
inBaseCurrency
-
compoundingType
-
compoundingBusinessCenter
-
dayCountFraction
-
rounding
-
roundingFrequency
-
withholdingTaxRate
-
-
Constructor Details
-
CollateralInterestCalculationParametersBuilderImpl
public CollateralInterestCalculationParametersBuilderImpl()
-
-
Method Details
-
getFixedRate
Description copied from interface:CollateralInterestCalculationParametersSpecifies the applicable fixed rate if used.- Specified by:
getFixedRatein interfaceCollateralInterestCalculationParameters
-
getFloatingRate
@RosettaAttribute("floatingRate") @RuneAttribute("floatingRate") public CollateralAgreementFloatingRate.CollateralAgreementFloatingRateBuilder getFloatingRate()Description copied from interface:CollateralInterestCalculationParametersSpecifies the floating interest rate to be used.- Specified by:
getFloatingRatein interfaceCollateralInterestCalculationParameters- Specified by:
getFloatingRatein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
getOrCreateFloatingRate
public CollateralAgreementFloatingRate.CollateralAgreementFloatingRateBuilder getOrCreateFloatingRate()- Specified by:
getOrCreateFloatingRatein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
getInBaseCurrency
@RosettaAttribute(value="inBaseCurrency", isRequired=true) @RuneAttribute(value="inBaseCurrency", isRequired=true) public Boolean getInBaseCurrency()Description copied from interface:CollateralInterestCalculationParametersIf True, specifies that the interest transfers should be converted to base currency equivalent, or if False specifies that the transfer should be in the currency of the collateral.- Specified by:
getInBaseCurrencyin interfaceCollateralInterestCalculationParameters
-
getCompoundingType
@RosettaAttribute("compoundingType") @RuneAttribute("compoundingType") public CompoundingTypeEnum getCompoundingType()Description copied from interface:CollateralInterestCalculationParametersSpecifies the type of compounding to be applied (None, Business, Calendar).- Specified by:
getCompoundingTypein interfaceCollateralInterestCalculationParameters
-
getCompoundingBusinessCenter
@RosettaAttribute("compoundingBusinessCenter") @RuneAttribute("compoundingBusinessCenter") public List<BusinessCenterEnum> getCompoundingBusinessCenter()Description copied from interface:CollateralInterestCalculationParametersSpecifies the applicable business centers for compounding.- Specified by:
getCompoundingBusinessCenterin interfaceCollateralInterestCalculationParameters
-
getDayCountFraction
@RosettaAttribute(value="dayCountFraction", isRequired=true) @RuneAttribute(value="dayCountFraction", isRequired=true) public DayCountFractionEnum getDayCountFraction()Description copied from interface:CollateralInterestCalculationParametersSpecifies the day count fraction to use for that currency.- Specified by:
getDayCountFractionin interfaceCollateralInterestCalculationParameters
-
getRounding
@RosettaAttribute("rounding") @RuneAttribute("rounding") public Rounding.RoundingBuilder getRounding()Description copied from interface:CollateralInterestCalculationParametersSpecifies the rounding rules for settling in that currency.- Specified by:
getRoundingin interfaceCollateralInterestCalculationParameters- Specified by:
getRoundingin interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
getOrCreateRounding
- Specified by:
getOrCreateRoundingin interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
getRoundingFrequency
@RosettaAttribute("roundingFrequency") @RuneAttribute("roundingFrequency") public RoundingFrequencyEnum getRoundingFrequency()Description copied from interface:CollateralInterestCalculationParametersSpecifies when/how often is rounding applied?- Specified by:
getRoundingFrequencyin interfaceCollateralInterestCalculationParameters
-
getWithholdingTaxRate
@RosettaAttribute("withholdingTaxRate") @RuneAttribute("withholdingTaxRate") public BigDecimal getWithholdingTaxRate()Description copied from interface:CollateralInterestCalculationParametersSpecifies the withholding tax rate if a withholding tax is applicable.- Specified by:
getWithholdingTaxRatein interfaceCollateralInterestCalculationParameters
-
setFixedRate
@RosettaAttribute("fixedRate") @RuneAttribute("fixedRate") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setFixedRate(BigDecimal _fixedRate) - Specified by:
setFixedRatein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
setFloatingRate
@RosettaAttribute("floatingRate") @RuneAttribute("floatingRate") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setFloatingRate(CollateralAgreementFloatingRate _floatingRate) - Specified by:
setFloatingRatein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
setInBaseCurrency
@RosettaAttribute(value="inBaseCurrency", isRequired=true) @RuneAttribute(value="inBaseCurrency", isRequired=true) public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setInBaseCurrency(Boolean _inBaseCurrency) - Specified by:
setInBaseCurrencyin interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
setCompoundingType
@RosettaAttribute("compoundingType") @RuneAttribute("compoundingType") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setCompoundingType(CompoundingTypeEnum _compoundingType) - Specified by:
setCompoundingTypein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
addCompoundingBusinessCenter
@RosettaAttribute("compoundingBusinessCenter") @RuneAttribute("compoundingBusinessCenter") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder addCompoundingBusinessCenter(BusinessCenterEnum _compoundingBusinessCenter) -
addCompoundingBusinessCenter
public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder addCompoundingBusinessCenter(BusinessCenterEnum _compoundingBusinessCenter, int idx) -
addCompoundingBusinessCenter
public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder addCompoundingBusinessCenter(List<BusinessCenterEnum> compoundingBusinessCenters) -
setCompoundingBusinessCenter
@RuneAttribute("compoundingBusinessCenter") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setCompoundingBusinessCenter(List<BusinessCenterEnum> compoundingBusinessCenters) -
setDayCountFraction
@RosettaAttribute(value="dayCountFraction", isRequired=true) @RuneAttribute(value="dayCountFraction", isRequired=true) public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setDayCountFraction(DayCountFractionEnum _dayCountFraction) - Specified by:
setDayCountFractionin interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
setRounding
@RosettaAttribute("rounding") @RuneAttribute("rounding") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setRounding(Rounding _rounding) - Specified by:
setRoundingin interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
setRoundingFrequency
@RosettaAttribute("roundingFrequency") @RuneAttribute("roundingFrequency") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setRoundingFrequency(RoundingFrequencyEnum _roundingFrequency) - Specified by:
setRoundingFrequencyin interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
setWithholdingTaxRate
@RosettaAttribute("withholdingTaxRate") @RuneAttribute("withholdingTaxRate") public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder setWithholdingTaxRate(BigDecimal _withholdingTaxRate) - Specified by:
setWithholdingTaxRatein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder
-
build
Description copied from interface:CollateralInterestCalculationParametersBuild Methods- Specified by:
buildin interfaceCollateralInterestCalculationParameters- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder toBuilder()- Specified by:
toBuilderin interfaceCollateralInterestCalculationParameters- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder prune()- Specified by:
prunein interfaceCollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder 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
-