Package cdm.product.collateral
Class CollateralInterestCalculationParameters.CollateralInterestCalculationParametersImpl
java.lang.Object
cdm.product.collateral.CollateralInterestCalculationParameters.CollateralInterestCalculationParametersImpl
- All Implemented Interfaces:
CollateralInterestCalculationParameters,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
CollateralInterestCalculationParameters
public static class CollateralInterestCalculationParameters.CollateralInterestCalculationParametersImpl
extends Object
implements CollateralInterestCalculationParameters
Immutable Implementation of CollateralInterestCalculationParameters
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.collateral.CollateralInterestCalculationParameters
CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder, CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilderImpl, CollateralInterestCalculationParameters.CollateralInterestCalculationParametersImpl -
Field Summary
Fields inherited from interface cdm.product.collateral.CollateralInterestCalculationParameters
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCollateralInterestCalculationParametersImpl(CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.inthashCode()protected voidsetBuilderFields(CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder builder) 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 com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
CollateralInterestCalculationParametersImpl
protected CollateralInterestCalculationParametersImpl(CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder builder)
-
-
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 getFloatingRate()Description copied from interface:CollateralInterestCalculationParametersSpecifies the floating interest rate to be used.- Specified by:
getFloatingRatein interfaceCollateralInterestCalculationParameters
-
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
Description copied from interface:CollateralInterestCalculationParametersSpecifies the rounding rules for settling in that currency.- Specified by:
getRoundingin interfaceCollateralInterestCalculationParameters
-
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
-
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
-
setBuilderFields
protected void setBuilderFields(CollateralInterestCalculationParameters.CollateralInterestCalculationParametersBuilder builder) -
equals
-
hashCode
public int hashCode() -
toString
-